/* styles.css - Shared Stylesheet */

/* === CSS RESET & BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Midnight Forest Palette */
    --bg: #0d1f0d;
    --text: #fdfae6; /* Pale yellow / Muted gold */
    --text-muted: #c4c1a7;
    --accent: #d4af37; /* Muted Gold */
    --accent-hover: #f1d26b;
    --glass-bg: rgba(13, 31, 13, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Noto Sans', sans-serif;
}

body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Background Texture & Mesh Gradient */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 50, 20, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40, 60, 20, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(10, 20, 10, 0.9) 0%, transparent 70%);
}

.site-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23d4af37' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === NAVIGATION === */

/* Top Navigation (Classic Fixed) */
.forest-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(13, 31, 13, 0.8);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.forest-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.forest-nav-links {
    display: flex;
    gap: 2.5rem;
}

.forest-nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.forest-nav-links a:hover, .forest-nav-links a.active {
    color: var(--accent);
}

/* Bottom Navigation (Layout Scheme) */
.forest-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(13, 31, 13, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1001;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.bottom-nav-item i {
    font-size: 1.5rem;
}

.bottom-nav-item.active {
    color: var(--accent);
}

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

@media (max-width: 768px) {
    .forest-nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.tight-section {
    padding: 60px 0;
}

/* Rounded Concave Divider */
section.curved-divider::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

/* Glass Panel Archetype */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

/* Hover Tilt Effect */
.tilt-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-10px);
}

/* Underline CTA Style */
.cta-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
    padding-right: 10px;
}

/* === HERO SECTION === */
.forest-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 31, 13, 0.9), rgba(13, 31, 13, 0.4));
}

.hero-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-headline {
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.9;
    max-width: 800px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--text);
}

.hero-subtitle {
    align-self: flex-end;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    max-width: 600px;
    text-align: right;
    color: var(--accent);
    margin-top: -1rem;
    font-style: italic;
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* === SERVICES SECTION (HIGH DENSITY) === */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 0 1 340px;
    padding: 2.5rem;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* === ABOUT SECTION === */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 992px) {
    .about-split {
        grid-template-columns: 1fr;
    }
}

/* === ROI CALCULATOR (INTERACTIVE) === */
.calculator-box {
    max-width: 700px;
    margin: 0 auto;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.calc-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.calc-input:focus {
    border-color: var(--accent);
}

.calc-result {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--glass-border);
}

.calc-value {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 800;
}

/* === TESTIMONIALS (CARD GRID) === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-info h4 {
    font-size: 1.1rem;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.star-rating {
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* === TRUST BADGES & AWARDS === */
.trust-badges-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.7;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.trust-badges-bar:hover {
    opacity: 1;
    filter: grayscale(0);
}

.award-item {
    text-align: center;
    flex: 0 1 150px;
}

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

/* === FOOTER === */
.forest-footer {
    padding: 100px 0 120px 0; /* Extra bottom padding for bottom nav */
    border-top: 1px solid var(--glass-border);
    background: #060e06;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--accent);
}

/* Floating Action Button / Banner */
.sticky-banner {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 999;
    transform: translateX(200%);
    transition: transform 0.5s ease;
}

.sticky-banner.visible {
    transform: translateX(0);
}

.banner-pill {
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: #0d1f0d;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Inner Page Enrichment */
.related-items {
    padding: 80px 0;
    background: rgba(0,0,0,0.2);
}

/* === MOBILE OVERRIDES === */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero-headline {
        text-align: left;
    }

    .hero-subtitle {
        text-align: left;
        align-self: flex-start;
        margin-top: 1rem;
    }

    .about-image-badge {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Utility classes for spacing strategy */
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }

/* Layered elements overlapping */
.overlap-img {
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

.overlap-text {
    margin-right: -40px;
    position: relative;
    z-index: 6;
}

@media (max-width: 992px) {
    .overlap-img, .overlap-text {
        margin: 0;
    }
}
