:root {
    --color-bg: #0a0a08;
    --color-surface: #141410;
    --color-surface-alt: #1c1c18;
    --color-gold: #c9a84c;
    --color-gold-light: #e2c97e;
    --color-gold-dark: #a08030;
    --color-text: #f0ece4;
    --color-text-muted: #9a9688;
    --color-marble-white: #e8e4dc;
    --color-granite-dark: #2a2a26;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* === NOISE TEXTURE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); border-radius: 3px; }

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 8, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 3rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-logo {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.4s ease;
}

.nav.scrolled .nav-logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

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

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

.nav-links a:hover { color: var(--color-gold); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-hamburger.hidden {
    opacity: 0;
    pointer-events: none;
}

.nav-hamburger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--color-gold);
    transition: all 0.3s;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

/* Marble veining pattern */
.hero-veins {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background:
        linear-gradient(135deg, transparent 40%, rgba(201, 168, 76, 0.3) 40.5%, transparent 41%),
        linear-gradient(225deg, transparent 55%, rgba(201, 168, 76, 0.2) 55.3%, transparent 55.6%),
        linear-gradient(160deg, transparent 65%, rgba(255, 255, 255, 0.15) 65.2%, transparent 65.5%),
        linear-gradient(200deg, transparent 30%, rgba(201, 168, 76, 0.15) 30.2%, transparent 30.5%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    margin-bottom: 2.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-badge::before,
.hero-badge::after {
    content: '◆';
    font-size: 0.45rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

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

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.hero-cta:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

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

/* === SECTION STYLES === */
section {
    padding: 8rem 3rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

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

/* === ABOUT === */
.about {
    background: var(--color-surface);
    position: relative;
}

.about-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    aspect-ratio: 3/4;
    background:
        linear-gradient(135deg, var(--color-granite-dark) 0%, #3a3a34 50%, var(--color-granite-dark) 100%);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.1) 3px, rgba(0,0,0,0.1) 6px);
}

.about-image::after {
    content: 'MERMER & GRANIT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: rgba(201, 168, 76, 0.25);
    letter-spacing: 6px;
    white-space: nowrap;
}

.about-image-frame {
    position: absolute;
    top: 20px; left: 20px;
    right: -20px; bottom: -20px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    pointer-events: none;
}

.about-instagram-embed {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-instagram-embed .instagram-media {
    margin: 0 auto !important;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.about-products {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.about-products li {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 400;
    padding-left: 1.5rem;
    position: relative;
}

.about-products li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.6rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* === SERVICES === */
.services {
    background: var(--color-bg);
    position: relative;
}

.services-header {
    max-width: 1300px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.services-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.services-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: var(--color-surface);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--color-surface-alt); }

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
}

/* === MATERIALS === */
.materials {
    background: var(--color-surface);
    overflow: hidden;
}

.materials-header {
    max-width: 1300px;
    margin: 0 auto 5rem;
    text-align: center;
}

.materials-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.materials-showcase {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.material-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.material-swatch {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.material-item:hover .material-swatch {
    transform: scale(1.05);
}

/* Marble textures via CSS */
.swatch-carrara {
    background:
        linear-gradient(135deg, #e8e4dc 0%, #d4d0c8 30%, #e8e4dc 50%, #ccc8c0 70%, #e0d8cc 100%);
    background-size: 200% 200%;
}

.swatch-calacatta {
    background:
        linear-gradient(160deg, #f5f2ec 0%, #e8e0d0 20%, #f5f2ec 40%, #ddd5c5 60%, #f5f2ec 80%);
}

.swatch-nero {
    background:
        radial-gradient(ellipse at 30% 40%, #2a2a28 0%, #1a1a18 40%, #222220 70%, #1a1a18 100%);
}

.swatch-granite {
    background:
        radial-gradient(circle at 20% 30%, #4a4a44 2%, transparent 3%),
        radial-gradient(circle at 60% 70%, #5a5a54 1.5%, transparent 2.5%),
        radial-gradient(circle at 40% 50%, #3a3a34 2%, transparent 3%),
        radial-gradient(circle at 80% 20%, #4a4a44 1%, transparent 2%),
        linear-gradient(135deg, #3a3a34 0%, #2a2a26 100%);
}

.material-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(10,10,8,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.material-item:hover .material-info {
    transform: translateY(0);
    opacity: 1;
}

.material-info h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.material-info p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === PROCESS === */
.process {
    background: var(--color-bg);
}

.process-header {
    max-width: 1300px;
    margin: 0 auto 5rem;
    text-align: center;
}

.process-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto;
}

.process-steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), var(--color-gold), transparent);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
}

.step-number {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    position: relative;
    background: var(--color-bg);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.8;
}

/* === GALLERY TEASER === */
.gallery-teaser {
    background: var(--color-surface);
    padding: 8rem 3rem;
}

.gallery-teaser-header {
    max-width: 1300px;
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.gallery-teaser-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 400px;
}

.gallery-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-row: 1 / 3;
}

.gallery-swatch {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-swatch {
    transform: scale(1.08);
}

.gs-1 {
    background: linear-gradient(135deg, #d4cfc6 0%, #b8b0a4 30%, #d4cfc6 50%, #c8c0b4 70%, #e0d8cc 100%);
}
.gs-2 {
    background: linear-gradient(160deg, #3a3a34 0%, #4a4a44 40%, #2a2a26 100%);
}
.gs-3 {
    background: linear-gradient(135deg, #f0ece4 0%, #d8d0c4 50%, #e8e0d4 100%);
}
.gs-4 {
    background: radial-gradient(circle at 30% 40%, #5a5854 0%, #3a3834 50%, #4a4844 100%);
}
.gs-5 {
    background: linear-gradient(200deg, #c8c0b4 0%, #a8a098 40%, #b8b0a4 100%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 8, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-gold);
    font-style: italic;
}

/* === INSTAGRAM === */
.instagram {
    background: var(--color-bg);
    position: relative;
}

.instagram-container {
    max-width: 1300px;
    margin: 0 auto;
}

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

.instagram-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border-radius: 8px;
}

.instagram-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}

.instagram-cta svg {
    width: 24px;
    height: 24px;
}

/* Instagram Posts Grid */
.instagram-posts-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Instagram embed styling */
.instagram-media {
    background: var(--color-surface) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    border-radius: 3px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Instagram Post Placeholder */
.instagram-post-placeholder {
    background: var(--color-surface);
    border: 2px dashed rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.instagram-post-placeholder:hover {
    border-color: var(--color-gold);
    background: var(--color-surface-alt);
}

.instagram-post-placeholder-inner {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
}

.instagram-post-placeholder-inner svg {
    width: 80px;
    height: 80px;
    color: var(--color-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.instagram-post-placeholder-inner p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.instagram-post-placeholder-inner small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* === CONTACT === */
.contact {
    background: var(--color-surface);
    position: relative;
}

.contact-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info-block {
    margin-bottom: 2.5rem;
}

.contact-info-block h4 {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-info-block p,
.contact-info-block a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.8;
}

.contact-info-block a:hover {
    color: var(--color-gold);
}

.contact-info-block a {
    display: block;
}

.contact-map {
    width: 100%;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* === FOOTER === */
.footer {
    background: var(--color-surface);
    padding: 4rem 3rem 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--color-text);
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--color-gold);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* === DIVIDER === */
.gold-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 2rem 0;
}

.gold-divider.center {
    margin: 2rem auto;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MOBILE NAV OVERLAY === */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 8, 0.98);
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-overlay a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    section { padding: 5rem 2rem; }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { max-height: 400px; }
    .about-products { grid-template-columns: 1fr; }

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

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

    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-steps::before { display: none; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item:first-child { grid-row: auto; }
    .gallery-item { min-height: 250px; }

    .instagram-posts-grid { max-width: 100%; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav { padding: 1rem 1.5rem; }
    .nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-nav-overlay { display: flex; }

    section { padding: 4rem 1.5rem; }

    .services-grid { grid-template-columns: 1fr; }
    .materials-showcase { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { min-height: 220px; }

    .gallery-teaser-header { flex-direction: column; gap: 1rem; }

    .instagram-posts-grid { max-width: 100%; gap: 1.5rem; }

    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-number { font-size: 2rem; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-brand { align-items: center; }
}

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

html {
    scroll-behavior: smooth;
}

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

/* === NOISE TEXTURE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); border-radius: 3px; }

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 8, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 3rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-logo {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.4s ease;
}

.nav.scrolled .nav-logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

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

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

.nav-links a:hover { color: var(--color-gold); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-hamburger.hidden {
    opacity: 0;
    pointer-events: none;
}

.nav-hamburger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--color-gold);
    transition: all 0.3s;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

/* Marble veining pattern */
.hero-veins {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background:
        linear-gradient(135deg, transparent 40%, rgba(201, 168, 76, 0.3) 40.5%, transparent 41%),
        linear-gradient(225deg, transparent 55%, rgba(201, 168, 76, 0.2) 55.3%, transparent 55.6%),
        linear-gradient(160deg, transparent 65%, rgba(255, 255, 255, 0.15) 65.2%, transparent 65.5%),
        linear-gradient(200deg, transparent 30%, rgba(201, 168, 76, 0.15) 30.2%, transparent 30.5%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    margin-bottom: 2.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-badge::before,
.hero-badge::after {
    content: '◆';
    font-size: 0.45rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

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

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

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

/* === SECTION STYLES === */
section {
    padding: 8rem 3rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

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

/* === ABOUT === */
.about {
    background: var(--color-surface);
    position: relative;
}

.about-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.about-products {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.about-products li {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 400;
    padding-left: 1.5rem;
    position: relative;
}

.about-products li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.6rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* === SERVICES === */
.services {
    background: var(--color-bg);
    position: relative;
}

.services-header {
    max-width: 1300px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.services-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.services-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: var(--color-surface);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--color-surface-alt); }

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
}

/* === DIVIDER === */
.gold-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 2rem 0;
}

.gold-divider.center {
    margin: 2rem auto;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MOBILE NAV OVERLAY === */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 8, 0.98);
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-overlay a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    section { padding: 5rem 2rem; }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-products { grid-template-columns: 1fr; }

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

@media (max-width: 768px) {
    .nav { padding: 1rem 1.5rem; }
    .nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-nav-overlay { display: flex; }

    section { padding: 4rem 1.5rem; }

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

    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-number { font-size: 2rem; }
}
