/*
 * Marina J. Jewelry - Atelier Noir Design System
 * "Beverly Hills' Best Kept Secret - Finally Revealed"
 */

/* ========================================
   CSS VARIABLES & FOUNDATIONS
   ======================================== */

:root {
    /* Colors */
    --black-deep: #050505;
    --black-rich: #0a0a0a;
    --charcoal: #121212;
    --charcoal-mid: #1a1a1a;
    --charcoal-light: #242424;

    --gold: #C5A572;
    --gold-light: #D4BC8A;
    --gold-bright: #D4AF37;

    --white: #F8F6F3;
    --white-pure: #FFFFFF;
    --gray: #9A9A9A;
    --gray-light: #BEBEBE;

    /* Typography */
    --font-display: 'Bodoni Moda', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--black-deep);
    color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.text-display {
    font-family: var(--font-display);
}

.text-italic {
    font-style: italic;
}

.text-gold {
    color: var(--gold);
}

.text-gray {
    color: var(--gray);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.text-center {
    text-align: center;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1600px;
}

section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(197, 165, 114, 0);
    transition: border-bottom 0.4s var(--ease-out);
}

.nav.scrolled {
    border-bottom: 1px solid rgba(197, 165, 114, 0.1);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 56px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: var(--gold);
    color: var(--black-deep);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(197, 165, 114, 0.2);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black-deep);
}

.btn-ghost {
    color: var(--white);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gold);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-ghost:hover {
    color: var(--gold);
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 550px;
    line-height: 1.8;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   DECORATIVE ELEMENTS
   ======================================== */

.divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 0 auto;
}

.divider-horizontal {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(197, 165, 114, 0.3), transparent);
}

.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.border-gold {
    border: 1px solid rgba(197, 165, 114, 0.2);
}

.border-gold-hover {
    border: 1px solid rgba(197, 165, 114, 0.1);
    transition: border-color 0.3s ease;
}

.border-gold-hover:hover {
    border-color: var(--gold);
}

/* ========================================
   CARDS & SURFACES
   ======================================== */

.card {
    background: var(--charcoal);
    border: 1px solid rgba(197, 165, 114, 0.1);
    transition: all 0.4s var(--ease-out);
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.surface-dark {
    background: var(--charcoal);
}

.surface-darker {
    background: var(--black-rich);
}

/* ========================================
   CREDENTIALS BAR
   ======================================== */

/* credentials section removed - Mona Feb 2026 update */

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--black-deep);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid rgba(197, 165, 114, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-title {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

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

.footer-policies {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.footer-policies a {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--gold);
}

.policy-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--gray);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   HOMEPAGE: HERO
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    position: absolute;
    right: -5%;
    top: -20px;
    width: 75%;
    height: calc(100% + 20px);
    object-fit: contain;
    object-position: right center;
    opacity: 0.85;
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 4%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,1) 20%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 4%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,1) 20%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--black-deep) 0%,
        var(--black-deep) 45%,
        rgba(5, 5, 5, 0.6) 60%,
        rgba(5, 5, 5, 0.1) 80%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero-reveal {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-reveal-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
}

.hero-reveal-text {
    font-size: 0.6875rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.08;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 550px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUpCenter 0.8s var(--ease-out) 1.2s forwards;
}

.scroll-hint span {
    font-size: 0.625rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ========================================
   HOMEPAGE: FEATURED MASTERPIECES
   ======================================== */

.featured-masterpieces {
    background: var(--charcoal);
    border-top: 1px solid rgba(197, 165, 114, 0.15);
}

.masterpieces-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.masterpiece-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(197, 165, 114, 0.1);
    transition: all 0.4s var(--ease-out);
    background: var(--charcoal-mid);
}

.masterpiece-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.masterpiece-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.masterpiece-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.masterpiece-info {
    padding: 20px 24px;
}

.masterpiece-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--white);
}

.masterpiece-price {
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.section-cta-center {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   HOMEPAGE: STORY (About Marina)
   ======================================== */

.story {
    background: var(--black-deep);
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
}

.story-text {
    font-size: 1.0625rem;
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

/* ========================================
   HOMEPAGE: COLLECTIONS BY MATERIAL
   ======================================== */

.collections-material {
    background: var(--black-deep);
}

.collections-material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.collection-material-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.collection-material-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.collection-material-card:hover img {
    transform: scale(1.06);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.4) 40%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: background 0.4s ease;
}

.collection-material-card:hover .collection-overlay {
    background: linear-gradient(
        to top,
        rgba(197, 165, 114, 0.85) 0%,
        rgba(5, 5, 5, 0.5) 50%,
        transparent 100%
    );
}

.collection-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.collection-count {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.collection-material-card:hover .collection-count {
    opacity: 1;
    transform: translateY(0);
    color: var(--black-deep);
}

/* ========================================
   HOMEPAGE: CELEBRITY / WORN BY ICONS
   ======================================== */

.celebrity-section {
    background: var(--charcoal);
    position: relative;
    padding: var(--space-xl) 0;
}

.celebrity-cta {
    margin-top: 24px;
}

.celebrity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.3), transparent);
}

.celebrity-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.celebrity-text {
    font-size: 1.125rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ========================================
   HOMEPAGE: SHOP BY CATEGORY
   ======================================== */

.shop-by-category {
    background: var(--black-deep);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.category-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(197, 165, 114, 0.7);
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    text-align: center;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--black-deep);
}

/* ========================================
   HOMEPAGE: MATERIALS / OUR CRAFT
   ======================================== */

.materials {
    background: var(--black-deep);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.material-item {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(197, 165, 114, 0.15);
    transition: all 0.3s ease;
}

.material-item:hover {
    border-color: var(--gold);
    background: rgba(197, 165, 114, 0.05);
}

.material-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--gold);
}

.material-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.material-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   HOMEPAGE: PEARL WEAVING
   ======================================== */

.pearl-weaving {
    background: var(--charcoal);
    position: relative;
}

.pearl-weaving::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.3), transparent);
}

.weaving-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.weaving-content {
}

.weaving-text {
    font-size: 1.0625rem;
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

.weaving-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ========================================
   HOMEPAGE: SERVICES
   ======================================== */

.services-section {
    background: var(--black-deep);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px 36px;
    border: 1px solid rgba(197, 165, 114, 0.15);
    background: var(--charcoal-mid);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.service-card .btn-ghost {
    margin-top: auto;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 24px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ========================================
   HOMEPAGE: TESTIMONIALS
   ======================================== */

.testimonials {
    background: var(--charcoal);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.testimonial-card {
    padding: 48px;
    border: 1px solid rgba(197, 165, 114, 0.15);
    background: var(--charcoal-mid);
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* ========================================
   HOMEPAGE: PRESS MARQUEE
   ======================================== */

.press-marquee {
    background: var(--black-rich);
    padding: 48px 0;
    overflow: hidden;
    border-top: 1px solid rgba(197, 165, 114, 0.1);
    border-bottom: 1px solid rgba(197, 165, 114, 0.1);
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 35s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    padding: 0 48px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-style: italic;
    color: var(--gray);
    white-space: nowrap;
}

.marquee-item::after {
    content: '\00B7';
    margin-left: 48px;
    color: var(--gold);
}

/* ========================================
   HOMEPAGE: FINAL CTA
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, var(--charcoal-mid) 0%, var(--black-deep) 100%);
    text-align: center;
}

.final-cta-inner {
    max-width: 650px;
    margin: 0 auto;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ========================================
   HOMEPAGE: NEWSLETTER
   ======================================== */

.newsletter {
    background: var(--charcoal);
    text-align: center;
}

.newsletter-inner {
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-title {
    margin-bottom: 16px;
}

.newsletter-text {
    color: var(--gray);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(197, 165, 114, 0.3);
}

.newsletter-input {
    flex: 1;
    padding: 20px 24px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: transparent;
    border: none;
    color: var(--white);
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.newsletter-btn {
    padding: 20px 32px;
    background: var(--gold);
    color: var(--black-deep);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--gold-light);
}

/* ========================================
   HOMEPAGE: RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .story-grid,
    .weaving-grid {
        gap: 60px;
    }

    .materials-grid,
    .collections-material-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masterpieces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .story-grid,
    .weaving-grid {
        grid-template-columns: 1fr;
    }

    .story-image,
    .weaving-image {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:nth-child(n+4) {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masterpieces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-bg img {
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 0.4;
    }

    .hero-bg::after {
        background: linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.3) 0%,
            rgba(5, 5, 5, 0.6) 60%,
            var(--black-deep) 100%
        );
    }

    .scroll-hint {
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
    }

    .scroll-hint span {
        font-size: 0.5rem;
    }

    .scroll-line {
        height: 30px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
        width: 100%;
    }

    .collections-material-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .masterpieces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .story-image img {
        max-height: 350px;
    }

    .weaving-image img {
        max-height: 300px;
        height: auto;
    }

    .story-image::before {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    .final-cta-buttons {
        flex-direction: column;
    }

    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-social a {
        padding: 12px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpCenter {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-fade-up {
    animation: fadeUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out) forwards;
    opacity: 0;
}

/* Staggered delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-md);
    }

    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-lg);
    }

    section {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* credentials removed */

    section {
        padding: var(--space-lg) 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

body.nav-open {
    overflow: hidden;
}

.nav-hamburger {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 12px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid rgba(197, 165, 114, 0.15);
    overflow-y: auto;
}

.nav-mobile.open {
    transform: translateX(0);
}

.nav-mobile-inner {
    padding: 100px 32px 48px;
}

.nav-mobile-links {
    list-style: none;
}

.nav-mobile-links li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.nav-mobile-links li a:hover {
    color: var(--gold);
}

.nav-mobile-sub a {
    padding-left: 20px !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    color: var(--gray) !important;
}

.nav-mobile-sub a:hover {
    color: var(--gold) !important;
}

@media (max-width: 992px) {
    .nav-hamburger {
        display: flex;
    }
}

/* Mobile: always solid nav background (no transparent hero overlap) */
@media (max-width: 768px) {
    .nav {
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

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

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 165, 114, 0.15);
    border-radius: 4px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 12px;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(197, 165, 114, 0.08);
}
