/* =============================
   GLOBAL LUXURY STYLE
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #f4f1ec;
    color: #111;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.fade-in {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================
   NAVBAR
============================= */


.luxury-nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 25px 10%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    z-index: 1000;
}
nav a {
    text-decoration: none;   /* removes default underline */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Nav Links */
nav a {
    margin-left: 40px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    color: #111;
    transition: 0.3s ease;
}

/* Elegant underline animation */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    background: #111;
    left: 0;
    bottom: -5px;
    transition: width 0.7s ease;
}

nav a:hover::after {
    width: 100%;
}


}

/* Scroll effect */
.luxury-nav.scrolled {
    padding: 18px 10%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* =============================
   COLLECTION HEADER
============================= */
.collection-header {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 80px;
}

.collection-header h1 {
    font-size: 50px;
    letter-spacing: 3px;
}

.collection-header p {
    max-width: 600px;
    margin: 20px auto;
    font-size: 23px;
    color: #555;
}

/* =============================
   FILTER BUTTONS
============================= */
.filters {
    text-align: center;
    margin-bottom: 60px;
}

.filters button {
    background: none;
    border: none;
    margin: 0 20px;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
}

.filters button.active::after,
.filters button:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: black;
    bottom: -5px;
    left: 0;
}

/* =============================
   PRODUCT GRID
============================= */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 0 10% 120px;
}

.product {
    text-align: center;
    cursor: pointer;
    transition: 0.5s ease;
}


.product img {
    width: 100%;
    height: 450px;          /* Set equal height */
    object-fit: cover;      /* Crop image properly */
    display: block;
    transition: transform 0.7s ease;
}

.product:hover img {
    transform: scale(1.05);
}

.product h3 {
    margin-top: 15px;
    font-size: 20px;
}

/* =============================
   PRODUCT PAGE
============================= */
.product-page {
    padding: 160px 10%;
    display: flex;
    gap: 100px;
}

.product-page img {
    width: 500px;
}

.product-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.product-info p {
    margin-bottom: 20px;
    color: #555;
}

.btn {
    padding: 12px 30px;
    border: 1px solid #000;
    font-size: 14px;
    letter-spacing: 2px;
    transition: 0.4s;
}

.btn:hover {
    background: black;
    color: white;
}

/* =============================
   RESPONSIVE
============================= */
@media(max-width:1000px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-page {
        flex-direction: column;
    }
}

@media(max-width:600px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================
   TIMELESS SECTION (INDEX)
============================= */

.timeless-section {
    padding: 140px 10%;
}

.timeless-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.timeless-text {
    flex: 1;
}

.timeless-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.timeless-text p {
    margin-bottom: 25px;
    color: #555;
}

.timeless-image {
    flex: 1;
}

.timeless-image img {
    width: 100%;
    transition: transform 0.7s ease;
}

.timeless-image img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media(max-width:1000px) {
    .timeless-container {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================
   FULL HERO IMAGE
============================= */
.hero-full img {
    width: 100%;
    display: block;
}

/* =============================
   TEXT SECTION
============================= */
.luxury-text {
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.8;
}

/* =============================
   FEATURE BOXES
============================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    padding: 0 10% 120px;
}

.feature-box {
    border: 1px solid #ccc;
    padding: 40px;
    text-align: center;
}

.feature-box h3 {
    margin-bottom: 15px;
}

/* =============================
   LEARN PAGE
============================= */
.learn-header {
    text-align: center;
    padding: 120px 10% 60px;
}

.learn-header h1 {
    font-size: 50px;
}

.learn-header h2 {
    margin: 15px 0;
    font-weight: 400;
}

.tagline {
    font-style: italic;
    font-size: 28px;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 10% 120px;
}

.split-image img {
    width: 100%;
}

.split-text {
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* Responsive */
@media(max-width:900px){
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .split-section {
        flex-direction: column;
    }
}


/* =========================
   FOOTER
========================= */


.luxury-footer {
    background: linear-gradient(to right, #1c1c1c, #2a2a2a);
    color: #eee;
    padding: 80px 10% 40px;
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: #bbb;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    letter-spacing: 1px;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #aaa;
}

.social-icons a {
    margin-left: 25px;
    color: #bbb;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
}

/* Responsive */

@media(max-width:1000px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
