@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;600&display=swap');

:root {
    --primary: #1e3a5f;
    --secondary: #3b5f8f;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.nav-scrolled {
    background-color: rgb(255, 255, 255) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.hero-gradient {
    background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.7), rgba(255,255,255,0.2));
}

.promo-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Mobile First Improvements */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
        font-size: 28px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Mobile First Design - Base styles for mobile */
body {
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 1.875rem; /* 30px */
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem; /* 24px */
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.4;
}

/* Tablet and up */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem; /* 40px */
    }
    
    h2 {
        font-size: 2rem; /* 32px */
    }
    
    h3 {
        font-size: 1.5rem; /* 24px */
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem; /* 48px */
    }
    
    h2 {
        font-size: 2.5rem; /* 40px */
    }
    
    h3 {
        font-size: 1.75rem; /* 28px */
    }
}

/* Mobile padding adjustments */
section {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* Improve touch targets for mobile */
button, a {
    min-height: 44px;
    min-width: 44px;
}

/* Better spacing for mobile cards */
.card, .bg-white {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card, .bg-white {
        margin-bottom: 1.5rem;
    }
}

/* Mobile-optimized images */
img {
    max-width: 100%;
    height: auto;
}

/* Improved mobile navigation */
nav {
    padding: 1rem;
}

@media (min-width: 768px) {
    nav {
        padding: 1.5rem 3rem;
    }
}
