:root {
    --color-bg: #F9F7F2;
    --color-text: #1a1a1a;
    --color-accent: #D4AF37; /* Gold */
    --color-secondary: #2C3E50; /* Deep blue-grey */
    --color-muted: #8E8E8E;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Josefin Sans', sans-serif;
    --transition-base: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --noise-opacity: 0.05;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.1;
}

span {
    font-style: italic;
    color: var(--color-accent);
}

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary, .btn-solid {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-text);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    transition: var(--transition-base);
    border: 1px solid var(--color-text);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--color-text);
}

.btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    transition: var(--transition-base);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 0.1em;
}

.logo span {
    font-weight: 600;
    font-style: normal;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    padding: 0 10%;
}

.hero-section h1 {
    font-size: clamp(60px, 8vw, 100px);
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 40px;
    color: var(--color-secondary);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-mask {
    height: 100%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transformation Section */
.transformation-section {
    padding: 100px 0;
}

.transformation-header {
    text-align: center;
    margin-bottom: 60px;
}

.transformation-header h2 {
    font-size: 56px;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.after-image, .before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.after-image img, .before-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-image {
    width: 50%;
    border-right: 1px solid white;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    font-size: 14px;
    color: var(--color-text);
}

/* Service Highlight */
.service-highlight {
    padding: 150px 0;
}

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

.service-text h2 {
    font-size: 64px;
    margin-bottom: 30px;
}

.service-text p {
    font-size: 18px;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    display: inline-block;
    margin-right: 15px;
    border-radius: 50%;
}

.service-visual {
    position: relative;
}

.image-stack {
    position: relative;
    height: 600px;
}

.img-top {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.img-bottom {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* Process Section */
.process-section {
    padding: 150px 0;
    background-color: #1a1a1a;
    color: white;
}

.process-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-section h2 {
    font-size: 56px;
}

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

.process-step {
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-base);
}

.process-step:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--color-accent);
}

.step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.process-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Gallery Section */
.gallery-section {
    padding: 150px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 400px;
    gap: 20px;
    padding: 0 20px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 150px 0;
    background: #F1EFE9;
}

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

.contact-info h2 {
    font-size: 64px;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    font-family: var(--font-sans);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--color-text);
    color: white;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: white;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .hero-image-mask {
        clip-path: none;
        height: 500px;
    }
    
    .service-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 50px;
    }
    
    .service-text h2, .contact-info h2, .gallery-header h2 {
        font-size: 40px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-base);
}

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