:root {
    /* Colors */
    --primary: #7e6258;
    /* Warm Blush */
    --primary-light: #E9D5C8;
    --secondary: #A79277;
    /* Muted Gold/Brown */
    --accent: #D1BB9E;
    --bg-cream: #FCF8F3;
    --text-dark: #4A403A;
    --text-light: #181311;
    --bg-dark: #d8cbba;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 10px 30px rgba(209, 163, 146, 0.1);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(209, 163, 146, 0.2);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(209, 163, 146, 0.15) 0%, rgba(209, 163, 146, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: soft-light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 5rem;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

/* Typography Overrides */
h1,
h2,
h3,
.brand-name {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.brand-name {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Responsive Logo */
.main-logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .main-logo {
        height: 35px !important;
        /* Forces small logo on mobile */
    }

    #mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 1001;
        background: transparent;
        border: none;
        font-size: 1.8rem;
        color: var(--primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        padding-top: 4rem;
        /* Moved further up */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0 !important;
        font-size: 1.4rem !important;
        font-family: var(--font-heading);
        font-weight: 700;
        opacity: 0 !important;
        transform: translateX(30px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1 !important;
        transform: translateX(0);
    }

    /* Staggered link animation */
    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }


}

#mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 5%;
    background: linear-gradient(rgba(252, 248, 243, 0.7), rgba(252, 248, 243, 0.7)), url('../images/bg1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(209, 163, 146, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 4.8rem);
    margin-bottom: 1rem;
    line-height: 1.05;
    color: var(--text-dark);
}

.ls-3 {
    letter-spacing: 3px;
}

.ls-1 {
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(209, 163, 146, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.section {
    padding: 8rem 5%;
    /* Increased vertical breathing room */
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.category-scroll-wrapper {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(209, 163, 146, 0.1);
    position: sticky;
    top: 4.5rem;
    z-index: 999;
}

.category-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 5%;
    scrollbar-width: none;
    /* Firefox */
}

.category-scroll-container::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

.category-item-card {
    background: var(--bg-cream);
    color: var(--text-light);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: var(--transition);
}

.category-item-card:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.category-item-card.active {
    background: var(--primary);
    color: white;
}

.filter-nav-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.filter-dropdown {
    width: 100%;
    max-width: 450px;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: white;
    border: 1px solid rgba(209, 163, 146, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D1A392' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.2em;
    box-shadow: 0 15px 35px rgba(209, 163, 146, 0.1);
}

.filter-dropdown:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(209, 163, 146, 0.2);
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(209, 163, 146, 0.3);
}

@media (min-width: 768px) {
    .filter-nav-container {
        margin-bottom: 3rem;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.gallery-category-section {
    margin-bottom: 6rem;
    padding: 2rem;
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: left;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 1;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    width: 100%;
}

.card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 2rem 1.8rem;
    /* More generous internal padding */
    text-align: left;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Testimonials Premium UI */
.testimonial-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    padding: 3.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(209, 163, 146, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.testimonial-quote {
    position: absolute;
    top: 2rem;
    right: 3.5rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.7;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(209, 163, 146, 0.2);
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar-placeholder {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.testimonial-info h5 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.9rem;
    margin: 4px 0 0;
    color: var(--text-light);
    font-weight: 500;
}

.star-rating {
    color: #FFB30E;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 4px;
}

/* Swiper Pagination Styling */
.testimonial-swiper {
    padding-bottom: 50px !important;
}

.swiper-pagination-bullet {
    background: var(--primary-light) !important;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1;
    width: 25px;
    /* Pill shape for active */
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Custom Order Form */
#order-form {
    max-width: 850px;
    /* Slightly wider for better field balance */
    margin: 0 auto;
    background: white;
    padding: 4.5rem;
    /* Deep padding for form */
    border-radius: 40px;
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #EEE;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #F9F9F9;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

/* Footer & Contact */
footer {
    background-color: var(--white);
    padding: 4rem 10% 2rem;
    text-align: center;
    border-top: 1px solid #EEE;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-cream);
    border-radius: 50%;
    margin: 0 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

/* Utility */
.mb-4 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 992px) {
    .section {
        padding: 5rem 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: block;
    }



    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero {
        min-height: 55vh !important;
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .section-desc {
        margin: 0 auto 1.5rem;
        font-size: 1rem;
    }

    #order-form {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    footer {
        padding: 3rem 5% 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}