/* CSS Variables for Theme Colors */
:root {
    --primary-color: #1a1a1a;
    --gold-accent: #c5a059;
    --bg-light: #fdfdfd;
    --bg-grey: #f4f4f4;
    --text-muted: #666666;
}

/* Base Styles & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Smooth Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold-accent); }

.nav-icons { display: flex; gap: 20px; font-weight: bold; }

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('8.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    border: 2px solid var(--primary-color);
    padding: 60px 80px;
    background: rgba(255, 255, 255, 0.8);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-pagination {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    color: var(--primary-color);
}

/* About Section */
.about-preview {
    display: flex;
    padding: 100px 5%;
    background-color: var(--bg-grey);
    align-items: center;
    gap: 50px;
}

.about-text { flex: 1; }
.about-text h4 {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.about-text p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
}

.about-image {
    flex: 1;
    text-align: right;
}
.about-image img {
    max-width: 80%;
    box-shadow: -20px 20px 0px rgba(197, 160, 89, 0.2);
}

/* Featured Products */
.featured-products {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h4 {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-grey);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--gold-accent);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.product-card:hover .product-info {
    transform: translateY(0);
}

.product-details h3 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-details p { font-weight: 300; }

.product-likes {
    text-align: center;
    font-size: 12px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 5% 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

footer p, footer li {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.insta-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.insta-feed img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* --- RESPONSIVE DESIGN FOR MOBILE & TABLETS --- */
@media (max-width: 900px) {
    .about-preview {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        text-align: center;
    }
    .about-image img {
        max-width: 100%;
        box-shadow: none; /* Simplifies layout for smaller screens */
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 5%;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding: 40px 30px;
        width: 85%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-pagination {
        display: none; /* Hide pagination dots on small screens for cleaner look */
    }

    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =========================================
   SHOP PAGE SPECIFIC STYLES
   ========================================= */

.shop-header {
    height: 50vh;
    background-image: url('2.jpg'); /* Uses the soft orange pendant as a nice faded background */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    position: relative;
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Light overlay to ensure the box pops */
}

.shop-title-box {
    position: relative;
    text-align: center;
    border: 2px solid var(--primary-color);
    padding: 30px 60px;
    background: transparent;
}

.shop-title-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 5px;
}

.shop-title-box p {
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 10px;
    color: var(--text-muted);
}

.shop-container {
    padding: 60px 5%;
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.shop-filters li {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s, font-weight 0.3s;
}

.shop-filters li:hover, .shop-filters li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.shop-grid {
    margin-bottom: 60px;
}

.shop-pagination {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    align-items: center;
}

.shop-pagination span {
    cursor: pointer;
    transition: color 0.3s;
}

.shop-pagination span:hover, .shop-pagination span.active {
    color: var(--primary-color);
    font-weight: 600;
}
/* =========================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================= */

.about-header {
    height: 50vh;
    background-image: url('1.jpg'); /* Using the sleek white block background */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    position: relative;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6); 
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 80px 5%;
    background-color: var(--bg-grey);
    text-align: center;
}

.stat-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold-accent);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    max-width: 350px;
}

.team-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-info p {
    font-size: 13px;
    color: var(--gold-accent);
    letter-spacing: 1px;
}

/* --- RESPONSIVE DESIGN FOR MOBILE & TABLETS --- */
@media (max-width: 900px) {
    .about-preview {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        text-align: center;
    }
    .about-image img {
        max-width: 100%;
        box-shadow: none; 
    }
    /* Forces the text to center beautifully on mobile */
    .about-text {
        padding-left: 0 !important; 
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Global Elements */
    nav {
        flex-direction: column;
        padding: 15px 5%;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Home Page */
    .hero-content {
        padding: 40px 30px;
        width: 85%;
    }
    .hero h1 { font-size: 2rem; }
    .hero-pagination { display: none; }

    /* Shop Page */
    .shop-title-box h1 { font-size: 1.8rem; }
    .shop-title-box { padding: 20px 40px; }
    .shop-filters { gap: 15px; }

    /* About Page */
    .stats-section {
        flex-direction: column;
        gap: 40px;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

.contact-header {
    height: 50vh;
    background-image: url('2.jpg'); /* Faded orange background */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    position: relative;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.7);
}

.contact-section {
    padding: 0; /* Removing padding so map hits the edge like in the video */
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 800px;
}

/* Map Styling */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #e5e3df; /* Map fallback color */
}

/* Right Side Content Styling */
.contact-content {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact-content h4 {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-row {
    display: flex;
    gap: 40px;
}

.info-block {
    flex: 1;
}

.info-block ul li, .info-block p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* =========================================
   IMPROVED CONTACT FORM STYLING
   ========================================= */

.form-container h4 {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 30px; /* More space between first and last name */
    margin-bottom: 25px;
}

.form-row input {
    flex: 1; /* Ensures first and last name take equal width */
}

/* Styling the inputs and textarea */
.form-container input, 
.form-container textarea {
    width: 100%;
    padding: 15px 0; /* Padding top and bottom only for a clean look */
    border: none; /* Remove default box border */
    border-bottom: 1px solid #e0e0e0; /* A very thin, light gray underline */
    background: transparent; /* Ensures it blends with the background */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--primary-color);
    outline: none; /* Removes the default blue browser glow on click */
    transition: all 0.3s ease; /* Smooth transition for the hover effect */
    margin-bottom: 25px; /* Spacing between fields */
    resize: vertical; /* Allow vertical resizing only for textarea */
}

/* Styling placeholders to be subtle */
.form-container ::placeholder {
    color: #aaa;
    font-weight: 300;
    letter-spacing: 1px;
}

/* The "Luxury" effect when you click an input */
.form-container input:focus, 
.form-container textarea:focus {
    border-bottom: 2px solid var(--gold-accent); /* Turns gold and gets slightly thicker */
}

/* Improved Submit Button Styling */
.submit-btn {
    background: transparent;
    border: 2px solid var(--primary-color); /* A sleek, solid border */
    color: var(--primary-color);
    padding: 15px 40px; /* Nice big clickable area */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start; /* Prevents the button from stretching full width */
    margin-top: 10px;
}

/* Submit button hover effect */
.submit-btn:hover {
    background-color: var(--primary-color);
    color: var(--gold-accent); /* Text turns gold */
    border-color: var(--primary-color);
}
/* =========================================
   SINGLE PRODUCT PAGE STYLES
   ========================================= */

.single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 5% 80px; /* Extra top padding to clear the fixed nav */
    max-width: 1400px;
    margin: 0 auto;
}

/* Image Gallery Styling */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--bg-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-list img:hover, .thumbnail-list img.active-thumb {
    opacity: 1;
    border-color: var(--gold-accent);
}

/* Product Info Panel Styling */
.product-info-panel {
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.breadcrumbs a {
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--gold-accent);
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.5rem;
    color: var(--gold-accent);
    font-weight: 500;
    margin-bottom: 30px;
}

.product-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.product-description p {
    margin-bottom: 15px;
}

/* Cart Actions (Quantity & Button) */
.cart-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center;
}

.qty-selector {
    display: flex;
    border: 1px solid #ddd;
    height: 50px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: background 0.3s;
}

.qty-btn:hover {
    background: var(--bg-grey);
}

.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield; /* Hides default arrows */
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    flex: 1;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Accordion Styling using details/summary */
.product-accordion details {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.product-accordion summary {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hides default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom + / - icon for accordion */
.product-accordion summary::after {
    content: '+';
    font-size: 18px;
    color: var(--gold-accent);
}

.product-accordion details[open] summary::after {
    content: '−';
}

.details-content {
    padding-top: 15px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

.details-content ul {
    list-style-type: disc;
    padding-left: 20px;
}