:root {
    /* Color Scheme */
    --primary-color: #A98059;
    --secondary-color: #2F3E46;
    --accent-color: #D3B89E;
    --bg-main: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-dark: #1A1A1A;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #FFFFFF;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Variables */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   NAVBAR — matches <header id="navbar">
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    border-bottom: none;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: #ffffff;
    transition: var(--transition-smooth);
    position: relative;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

header.scrolled nav a {
    color: var(--text-main);
    text-shadow: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #ffffff;
    z-index: 1001;
    transition: color 0.4s ease;
}

header.scrolled .mobile-menu-btn {
    color: var(--text-main);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 30px rgba(0,0,0,0.7), 0 1px 5px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 15px rgba(0,0,0,0.6);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ========================================
   CATALOGUE SECTION
   ======================================== */
.catalogue-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

/* Filter Buttons */
.filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* ========================================
   CATALOGUE CARDS — matches .catalogue-card
   ======================================== */
.catalogue-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.04);
}

.catalogue-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    aspect-ratio: 9/16;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalogue-card:hover .card-image img {
    transform: scale(1.05);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.catalogue-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    padding-left: 4px;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.card-info .category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.card-bottom .price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

/* ========================================
   MODAL — matches .modal.hidden / .close-modal / .modal-info
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 350px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    line-height: 1;
}

.close-modal:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

.video-container {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    min-height: 300px;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
}

.modal-info {
    padding: 2.5rem 2rem 2rem;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    line-height: 1.3;
}

.modal-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    word-wrap: break-word;
    line-height: 1.7;
}

.modal-info .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.modal-info .btn-primary {
    width: 100%;
    text-align: center;
}

/* ========================================
   SECTION LABEL (small tag above titles)
   ======================================== */
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: -0.5rem auto 2rem;
    line-height: 1.7;
}

/* ========================================
   WEDDING WEBSITES SHOWCASE
   ======================================== */
.websites-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #FAFAFA 0%, #f4efe8 50%, #FAFAFA 100%);
}

.websites-header {
    text-align: center;
    margin-bottom: 2rem;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.website-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.website-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(169,128,89,0.15);
}

.website-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.website-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.website-card:hover .website-card-image img {
    transform: scale(1.05);
}

.website-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.website-card-body {
    padding: 1.5rem;
}

.website-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.website-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.website-card-body .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 4rem 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #FAFAFA 0%, #f7f4f0 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.3rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.2rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    color: var(--text-main);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(169,128,89,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: var(--transition-smooth);
    margin-bottom: 0;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .nav-content {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 1.5rem;
    }

    nav.show {
        display: flex;
    }

    nav a {
        color: var(--text-main) !important;
        text-shadow: none !important;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .websites-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .video-container {
        min-height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}
