:root {
    --bg-main: #0A0A0A; /* Deep Black */
    --bg-secondary: #1A1A1A; /* Dark Grey */
    --bg-light: #FAF7F0; /* Off White */
    --text-primary: #FFFFFF;
    --text-dark: #0A0A0A;
    --text-secondary: #A0A0A0; 
    --accent: #D4AF37; /* Gold */
    --accent-light: #F2E6C9; /* Light Gold */
    --border-color: #333333;
    
    --font-heading: 'Playfair Display', serif;
    --font-logo: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo */
.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.main-logo {
    max-height: 36px; /* Decent size for left aligned logo */
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 3rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}

/* Navigation Centered */
.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Header Actions */
.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    color: var(--accent);
}


/* Buttons (Sharp Corners) */
.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    border: 1px solid var(--accent);
    padding: 0.75rem 2rem;
    border-radius: 0; /* Sharp edges */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: inherit;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.75rem 2rem;
    border-radius: 0; /* Sharp edges */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: inherit;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-large {
    padding: 1rem 3rem;
}

/* Layout Container */
.container {
    padding: 4rem 4rem 4rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background-color: var(--bg-main);
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 80px); /* Fill the viewport minus header */
}

.hero-inverted {
    background-color: var(--bg-light);
}

.hero-inverted .hero-title, 
.hero-inverted .hero-subtitle {
    color: var(--text-dark);
}

.hero-split {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 4rem;
    gap: 4rem;
}

.hero-split .hero-content {
    flex: 1;
    margin: auto 0;
    max-width: 600px;
}

.hero-split .hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-split .hero-image {
    max-height: 80vh;
    width: auto;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-actions button {
    border-radius: 40px; /* Rounded Apple-style buttons */
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: none;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border: none;
    flex: 1; /* Take up remaining space */
    display: flex;
    align-items: flex-end; /* Push image to bottom */
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 60vh; /* Prevent it from pushing content down too far */
    object-fit: contain;
    display: block;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37,211,102,0.5);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Gallery / Collections */
.gallery-section {
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding: 6rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.footer-logo {
    max-height: 80px;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    font-style: italic;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.tab:hover {
    color: var(--accent);
}

.tab.active {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* Art Grid (Jewellery) */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.art-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.art-card:hover {
    transform: translateY(-5px);
}

.art-image-wrapper {
    background-color: #151515; /* Solid background instead of blur */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0; /* Square card */
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 rgba(212,175,55,0);
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.art-card:hover .art-image-wrapper {
    box-shadow: 0 0 25px rgba(212,175,55,0.3); /* Glow on hover */
    background-color: #1a1a1a;
}

.art-card:hover .art-image {
    transform: scale(1.05);
}

.art-info {
    text-align: center;
    padding: 0.5rem 0;
}

.art-category {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: capitalize;
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 6rem 4rem;
    text-align: center;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-item svg {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.trust-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.trust-item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 5rem 4rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-main);
    border: 1px solid var(--accent);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image-container {
    flex: 1;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 300px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.modal-btn {
    align-self: flex-start;
    padding: 1rem 3rem;
}

/* --- Dropdown Navigation --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-main);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.nav-dropdown-content a:hover {
    background-color: var(--bg-secondary);
    color: var(--accent);
}

/* --- New Catalogue Layout --- */
.catalogue-hero {
    width: 100%;
    height: 40vh;
    background-image: url('/images/ring1.png'); /* Fallback */
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.catalogue-hero::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
}
.catalogue-hero h1 {
    position: relative;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 4rem;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.catalogue-layout {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem;
    gap: 4rem;
}

.catalogue-sidebar {
    flex: 0 0 250px;
}
.catalogue-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}
.sidebar-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-filter-list li {
    margin-bottom: 1rem;
}
.sidebar-filter-list a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.sidebar-filter-list a:hover {
    color: var(--accent);
}
.sidebar-filter-list a.active {
    color: var(--accent);
    font-weight: 600;
}

.catalogue-main {
    flex: 1;
}

.product-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .product-grid-3x3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .catalogue-layout {
        flex-direction: column;
    }
    .catalogue-sidebar {
        flex: none;
        width: 100%;
    }
    .product-grid-3x3 {
        grid-template-columns: 1fr;
    }
}

/* --- Form Inputs --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.25rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

label {
    font-weight: 500;
    color: #4b5563;
    font-size: 0.9rem;
    display: block;
}
