:root {
    --royal-blue: #0a2463;
    --navy-blue: #1e3a8a;
    --gold: #d4af37;
    --silver: #c0c0c0;
    --ivory: #fffff0;
    --cream: #f5f5dc;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f0ff 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navigation */
.luxury-nav {
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--gold);
    font-family: 'Cinzel', serif;
}

.nav-link {
    color: var(--ivory) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

/* General Buttons */
.btn-luxury {
    background: linear-gradient(45deg, var(--gold), #ffd700);
    color: var(--royal-blue);
    border: none;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    color: var(--royal-blue);
}

.btn-luxury-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-luxury-outline:hover {
    background: var(--gold);
    color: var(--royal-blue);
    transform: translateY(-3px);
}

/* Section Common */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--royal-blue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold);
}

/* Hero Sections */
/* Home Hero */
.hero-section {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.8)),
        url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
    margin-top: 76px;
    /* Offset for fixed navbar */
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Hero */
.about-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.9)),
        url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 76px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.9)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 76px;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Collection Hero */
.collection-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.9)),
        url('https://images.unsplash.com/photo-1523381210434-271e8be1f52b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 76px;
}

.collection-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.collection-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Appointment Hero */
.appointment-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.9)),
        url('https://images.unsplash.com/photo-1550614000-4b9519e02d84?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 76px;
}

.appointment-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Cart Hero */
.cart-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(30, 58, 138, 0.9)),
        url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 76px;
}

.cart-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Components */

/* Logo Text */
.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #d4af37, #ffd700, #c0c0c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dress Cards */
.dress-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.dress-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dress-card img,
.dress-img {
    height: 300px;
    /* Standardized height */
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dress-card:hover img {
    transform: scale(1.05);
}

.dress-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--royal-blue);
    padding: 5px 15px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 3px;
    z-index: 10;
}

.dress-price {
    color: var(--royal-blue);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Features */
.feature-box {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    background: white;
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Banner */
.collection-banner {
    background: linear-gradient(rgba(10, 36, 99, 0.85), rgba(10, 36, 99, 0.85)),
        url('https://images.unsplash.com/photo-1523381210434-271e8be1f52b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin: 100px 0;
    text-align: center;
}

.luxury-badge {
    background: var(--gold);
    color: var(--royal-blue);
    padding: 8px 20px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    color: var(--royal-blue);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    margin-top: 20px;
}

/* About Page Specifics */
.about-content {
    padding: 100px 0;
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.values-box {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.values-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.values-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Enhanced Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.team-img-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.team-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.95), rgba(10, 36, 99, 0.6));
    padding: 30px;
    color: white;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(5px);
}

.team-card:hover .team-overlay {
    bottom: 0;
}

.team-content {
    position: relative;
    z-index: 2;
}

.team-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.team-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.team-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.team-social {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.4s;
}

.team-social a {
    color: white;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--gold);
    color: var(--royal-blue);
    border-color: var(--gold);
    transform: rotate(360deg);
}

.team-card:hover .team-name,
.team-card:hover .team-role,
.team-card:hover .team-desc,
.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Page Specifics */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.btn-submit {
    background: var(--royal-blue);
    color: white;
    border: none;
    padding: 12px 40px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--royal-blue);
    transform: translateY(-3px);
}

.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* height: 100%; Removed to fix stacking issue */
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Collections Page Specifics */
.category-filter {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--royal-blue);
    color: var(--royal-blue);
    padding: 8px 25px;
    margin: 5px;
    border-radius: 25px;
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--royal-blue);
    color: white;
}

.btn-view {
    background: var(--royal-blue);
    color: white;
    border: none;
    padding: 8px 20px;
    font-family: 'Cinzel', serif;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--gold);
    color: var(--royal-blue);
}

/* Footer */
.footer {
    background: var(--royal-blue);
    color: white;
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Adjust Hero Sections */
    .hero-section,
    .about-hero,
    .contact-hero,
    .collection-hero,
    .appointment-hero,
    .cart-hero {
        padding: 100px 0 60px;
        margin-top: 56px;
        /* Adjust for smaller navbar if needed */
    }

    .hero-title,
    .about-title,
    .contact-title,
    .collection-title,
    .appointment-title,
    .cart-title {
        font-size: 2.5rem;
    }

    .hero-subtitle,
    .collection-subtitle {
        font-size: 1.2rem;
    }

    /* Adjust Forms and Boxes */
    .contact-form,
    .contact-info-box {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 576px) {

    .contact-form,
    .contact-info-box {
        padding: 20px 15px;
    }

    .dress-card img,
    .dress-img {
        height: 250px;
    }
}