:root {
    --primary-color: #cd955e;
    --secondary-color: #292f4a;
    --accent-color: #cd955e;
    --dark-color: #1a1e2e;
    --light-color: #f9f9f9;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Cursor restored for usability */
    cursor: default;
}

a,
button,
.btn,
.service-item,
.value-card {
    cursor: pointer;
}

/* Mobile check removed as we are using default cursor */

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    background-color: rgba(205, 149, 94, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease-out, background-color 0.3s ease;
    mix-blend-mode: normal;
    /* Normal blend mode for better visibility */
    box-shadow: 0 0 10px rgba(205, 149, 94, 0.3);
    /* Glow for visibility */
}

.custom-cursor.active {
    transform: scale(2);
    background-color: rgba(205, 149, 94, 0.2);
    border-width: 1px;
}

.custom-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    box-shadow: 0 0 5px rgba(205, 149, 94, 0.5);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Page Header adjustment for fixed white nav */
.page-header {
    padding-top: 140px !important;
    /* Force clearance for fixed nav */
    padding-bottom: 80px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    /* Subtle white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner instead of text logo */
.loader-content {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(205, 149, 94, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo,
.loader-bar {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navigation */
/* Navigation - Standard Fixed White */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Remove separate scrolled state as we want consistent white bg */
.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 85px;
    /* Increased size as requested */
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    /* Helps blend black bg logos onto white if needed */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text-top {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 0.9;
}

.logo-text-bottom {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    /* Prevent button text wrapping */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Hero Section */
/* Hero Section */
/* Hero Section - Redesigned for Subtlety */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f4f4f4;
    overflow: hidden;
    padding-top: 80px;
    /* Prevent overlap with fixed navbar */
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    /* Split layout */
    height: 100%;
    background-image: url('g10.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(249, 249, 249, 1) 0%, rgba(249, 249, 249, 0) 20%);
    /* Blend to white */
}

/* Mobile overlay for image */
@media (max-width: 992px) {
    .hero-image-container {
        width: 100%;
        opacity: 0.3;
        /* Subtle background on mobile */
    }

    .hero-image-container::after {
        background: linear-gradient(to bottom, rgba(249, 249, 249, 1), transparent);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 5%;
    /* Align left */
}

.hero-text {
    max-width: 600px;
    color: var(--secondary-color);
    /* Dark text for light background */
    text-align: left;
    /* Left align */
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-shadow: none;
}

/* Fix for dark pages headers */
.bg-dark .hero-title,
.page-header .hero-title {
    color: var(--white);
}

.hero-title span {
    color: var(--primary-color);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    text-shadow: none;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-light);
    /* Softer text color */
    max-width: 500px;
    margin-left: 0;
    text-shadow: none;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    /* Align start */
}

/* Update Button colors for light background */
.hero .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.hero .btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Values Section */
.values {
    background-color: var(--white);
    position: relative;
    z-index: 5;
    /* Ensure it sits above any potential floating elements */
}

.section-header.center {
    text-align: center;
    margin-bottom: 70px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    opacity: 1;
    /* Force visible by default */
}

.value-card {
    padding: 40px;
    background-color: var(--white);
    border: 1px solid #eee;
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* About Preview */
.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Services Brief */
.services-grid-brief {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.service-img {
    height: 100%;
    width: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item h4 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    z-index: 10;
    font-size: 1.2rem;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-accent-card {
    background-color: var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 30px;
    text-align: center;
    position: relative;
    /* Ensure it controls its own stacking */
    z-index: 20;
    /* Sit above the parent .service-item::after overlay */
}

.service-accent-card p {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.link-btn {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info p {
    margin: 20px 0;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.7;
    display: flex;
    gap: 15px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        display: block;
        /* Disable flex column to prevent squashing */
        min-height: auto;
        padding: 140px 0 60px;
        /* Adjust padding for fixed nav */
    }

    .hero-overlay {
        display: none;
        /* Hide empty overlay div preventing layout issues */
    }

    .hero-content {
        padding: 0 20px;
        text-align: left;
        /* Left align for mobile */
    }

    .hero-text {
        text-align: left;
        /* Left align for mobile */
        margin: 0;
        /* Remove auto margin */
    }

    .hero-btns {
        justify-content: flex-start;
        /* Left align buttons */
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .services-grid-brief {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Mobile Menu Styles */
    .nav-links {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 20px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    /* Keep CTA visible on mobile? If not, duplicate its link in menu or just hide */
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--secondary-color);
        /* Black/Dark lines */
        transition: var(--transition);
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}