/* ---------- CSS Variables & Setup ---------- */
:root {
    /* Color Palette */
    --color-primary: #1e5631; /* Deep forest green */
    --color-secondary: #4c9a2a; /* Fresh leaf green */
    --color-accent: #a4de02; /* Vibrant lime accent */
    --color-bg: #f9fdfa; /* Very soft mint/white bg */
    --color-surface: #ffffff;
    --color-text: #2c3e35;
    --color-text-light: #5f7a68;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(30, 86, 49, 0.05);
    --shadow-md: 0 10px 30px rgba(30, 86, 49, 0.08);
    --shadow-lg: 0 20px 40px rgba(30, 86, 49, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ---------- Typography & Utility ---------- */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-15deg);
}

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

.section-padding {
    padding: 6rem 0;
}

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

.mt-4 {
    margin-top: 2rem;
}

.bg-light {
    background-color: rgba(76, 154, 42, 0.03);
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-primary-outline, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(76, 154, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(76, 154, 42, 0.3);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(37, 211, 102, 0.4);
}

.btn-instagram, .btn-instagram-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 8px 15px rgba(220, 39, 67, 0.2);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(220, 39, 67, 0.3);
}

.btn-instagram-outline {
    background: transparent;
    color: #dc2743;
    border: 2px solid #dc2743;
}

.btn-instagram-outline:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.about-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.instagram-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover:not(.btn-primary-outline) {
    color: var(--color-secondary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(164, 222, 2, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(76, 154, 42, 0.1);
    color: var(--color-secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease backwards;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    animation: slideUp 0.8s ease 0.1s backwards;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease 0.2s backwards;
}

.hero-actions {
    animation: slideUp 0.8s ease 0.3s backwards;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.4s backwards;
}

.blob-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 154, 42, 0.2), rgba(164, 222, 2, 0.2));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite alternate;
}

.hero-img {
    width: 85%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: float 4s ease-in-out infinite alternate;
}

.floating-card .icon {
    font-size: 2rem;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 1rem;
    color: var(--color-primary);
}

.floating-card span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.card-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 10%;
    right: -5%;
    animation-delay: -2s;
}

/* ---------- Services Section ---------- */
.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.service-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    border: 1px solid rgba(76, 154, 42, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 154, 42, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(164, 222, 2, 0.2);
    border-radius: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-text-light);
}

/* ---------- About Section ---------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.skill-item .check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    min-height: 300px;
    height: auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 86, 49, 0.1), rgba(76, 154, 42, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-weight: 500;
    border: 2px dashed rgba(76, 154, 42, 0.3);
}

/* ---------- CTA / Contact ---------- */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::before {
    top: -100px;
    left: -100px;
}

.cta-box::after {
    bottom: -100px;
    right: -100px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---------- Footer ---------- */
footer {
    background: var(--color-surface);
    padding-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--color-text-light);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ---------- Animations ---------- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    from { transform: translateY(0px); }
    to { transform: translateY(-15px); }
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .hero-actions {
        justify-content: center;
    }
    
    .skills-list {
        text-align: left;
    }
    
    .about-actions {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .instagram-links {
        justify-content: center;
        align-items: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-box h2 { font-size: 2rem; }
    
    .floating-card {
        padding: 0.8rem;
    }
    .floating-card .icon { font-size: 1.5rem; }
    
    .card-1 {
        top: auto;
        bottom: 25%;
        left: -5%;
    }
    
    .card-2 {
        bottom: 5%;
        right: -5%;
    }
}
