/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Luxury Palette */
    --color-primary: #1a1a1a;
    --color-secondary: #f5f5f0;
    --color-accent: #8b7355;
    --color-text: #2a2a2a;
    --color-text-light: #6a6a6a;
    --color-border: #e0e0d8;
    --color-white: #ffffff;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xxs: 0.2rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --max-width: 1400px;
    --nav-height: 80px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===================================
   CUSTOM CURSOR — Dot with X-Ray Effect
   =================================== */



.custom-cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    opacity: 0;
    /* FIX: Removed transform from here to stop the lag */
    transition: opacity 0.2s ease;
    left: 0;
    top: 0;
    /* Fix: Ensures the cursor stays on top of everything */
    will-change: transform;
}

.custom-cursor.visible {
    opacity: 1;
}

/* Force hide the real cursor on the whole page 
html,
body,
a,
button,
.btn,
input,
select,
textarea {
    cursor: none !important;
}*/

/* Force hide the real cursor on EVERYTHING */
* {
    cursor: none !important;
}

/* Specifically target interactive elements to ensure the 'hand' never appears */
a, button, img, .btn, input, select, textarea, [role="button"] {
    cursor: none !important;
}

/* Ensure images specifically don't trigger browser-default cursors */
img {
    pointer-events: none; /* Optional: prevents dragging images, making them feel like background */
    cursor: none !important;
}











/*
.custom-cursor {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.15s ease-out;
    left: 0;
    top: 0;
}

.custom-cursor.visible {
    opacity: 1;
}*/
/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}


.nav-logo {
    display: flex;
    align-items: center;
    /* Centers vertically */
    flex: 1;
    /* Allows the logo area to take up space to center itself */
}

.nav-logo a {
    display: flex;
    /* Ensures the link wraps tight around the image */
    align-items: center;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.nav-logo img {
    display: block;
    height: 46px;
    /* Keeps your preferred height */
    width: auto;
    /* Maintains aspect ratio */
}


/* Mobile Adjustment */
@media (max-width: 480px) {
    .nav-logo img {
        height: 38px;
        /* Slightly smaller for small screens if needed */
    }
}



.nav-logo a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}



.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + var(--spacing-md)) var(--spacing-md) var(--spacing-md);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-description {
    max-width: 800px;
    margin-bottom: var(--spacing-xl);
}

.hero-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    font-weight: 300;
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.service-group h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
}

.service-group ul {
    list-style: none;
}

.service-group li {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
    padding-left: 1rem;
    position: relative;
}

.service-group li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ===================================
   SCROLL INDICATOR
   =================================== */

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0.5;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md);
    border-top: 1px solid var(--color-border);
    background-color: var(--color-secondary);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: var(0.5rem);
}

.footer a {
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-copy {
    display: flex;
    align-items: flex-end;
}

.footer-copy p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50% {
        transform: scaleY(0.5);
        transform-origin: top;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .nav {
        padding: 0 var(--spacing-md);
    }

    .nav-links {
        gap: var(--spacing-md);
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding: calc(var(--nav-height) + var(--spacing-md)) var(--spacing-md) var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-description p {
        font-size: 1rem;
    }

    .hero-services {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo a {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}