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

:root {
    --primary: #D21010;
    --primary-dark: #b50e0e;
    --accent: #FFCA28;
    --accent-gold: #FFC107;
    
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-dark: #121212;
    
    --bg-red: #D21010;
    
    --glass-white: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-title: 'Inter', sans-serif;
    --font-text: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.text-thin { font-weight: 500 !important; }
.text-boldest { font-weight: 900 !important; }
.text-gold { color: var(--accent); }

p, span, a, input, textarea, button {
    font-family: var(--font-text);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1400px; /* Increased container for larger images */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 202, 40, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: var(--text-white);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

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

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

.section-padding {
    padding: 140px 0;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95); /* White background */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark); /* Ensure text/icons in header are dark */
}

.logo-wrapper {
    display: inline-block;
}

#brand-logo {
    height: 60px;
    width: auto;
}

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

#navbar ul {
    display: flex;
    gap: 3rem;
    align-items: center;
}

#navbar ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-dark);
}

#navbar ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    padding: 240px 0 140px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* More space for the image */
    gap: 6rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem); /* Slightly decreased */
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    max-width: 600px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 2rem;
}

.hero-image {
    width: 100%;
}

.hero-image .image-wrapper {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 50px 50px 120px rgba(0, 0, 0, 0.4);
    border: 10px solid rgba(255, 255, 255, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05); /* Slight zoom for scale matching */
}

/* Bio Section */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 150px;
    height: 8px;
    background: var(--accent);
    margin-bottom: 3.5rem;
    border-radius: 4px;
}

.bio-text {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.bio-stats {
    display: flex;
    gap: 5rem;
    margin-top: 5rem;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.bio-image .image-wrapper {
    border-radius: 50px; /* Matched to hero */
    overflow: hidden;
    box-shadow: 50px 50px 120px rgba(0, 0, 0, 0.4);
    border: 10px solid rgba(255, 255, 255, 0.1);
}

/* Planaltina Section */
.planaltina-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.planaltina-image .image-wrapper {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 50px 50px 120px rgba(0, 0, 0, 0.4);
    border: 10px solid rgba(255, 255, 255, 0.1);
    height: 750px;
}

.planaltina-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.vision-card {
    padding: 5rem 3rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-20px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.vision-card i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
}

.vision-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Footer */
#footer {
    padding: 80px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    font-size: 2.5rem;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-5px) scale(1.1);
}

/* Floating WhatsApp Button */
#floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.floating-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.floating-whatsapp-btn i {
    font-size: 1.6rem;
}

.floating-whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
    background: #1ebe5d;
}

.hidden { display: none; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid, .bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle, .bio-text { margin-left: auto; margin-right: auto; }
    .title-underline { margin-left: auto; margin-right: auto; }
    .hero-title { font-size: 3.5rem; }
    .hero-actions { justify-content: center; }
    .hero-image { max-width: 600px; margin: 0 auto; order: -1; }
    .bio-stats { justify-content: center; }
    .planaltina-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .planaltina-image { max-width: 600px; margin: 0 auto; }
    .planaltina-content .title-underline { margin-left: auto; margin-right: auto; }
    .planaltina-content .bio-stats { justify-content: center; }
    .vision-grid { grid-template-columns: 1fr; }
    .floating-whatsapp-btn span {
        font-size: 0.85rem;
    }
    .instagram-header-btn:hover {
        color: var(--accent) !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    #navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-red);
        padding: 2rem;
    }
    #navbar.active { display: block; }
    #navbar ul { flex-direction: column; gap: 1.5rem; }

    #hero { padding: 130px 0 70px; min-height: auto; }
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; gap: 1rem; align-items: center; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .section-padding { padding: 80px 0; }
    .section-title { font-size: 2.5rem; }

    .bio-stats { flex-direction: column; gap: 2rem; margin-top: 3rem; }
    .stat-num { font-size: 1.8rem; }

    .planaltina-image .image-wrapper { height: 280px; }

    .vision-card { padding: 3rem 2rem; }
    .vision-card h3 { font-size: 1.5rem; }

    .floating-whatsapp-btn { padding: 0.8rem 1.4rem; font-size: 0.85rem; }
    .floating-whatsapp-btn i { font-size: 1.3rem; }
    #floating-contact { bottom: 16px; right: 16px; }
}
