/* VARIABLES */
:root {
    --emerald: #10b981;
    --emerald-dark: #047857;
    --dark: #1f2937;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --text: #4b5563;
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--dark); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.bg-gray { background-color: var(--gray-light); }
.section-padding { padding: 80px 0; }

/* NAVBAR */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--emerald); }
.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a:hover { color: var(--emerald); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* BUTTONS */
.btn-primary { background: var(--emerald); color: var(--white); padding: 12px 25px; border-radius: 6px; font-weight: 600; display: inline-block; border: 2px solid var(--emerald); }
.btn-primary:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); color: var(--white); }
.btn-outline { border: 2px solid var(--emerald); color: var(--emerald); padding: 12px 25px; border-radius: 6px; font-weight: 600; display: inline-block; }
.btn-outline:hover { background: var(--emerald); color: var(--white); }
.btn-outline-small { border: 1px solid var(--emerald); color: var(--emerald); padding: 6px 15px; border-radius: 4px; font-size: 0.9rem; display: inline-block; margin-top: 10px; }

/* HERO */
.hero { background: linear-gradient(rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.8)), url('/img/hero-bg.jpg') center/cover; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: #d1d5db; }

/* GRID & CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }

/* PORTFOLIO */
.portfolio-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.portfolio-card img { width: 100%; height: 200px; object-fit: cover; }
.portfolio-info { padding: 20px; }

/* PRICING */
.pricing-card { position: relative; border: 1px solid #e5e7eb; }
.pricing-card.popular { border-color: var(--emerald); transform: scale(1.05); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.pricing-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--emerald); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.pricing-card .price { font-size: 2.5rem; font-weight: bold; color: var(--dark); margin: 20px 0; }
.pricing-card ul { list-style: none; margin-bottom: 30px; }
.pricing-card ul li { margin-bottom: 10px; color: var(--text); }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 6px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

/* FOOTER & WHATSAPP */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer h3, .footer h4 { color: var(--white); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a:hover { color: var(--emerald); }
.footer-bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; font-size: 0.9rem; color: #9ca3af; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; border-radius: 50px; padding: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); z-index: 1000; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* ANIMATIONS (Intersection Observer) */
.fade-in { opacity: 0; transition: opacity 0.8s ease-out; }
.fade-in.visible { opacity: 1; }
.slide-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--white); padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}
