@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #CC0000;
    --primary-hover: #A30000;
    --secondary: #0A1C40;
    --secondary-light: #1A3673;
    --bg-body: #F8FAFC;
    --bg-surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Navigation */
.navbar-main {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.navbar-main.scrolled { padding: 12px 0; box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-text .brand { font-size: 1.5rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.logo-text .sub { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--secondary); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: white !important; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--secondary); color: var(--secondary) !important; background: transparent; }
.btn-outline:hover { background: var(--secondary); color: white !important; }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); color: white; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background-image: url('bg_modern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.85) 100%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content h1 { font-size: 4rem; margin-bottom: 24px; color: var(--secondary); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; }
.hero-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: auto; display: block; transform: scale(1.02); transition: transform 0.5s; }
.hero-image:hover img { transform: scale(1.05); }

/* Sections */
.section-padding { padding: 120px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 72px; max-width: 700px; margin-inline: auto; }
.section-title h2 { font-size: 3rem; margin-bottom: 16px; color: var(--secondary); }
.section-title p { font-size: 1.15rem; color: var(--text-muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 0;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-img-wrapper {
    width: 100%; height: 240px;
    margin: 0;
    background: var(--bg-body);
    display: block;
    overflow: hidden;
    padding: 0;
}
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img { transform: scale(1.05); }
.service-content {
    padding: 32px;
    text-align: center;
    flex-grow: 1;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--secondary); }
.service-card p { color: var(--text-muted); font-size: 1rem; }

/* Contact Section */
.contact { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { background: var(--secondary); color: white; padding: 48px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.contact-info h2 { color: white; font-size: 2.5rem; margin-bottom: 16px; }
.contact-info h2 span { color: var(--primary); }
.contact-info p { color: rgba(255,255,255,0.8); margin-bottom: 40px; font-size: 1.1rem; }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.info-item i { color: var(--primary); font-size: 1.25rem; margin-top: 4px; flex-shrink: 0; }
.info-item p { margin: 0; color: white; font-size: 1rem; line-height: 1.5; overflow-wrap: break-word; word-break: break-word; flex: 1; min-width: 0; }
.contact-form { padding: 32px 0; }
.form-group { margin-bottom: 24px; }
.form-control {
    width: 100%; padding: 16px 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-body);
    font-family: inherit; font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(204,0,0,0.1); }

/* Footer */
footer { background: var(--secondary); padding: 80px 0 32px; color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 320px; margin-top: 24px; }
.footer-title { color: white; font-size: 1.25rem; margin-bottom: 24px; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover, .whatsapp-float:active {
    opacity: 1;
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 26px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; font-size: 1.5rem; color: var(--secondary); cursor: pointer; z-index: 10001; position: relative;}
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: white; flex-direction: column; justify-content: center;
        transition: var(--transition); z-index: 10000; gap: 40px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .contact-info { padding: 32px 24px; }
    .section-padding { padding: 60px 0; }
    .contact-grid { gap: 32px; }
}
@media (min-width: 769px) { .menu-toggle { display: none; } }
