/* ======================== 
   VARIABLES & RESET
   ======================== */
   :root {
    --primary: #1B4332;       /* Deep Green */
    --primary-light: #2D6A4F;
    --primary-dark: #081C15;
    --accent: #D4A373;        /* Earthy wood / Gold */
    --accent-hover: #FAEDCD;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #F8F9FA;
    --bg-main: #FFFFFF;
    --bg-light: #F4F6F4;      /* Slightly green tinted light gray */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.rounded { border-radius: 12px; }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(27, 67, 50, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* ======================== 
   NAVBAR
   ======================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: var(--transition);
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

#navbar.scrolled .logo {
    color: var(--primary);
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

#navbar.scrolled .nav-links li a {
    color: var(--primary-dark);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

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

#navbar.scrolled .hamburger {
    color: var(--primary);
}

/* ======================== 
   HERO SECTION
   ======================== */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    background-color: var(--primary-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.15) 0%, rgba(27, 67, 50, 0) 70%);
    z-index: 1;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    color: var(--text-light);
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.4);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.badge i {
    margin-right: 8px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(120deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stat h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat span {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
}

.hero-graphics {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrapper {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    width: 70%;
    height: 70%;
    top: 50px;
    right: 0;
    border: 4px solid var(--accent);
}

.sub-img {
    width: 55%;
    height: 45%;
    bottom: 50px;
    left: 0;
    border: 8px solid var(--primary-dark);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card {
    position: absolute;
    top: 150px;
    left: -30px;
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 5;
}

.fc-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fc-text strong {
    display: block;
    font-size: 1.1rem;
}

.fc-text span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .hero-split { display: flex; flex-direction: column; gap: 0; text-align: center; }
    .hero-content { text-align: center; }
    .hero p { margin: 0 auto 40px auto; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-stats { justify-content: center; margin-bottom: 50px; flex-wrap: wrap; }
    .hero-graphics { display: none; }
}

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

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.about-features li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--bg-main);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent);
}

.experience-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.experience-card p {
    font-weight: 500;
    color: var(--text-muted);
}

/* ======================== 
   SERVICES SECTION
   ======================== */
.services .section-subtitle {
    margin-bottom: 50px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-main);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ======================== 
   CTA SECTION
   ======================== */
.cta {
    background-image: url('https://images.unsplash.com/photo-1655307550020-3eb7efdef723?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OHx8cGlnJTIwZmFybXxlbnwwfHwwfHx8MA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--text-light);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 67, 50, 0.55); /* Reduced opacity for visibility */
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ======================== 
   GALLERY SECTION
   ======================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.item-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.item-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.item-4 { grid-column: 4 / 5; grid-row: 2 / 3; }

/* ======================== 
   CONTACT SECTION
   ======================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-form-container {
    background-color: var(--bg-main);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* ======================== 
   FOOTER
   ======================== */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about h3 i {
    color: var(--accent);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ======================== 
   WHATSAPP OVERLAY
   ======================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ======================== 
   ANIMATIONS
   ======================== */
.scroll-anim {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-up { transform: translateY(30px); }
.fade-up-delay-1 { transform: translateY(30px); transition-delay: 0.1s; }
.fade-up-delay-2 { transform: translateY(30px); transition-delay: 0.2s; }
.fade-up-delay-3 { transform: translateY(30px); transition-delay: 0.3s; }
.fade-up-delay-4 { transform: translateY(30px); transition-delay: 0.4s; }

.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }
.zoom-in { transform: scale(0.9); }

.scroll-anim.show {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Hero entry animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================== 
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 992px) {
    .section { padding: 70px 0; }
    .section-title { font-size: 2.2rem; }
    .hero h1 { font-size: 3.2rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .experience-card {
        bottom: 10px;
        left: 10px;
        padding: 15px;
    }
    .experience-card h3 { font-size: 1.5rem; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .item-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .item-4 { grid-column: 1 / 3; grid-row: 3 / 4; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    .nav-links li a { color: var(--text-light) !important; font-size: 1.2rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.05rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 40px auto; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .hero-graphics { height: auto; }
    .main-img { height: 250px; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .stat-divider { display: none; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
