/* ================================
     Scroll reveal / landing animations
     ================================ */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms cubic-bezier(.2,.9,.2,1), transform 520ms cubic-bezier(.2,.9,.2,1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Fade animation directions */
.reveal[data-reveal="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
}

.reveal[data-reveal="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-reveal="fade-down"],
.reveal[data-reveal="fade-bottom"] {
    opacity: 0;
    transform: translateY(-40px);
}

.reveal[data-reveal="fade-down"].in-view,
.reveal[data-reveal="fade-bottom"].in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-reveal="fade-left"] {
    opacity: 0;
    transform: translateX(40px);
}

.reveal[data-reveal="fade-left"].in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal[data-reveal="fade-right"] {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal[data-reveal="fade-right"].in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Allow children to stagger when data attribute present */
[data-reveal-child] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal-child].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Small tweak: reveal hero content immediately is already handled in homepage.css, so we keep sections discrete */

@media (prefers-reduced-motion: reduce) {
    .reveal,
    [data-reveal-child] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
/* ================================
   GLOBAL STYLES
   ================================ */

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================
   COLOR VARIABLES
   ================================ */

:root {
    --primary-green: #2D7A6E;
    --primary-green-dark: #1a5a50;
    --primary-green-hover: #236358;
    --primary-orange: #D68A3D;
    --primary-orange-dark: #c47a2d;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    --bg-dark: #1a1a1a;
    --border-light: #e0e0e0;
}

/* ================================
   HEADER STYLES
   ================================ */

.header {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 200px;
    height: 80px;
    /* background: #f0f0f0; */
    /* border: 2px dashed #ccc; */
    /* border-radius: 5px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    transition: color 0.3s;
}

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

.contact-button {
    background: var(--primary-orange);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.contact-button:hover {
    background: var(--primary-orange-dark);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================
   FOOTER STYLES
   ================================ */

.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

/* ================================
   CONTAINER & SECTIONS
   ================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary {
    background: var(--primary-orange);
    color: var(--bg-white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    border: 2px solid var(--bg-white);
    display: inline-block;
    transition: all 0.3s;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--primary-green);
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--bg-white);
}

/* ================================
   CARDS
   ================================ */

.card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ================================
   UTILITY CLASSES
   ================================ */

.text-center {
    text-align: center;
}

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

.bg-white {
    background: var(--bg-white);
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Mobile header adjustments */
    .header {
        padding: 15px 0;
    }

    .header-container {
        /* Keep horizontal layout on mobile */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
        order: 2; /* Position hamburger on the right */
    }

    .logo-container {
        width: 150px;
        height: 50px;
        order: 1; /* Position logo on the left */
    }

    /* Mobile navigation styles */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        order: 3;
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        align-items: stretch;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }

    .contact-button {
        margin: 10px;
        text-align: center;
        border-radius: 5px;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* ================================
   IMAGE PLACEHOLDERS
   ================================ */

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #e8f5f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
}


