/* ============================================
   TAILORING STUDIO WEBSITE - MAIN STYLESHEET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #f5f5f5;
    --text-color: #333;
    --light-gray: #e8e8e8;
    --border-color: #ddd;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR (Integrated with Hero Styles)
   ============================================ */

.navbar {
    background-color: var(--primary-color);
    padding: 1.2rem 0;
    position: fixed; /* Fixes nav to the top of the screen */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2); /* Subtle Gold border */
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%; /* Matches your Hero Section padding */
}

/* Brand/Logo Styling */
.navbar-brand .logo {
    font-family: var(--accent-font); /* Playfair Display */
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-brand .logo i {
    color: var(--secondary-color); /* Gold Icon */
    margin-right: 8px;
}

/* Menu Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--body-font); /* Montserrat */
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 220px;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-top: 3px solid var(--secondary-color);
    animation: fadeInUp 0.3s ease-out; /* Reusing your Hero animation */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li a:hover {
    background-color: rgba(197, 160, 89, 0.1); /* Subtle gold tint on hover */
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem 0;
        transition: 0.4s;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(255,255,255,0.05);
    }
}

:root {
    --primary-color: #0f172a;
    --secondary-color: #c5a059;
    --text-light: #f8fafc;
    --accent-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: #fff;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 120px 8% 80px;

    overflow: hidden;

    background: linear-gradient(
        90deg,
        #1f2940 0%,
        #3c455c 45%,
        #d8d8d8 100%
    );
}

/* Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.55) 20%,
        transparent 100%
    );

    z-index: 1;
}

/* LEFT CONTENT */

.hero-content {
    position: relative;
    z-index: 2;

    flex: 1;
    max-width: 600px;

    color: var(--text-light);
}

.hero-subtitle {
    display: block;

    margin-bottom: 15px;

    color: var(--secondary-color);

    text-transform: uppercase;
    letter-spacing: 3px;

    font-size: 0.85rem;
    font-weight: 600;
}

.hero-content h1 {
    font-family: var(--accent-font);

    font-size: clamp(3rem, 8vw, 5.5rem);

    line-height: 1.1;

    margin-bottom: 20px;
}

.hero-content h1 i {
    color: var(--secondary-color);
    font-weight: 400;
}

.hero-divider {
    width: 80px;
    height: 3px;

    background: var(--secondary-color);

    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.05rem;
    line-height: 1.9;

    margin-bottom: 35px;

    max-width: 520px;

    color: rgba(255,255,255,.9);
}

/* BUTTONS */

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 30px;

    text-decoration: none;

    text-transform: uppercase;
    letter-spacing: 1px;

    font-size: 0.8rem;
    font-weight: 600;

    transition: .4s ease;

    border: 1px solid var(--secondary-color);

    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.6);
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* RIGHT IMAGE */

.hero-image {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: auto;

    object-fit: contain;
}

/* SIDE BADGE */

.hero-badge {
    position: absolute;

    right: 25px;
    bottom: 60px;

    z-index: 2;

    writing-mode: vertical-rl;

    color: var(--secondary-color);

    text-transform: uppercase;
    letter-spacing: 4px;

    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   TABLET
============================================ */

@media (max-width: 992px) {

    .hero {
        flex-direction: column;

        text-align: center;

        padding: 140px 30px 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-divider {
        margin: 0 auto 25px;
    }

    .hero-content p {
        margin: 0 auto 35px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 320px;
    }

    .hero-badge {
        display: none;
    }
}

/* ============================================
   MOBILE HERO FIX
============================================ */

@media (max-width: 768px) {

    .hero {
        min-height: 100vh;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;

        padding: 110px 20px 50px;

        gap: 25px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.8;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-divider {
        margin: 10px auto;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.8;

        margin-bottom: 30px;
    }

    .hero-btns {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 320px;

        text-align: center;
    }

    .hero-image {
        width: 100%;

        display: flex;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 240px;

        display: block;
    }

    .hero-badge {
        display: none;
    }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

/* ============================================
   FEATURED COLLECTIONS SECTION
   ============================================ */

.featured-collections {
    padding: 100px 0;
    background-color: #fff; /* Clean white background to make navy/gold pop */
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--accent-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Gallery Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns for desktop */
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 450px; /* Taller items feel more high-fashion */
    background-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Luxury Overlay Effect */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 10%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text at bottom looks more modern */
    padding: 2rem;
    opacity: 1; /* Keeping it visible for luxury feel, or 0 for hover */
    transition: 0.4s ease;
}

.gallery-overlay h3 {
    font-family: var(--accent-font);
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.gallery-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transform: translateY(20px);
    transition: 0.5s ease;
}

/* Minimalist Button for Gallery */
.btn-minimal {
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 5px;
    align-self: flex-start;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.6s ease;
}

/* Hover Animations */
.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.7;
}

.gallery-item:hover h3, 
.gallery-item:hover p, 
.gallery-item:hover .btn-minimal {
    transform: translateY(0);
    opacity: 1;
}

.btn-minimal:hover {
    color: var(--text-light);
    border-color: var(--text-light);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr; /* 2 items for tablets */
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 item for mobile */
    }
    .gallery-item {
        height: 350px;
    }
}
/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--accent-color);
    border-radius: 8px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

/* ============================================
    FOOTER SECTION (Premium Tailor Theme)
   ============================================ */

.footer {
    background-color: var(--primary-color); /* Deep Midnight Navy */
    color: var(--text-light);
    padding: 80px 0 30px;
    margin-top: 0; /* Remove gap if following featured section */
    border-top: 2px solid var(--secondary-color); /* Gold accent line */
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%; /* Matches Hero and Gallery padding */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr; /* Custom widths for better balance */
    gap: 4rem;
    margin-bottom: 50px;
}

/* Section Headings */
.footer-section h3 {
    font-family: var(--accent-font);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-section h4 {
    font-family: var(--body-font);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Paragraphs and Lists */
.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.7); /* Slightly muted text-light */
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(5px); /* Elegant slide effect */
}

/* Contact Info Icons */
.footer-section p i {
    color: var(--secondary-color);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Social Links - Refined */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Subtle gold border */
    color: var(--secondary-color);
    border-radius: 0; /* Square edges look more premium/architectural */
    transition: all 0.4s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* =========================================
   LUXURY GALLERY PAGE
========================================= */

.gallery-hero {
    position: relative;
    min-height: 5vh;
    background:
        linear-gradient(
            rgba(15,23,42,.75),
            rgba(15,23,42,.75)
        ),
        url('assets/images/wedding_collection.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
        rgba(197,160,89,.18),
        transparent 25%);
}

.gallery-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: white;
}

.gallery-subtitle {
    color: #c5a059;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
}

.gallery-hero-content h1 {
    font-size: clamp(1.5rem,8vw,6rem);
    font-family: var(--accent-font);
    line-height: 1;
    margin: 10px 0;
}

.gallery-hero-content p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 600px;
}

/* =========================================
   FILTER SECTION
========================================= */

.gallery-filter-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.gallery-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 14px 24px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid rgba(0,0,0,.08);
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .4s ease;
    background: #fff;
}

.filter-pill:hover {
    background: #0f172a;
    color: #fff;
}

.filter-pill.active {
    background: #c5a059;
    color: #0f172a;
    border-color: #c5a059;
}

/* =========================================
   SEARCH
========================================= */

.luxury-search {
    display: flex;
    gap: 10px;
}

.luxury-search input {
    width: 280px;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,.1);
    background: #f8fafc;
    outline: none;
    font-family: inherit;
}

.luxury-search button {
    padding: 14px 28px;
    border: none;
    background: #0f172a;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .75rem;
    cursor: pointer;
    transition: .4s ease;
}

.luxury-search button:hover {
    background: #c5a059;
    color: #0f172a;
}

/* =========================================
   PREMIUM LUXURY GRID
========================================= */

.luxury-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 28px;

    align-items: stretch;
}

/* =========================================
   CARD DESIGN
========================================= */

.luxury-card {
    position: relative;

    overflow: hidden;

    height: 520px;

    background: #0f172a;

    transition:
        transform .5s ease,
        box-shadow .5s ease;

    cursor: pointer;
}

/* =========================================
   IMAGE FIT
========================================= */

.luxury-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 1s cubic-bezier(.19,1,.22,1),
        filter .8s ease;

    display: block;

    filter: brightness(.8);
}

/* =========================================
   OVERLAY
========================================= */

.luxury-card::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8,12,20,.95) 8%,
            rgba(8,12,20,.4) 45%,
            transparent 100%
        );

    z-index: 1;
}

/* =========================================
   CONTENT
========================================= */

.luxury-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 35px;
}

/* Small Category */

.collection-tag {
    color: #c5a059;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: .72rem;

    margin-bottom: 12px;

    opacity: .9;
}

/* Product Name */

.luxury-overlay h3 {
    color: white;

    font-family: var(--accent-font);

    font-size: 2rem;

    line-height: 1.1;

    margin-bottom: 15px;

    transform: translateY(20px);

    transition: .6s ease;
}

/* Description */

.luxury-overlay p {
    color: rgba(255,255,255,.7);

    font-size: .92rem;

    line-height: 1.8;

    margin-bottom: 20px;

    transform: translateY(20px);

    opacity: 0;

    transition: .8s ease;
}

/* Button */

.luxury-view-btn {
    width: fit-content;

    color: #c5a059;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: .72rem;

    border-bottom: 1px solid #c5a059;

    padding-bottom: 6px;

    transform: translateY(20px);

    opacity: 0;

    transition: 1s ease;
}

/* =========================================
   HOVER EFFECTS
========================================= */

.luxury-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.28);
}

.luxury-card:hover img {
    transform: scale(1.08);

    filter: brightness(.55);
}

.luxury-card:hover h3,
.luxury-card:hover p,
.luxury-card:hover .luxury-view-btn {
    transform: translateY(0);

    opacity: 1;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .luxury-gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .luxury-card {
        height: 450px;
    }
}

@media (max-width: 768px) {

    .luxury-gallery-grid {
        grid-template-columns: 1fr;
    }

    .luxury-card {
        height: 420px;
    }

    .luxury-overlay {
        padding: 25px;
    }

    .luxury-overlay h3 {
        font-size: 1.6rem;
    }

    .luxury-overlay p,
    .luxury-view-btn {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   CONTENT
========================================= */

.luxury-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 50px;
}

/* Small luxury label */

.collection-tag {
    color: #c5a059;

    font-size: .72rem;
    font-weight: 600;

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 18px;

    opacity: .85;

    transform: translateY(20px);
    transition: .6s ease;
}

/* Main title */

.luxury-overlay h3 {
    font-family: var(--accent-font);

    font-size: clamp(2rem,3vw,3.5rem);
    line-height: 1.05;

    color: white;

    margin-bottom: 18px;

    max-width: 450px;

    transform: translateY(30px);

    transition:
        transform .8s cubic-bezier(.19,1,.22,1),
        opacity .8s ease;

    opacity: .95;
}

/* Description */

.luxury-overlay p {
    color: rgba(255,255,255,.65);

    line-height: 1.9;

    max-width: 420px;

    font-size: .95rem;

    margin-bottom: 30px;

    transform: translateY(30px);

    transition:
        transform 1s cubic-bezier(.19,1,.22,1),
        opacity 1s ease;

    opacity: 0;
}

/* Premium Button */

.luxury-view-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    width: fit-content;

    text-decoration: none;

    color: white;

    text-transform: uppercase;
    letter-spacing: 3px;

    font-size: .72rem;
    font-weight: 600;

    padding-bottom: 8px;

    overflow: hidden;

    transform: translateY(30px);

    transition:
        transform 1.1s cubic-bezier(.19,1,.22,1),
        opacity 1.1s ease;

    opacity: 0;
}

/* Animated underline */

.luxury-view-btn::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #c5a059;

    transform: scaleX(.3);
    transform-origin: left;

    transition: transform .5s ease;
}

.luxury-view-btn:hover::after {
    transform: scaleX(1);
}

/* =========================================
   HOVER EFFECTS
========================================= */

.luxury-card:hover img {
    transform: scale(1.08);
    filter: brightness(.55);
}

.luxury-card:hover::after {
    opacity: 1;
}

.luxury-card:hover .collection-tag,
.luxury-card:hover h3,
.luxury-card:hover p,
.luxury-card:hover .luxury-view-btn {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   PREMIUM FLOAT EFFECT
========================================= */

.luxury-card {
    transition:
        transform .6s cubic-bezier(.19,1,.22,1),
        box-shadow .6s ease;
}

.luxury-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 40px 80px rgba(0,0,0,.35);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .luxury-card {
        grid-column: span 6 !important;
        min-height: 580px;
    }
}

@media (max-width: 768px) {

    .luxury-gallery-grid {
        grid-template-columns: 1fr;
    }

    .luxury-card {
        grid-column: span 1 !important;
        min-height: 480px;
    }

    .luxury-overlay {
        padding: 30px;
    }

    .luxury-overlay h3 {
        font-size: 2rem;
    }

    .luxury-overlay p {
        opacity: 1;
        transform: none;
    }

    .luxury-view-btn {
        opacity: 1;
        transform: none;
    }
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .luxury-gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {

    .gallery-hero {
        min-height: 55vh;
        text-align: center;
    }

    .gallery-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-pills {
        justify-content: center;
    }

    .luxury-search {
        width: 100%;
    }

    .luxury-search input {
        width: 100%;
    }

    .luxury-gallery-grid {
        grid-template-columns: 1fr;
    }

    .luxury-card {
        min-height: 420px;
    }

    .large-card {
        min-height: 420px;
    }

    .luxury-overlay {
        padding: 25px;
    }

    .luxury-overlay h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   LUXURY PRODUCT PAGE
========================================= */

.luxury-product-section {
    padding: 120px 0;
    background: #f8fafc;
}

/* =========================================
   GRID
========================================= */

.luxury-product-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start;
}

/* =========================================
   IMAGE GALLERY
========================================= */
/* Main Image Container */

.main-product-image-wrapper {
    max-width: 700px;   /* Reduce overall width */
    margin: 0 auto;
}

/* Main Product Image */

.main-product-image {
    width: 100%;
    height: 650px;      /* Reduce image height */

    object-fit: cover;
    object-position: center;

    border-radius: 6px;
}

/* Thumbnail Size */

.thumb-item img {
    height: 90px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .main-product-image-wrapper {
        max-width: 100%;
    }

    .main-product-image {
        height: 550px;
    }
}

@media (max-width: 768px) {

    .main-product-image {
        height: 420px;
    }

    .thumb-item img {
        height: 75px;
    }
}

/* =========================================
   THUMBNAILS
========================================= */

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin-top: 20px;
}

.thumb-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .4s ease;
}

.thumb-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.thumb-item:hover,
.active-thumb {
    border-color: #c5a059;
}

/* =========================================
   CONTENT
========================================= */

.luxury-product-content {
    position: sticky;
    top: 120px;
}

.product-category {
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: .78rem;
    font-weight: 600;
}

.luxury-product-content h1 {
    font-size: clamp(3rem,5vw,5rem);
    line-height: 1;
    margin: 20px 0;
    color: #0f172a;
    font-family: var(--accent-font);
}

.luxury-divider {
    width: 80px;
    height: 2px;
    background: #c5a059;
    margin-bottom: 30px;
}

.product-description {
    color: #555;
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 50px;
}

/* =========================================
   META GRID
========================================= */

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-bottom: 50px;
}

.meta-box {
    padding: 25px;
    background: white;
    border: 1px solid rgba(0,0,0,.06);
}

.meta-box span {
    display: block;
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.meta-box strong {
    color: #0f172a;
    font-size: .95rem;
}

/* =========================================
   INQUIRY BOX
========================================= */

.luxury-inquiry-box {
    padding: 45px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.luxury-inquiry-box::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(197,160,89,.18),
            transparent 35%
        );
}

.luxury-inquiry-box h3 {
    position: relative;
    z-index: 2;

    color: white;
    font-size: 2rem;
    font-family: var(--accent-font);
    margin-bottom: 20px;
}

.luxury-inquiry-box p {
    position: relative;
    z-index: 2;

    color: rgba(255,255,255,.72);
    line-height: 1.9;
    margin-bottom: 35px;
}

/* =========================================
   BUTTONS
========================================= */

.luxury-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.luxury-btn-primary,
.luxury-btn-outline {
    padding: 16px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .75rem;
    transition: .4s ease;
}

.luxury-btn-primary {
    background: #c5a059;
    color: #0f172a;
}

.luxury-btn-outline {
    border: 1px solid rgba(255,255,255,.2);
    color: white;
}

.luxury-btn-primary:hover,
.luxury-btn-outline:hover {
    transform: translateY(-5px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .luxury-product-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .luxury-product-content {
        position: relative;
        top: 0;
    }

    .main-product-image {
        height: 650px;
    }
}

@media (max-width: 768px) {

    .luxury-product-section {
        padding: 80px 0;
    }

    .main-product-image {
        height: 500px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .product-meta-grid {
        grid-template-columns: 1fr;
    }

    .luxury-product-content h1 {
        font-size: 2.5rem;
    }

    .luxury-inquiry-box {
        padding: 30px;
    }
}

