/* 
================================================
  SIMPLE LIFE PARAGUAY - MAIN STYLES
  Design System: Modern Relocation (Premium)
================================================
*/

:root {
    /* Color Palette (Based on Logo) */
    --primary-color: #3b5f3a;        /* Logo Green - Árbol y letras */
    --primary-light: #4f7d4e;
    --primary-lighter: #6fa06e;      /* Soft Green */
    
    --accent-color: #f78b1d;         /* Logo Orange - Sol radiante */
    --accent-hover: #db7610;
    
    --secondary-color: #176595;      /* Logo Blue - Río/Agua */
    
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f5f7fa;             /* Off-white premium para respirar */
    --white: #ffffff;
    
    --wa-color: #25d366;
    --wa-hover: #1ebd5a;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(12, 31, 54, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================================================
   RESET & BASE TYPOGRAPHY
================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }

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

img, svg { max-width: 100%; display: block; }

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

.container-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.flex-half {
    flex: 1;
    min-width: 300px;
}

.section {
    padding: 6rem 0;
}

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

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.max-w-800 { max-width: 800px; margin: 0 auto; }
.mt-2 { margin-top: 1rem; }

/* ================================================
   COMPONENTS
================================================ */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

.btn-text:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateX(5px);
}

.btn-whatsapp {
    background-color: var(--wa-color);
    color: var(--white);
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: var(--wa-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    color: var(--white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background-color: rgba(212, 175, 55, 0.15); /* Accent tint */
    color: var(--accent-hover);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

/* ================================================
   NAVIGATION
================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 64px;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ================================================
   HERO SECTION
================================================ */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(59, 95, 58, 0.08) 0%, rgba(247, 139, 29, 0.05) 50%, rgba(255,255,255,0) 80%);
    border-radius: 50%;
    z-index: 0;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2.5rem;
    mix-blend-mode: multiply; /* Makes white background transparent if image is jpeg */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ================================================
   SERVICES SECTION (Pilares)
================================================ */
.section-header {
    margin-bottom: 4rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3); /* hover border accent */
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ================================================
   AUTHORITY SECTION (Why Paraguay)
================================================ */
.benefits-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
}

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

.benefit-item h4 {
    margin-bottom: 0.25rem;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.image-placeholder.abstract-art {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12,31,54,0.05) 0%, rgba(47,99,79,0.1) 100%);
    z-index: 1;
}

.abstract-svg {
    width: 80%;
    height: auto;
    z-index: 0;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
}

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

/* ================================================
   PHILOSOPHY SECTION
================================================ */
.philosophy-ideals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 2rem 0;
    color: var(--accent-color);
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.philosophy-ideals span {
    color: var(--white);
}

.philosophy-quote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    margin: 3rem 0;
    position: relative;
}



/* ================================================
   CTA SECTION
================================================ */
.cta-section {
    position: relative;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, #081524 100%);
    padding: 5rem 4rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(12, 31, 54, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

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

.cta-note {
    font-size: 0.85rem !important;
    opacity: 0.7;
    margin-bottom: 0 !important;
}

/* ================================================
   FOOTER
================================================ */
.footer {
    background-color: #050e18;
    color: #a0aec0;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #a0aec0;
}

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

.footer-wa {
    display: inline-flex;
    align-items: center;
    color: var(--wa-color) !important;
    font-weight: 500;
}

.ai-technic-credit {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom {
    background-color: #03080e;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ================================================
   FLOATING ELEMENTS & ANIMATIONS
================================================ */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--wa-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

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

/* Fade in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ================================================
   RESPONSIVE DESIGN (Mobile First / Adjustments)
================================================ */
@media (max-width: 992px) {
    .container-flex { flex-direction: column; gap: 3rem; }
    .hero { min-height: auto; padding-bottom: 4rem; }
    .hero-stats { gap: 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .floating-card { bottom: -15px; left: 10px; padding: 1rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        gap: 2rem;
    }
    
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .w-full-mobile { width: 100%; }
    .cta-content { padding: 3rem 2rem; }
    .philosophy-quote { font-size: 1.25rem; }
}
