:root {
    /* Color Palette - Inspired by "Warm but Professional" & CI */
    --color-primary: #594139;
    /* Deep Warm Brown */
    --color-secondary: #EFECE4;
    /* Soft Beige matching logo */
    --color-accent: #C5A065;
    /* Muted Gold */
    --color-text-main: #4A3E39;
    /* Soft Brown-Black */
    --color-text-light: #6E635E;
    /* Muted Warm Grey */
    --color-white: #FFFFFF;
    --color-bg-brand: #EFECE4;
    /* Logo Background Match */
    --color-bg-light: #E8E5DD;
    /* Slightly darker for contrast */

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cinzel', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
    /* Start transparent */
}

header.scrolled {
    background-color: var(--color-bg-brand);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-img {
    max-height: 80px;
    width: auto;
    /* mix-blend-mode removed to keep original colors */
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

.desktop-nav .nav-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--color-white);
    /* Ensure visible against background */
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for header */
    overflow: hidden;
    background: url('../images/hero_bg.png') no-repeat center center/cover;
    position: relative;
}

/* Hero Overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Reduced opacity for brighter background */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    color: var(--color-white);
    /* White text for contrast */
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-bg-shape {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: transparent;
    /* Removed shape as it might conflict with bg image */
    display: none;
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 1;
}

/* Responsive Styles for Header/Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .desktop-nav {
        display: none;
        /* Hide for now, will add mobile menu later if needed or requested */
    }

    .mobile-toggle {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Section Common Styles */
.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Who We Are Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Product Portfolio Styles */
.products-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.product-category {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-category h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-category h3 i {
    color: var(--color-accent);
}

.category-desc {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-text-main);
}

.check-list li i {
    color: var(--color-accent);
}

/* Services Section */
.services-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.service-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--color-white);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.contact-card h3 i {
    color: var(--color-accent);
}

.contact-form-container {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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



/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo h2 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .desktop-nav.active {
        right: 0;
    }

    .desktop-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .desktop-nav a {
        font-size: 1.2rem;
        color: var(--color-text-main);
    }

    .desktop-nav .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-toggle {
        z-index: 1001;
        /* Above the nav drawer */
        position: relative;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-message {
    color: var(--color-text-main);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}