/* Base Variables */
:root {
    --color-bg: #FDFCF8;
    --color-bg-alt: #F7F5F0;
    --color-text-main: #2C2C2C;
    --color-text-light: #6A6A6A;
    --color-gold: #C5A059;
    --color-gold-hover: #AB8A45;
    --color-nude: #E6D2C4;
    --color-white: #FFFFFF;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;

    --transition-smooth: all 0.4s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 40px rgba(197, 160, 89, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.bg-cream {
    background-color: var(--color-bg-alt);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--color-text-main);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-nav:hover {
    background-color: var(--color-text-main);
    color: var(--color-white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional parallax could be added with JS */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Darken slightly to read text */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 1rem;
}

.hero-subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    /* Inner padding like a frame */
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.2);
}

.card-image {
    height: 350px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    text-align: center;
}

.card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-content .subtitle {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--color-text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2px;
}

.btn-text:hover {
    color: var(--color-gold);
}

/* Techniques Section */
.techniques-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.techniques-info {
    flex: 1;
}

.techniques-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.techniques-info .lead {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.technique-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-gold);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.technique-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.technique-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.techniques-image {
    flex: 1;
    height: 600px;
    /* Tall image */
    position: relative;
}

.techniques-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: 0;
}

.techniques-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

/* Asymmetrical Layout for 5 Items */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    /* Slight softening */
}

.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    /* Large item (Left, full height) */
}

.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    /* Top Middle */
}

.item-3 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    /* Top Right */
}

.item-4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    /* Bottom Middle */
}

.item-5 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
    /* Bottom Right */
    display: block;
    /* Ensure it is visible */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay i {
    color: var(--color-white);
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .item-1 {
        grid-column: 1 / 3;
        height: 400px;
    }

    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-column: span 1;
        grid-row: auto;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-column: 1 / -1;
        height: 300px;
    }
}


/* CTA Section */
.cta {
    background-color: var(--color-bg);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--color-white);
    margin: 0 1rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .techniques-wrapper {
        flex-direction: column;
    }

    .techniques-image {
        height: 400px;
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Policy Link Styles */
.footer-divider {
    margin: 0 0.5rem;
    opacity: 0.3;
}

.footer-policy-link {
    font-size: 0.8rem;
    color: var(--color-white);
    opacity: 0.5;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-policy-link:hover {
    opacity: 1;
    color: var(--color-gold);
}