/* 
   Massive Events - Premium Styles 
   Colors: Gold, Black, White, Deep Cream/Beige
*/

:root {
    --primary-gold: #d4af37;
    --primary-dark: #101010;
    --primary-cream: #f9f8f4;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: var(--text-light);
}

.bg-cream {
    background-color: var(--primary-cream);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-dark:hover {
    background-color: var(--primary-dark);
    color: var(--primary-gold);
}

.btn-nav {
    padding: 10px 20px;
    background-color: var(--primary-gold);
    color: var(--primary-dark) !important;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: #c09b2e;
}

/* Typography & Decorations */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--primary-gold);
    margin: 10px auto 30px;
}

.divider.align-left {
    margin: 10px 0 30px;
}

.divider.bg-white {
    background-color: var(--text-light);
}

.highlight {
    color: var(--primary-gold);
    font-style: italic;
}

.sub-title {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 16, 16, 0.95);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://placehold.co/1920x1080/101010/333333?text=Luxury+Event+Decor+Hero');
    /* Fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    width: 100%;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
}

.hero-subhead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Intro Section */
.service-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.snapshot-card {
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.snapshot-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary-gold);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 15px 15px 0 var(--primary-gold);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Basic Responsive Grid */
    /* Often for 4 items in 2 rows on desktop might want specific: */
    /* grid-template-columns: 1fr 1fr; */
    gap: 40px;
}

@media(min-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    margin-bottom: 15px;
}

/* Portfolio / Gallery Flip Cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    perspective: 1000px;
    height: 300px;
    /* Fixed height for flip effect verification */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.gallery-item.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flip-card-back h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.flip-card-back p {
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonials */
.testimonial-carousel {
    position: relative;
    height: 400px;
    /* Adjust based on content */
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    background: var(--primary-cream);
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eee;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background: transparent;
    padding: 20px 60px;
    /* More padding for text */
    max-width: 800px;
    border: none;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary-gold);
    z-index: 10;
}

.prev-btn {
    left: -50px;
}

.next-btn {
    right: -50px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.carousel-indicator {
    border: none;
    width: 15px;
    height: 15px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: var(--primary-gold);
}

@media (max-width: 768px) {
    .testimonial-carousel {
        width: 90%;
    }

    .prev-btn {
        left: -30px;
    }

    .next-btn {
        right: -30px;
    }
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 700;
}

/* Pricing */
.pricing-wraper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.pricing-card {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 2px solid var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-gold);
    color: #000;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    margin-bottom: 10px;
}

.price-desc {
    color: #777;
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 12px;
}

.pricing-features i {
    color: var(--primary-gold);
    margin-right: 10px;
}

/* Contact */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h3 {
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-gold);
    margin-right: 10px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-right: 20px;
}

.footer-social a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    font-size: 0.85rem;
    color: #777;
}

/* Lightbox Styles */
.btn-view-album {
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-view-album:hover {
    background: #fff;
    color: var(--primary-gold);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-gold);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: rgba(212, 175, 55, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-btn {
        padding: 10px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Ensure gallery grid single column on mobile for better flip experience */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on navbar height */
        flex-direction: column;
        background-color: rgba(16, 16, 16, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}