/*
 * LG Locações Ltda - Premium Dark Theme
 * Design sólido, escuro e profissional
 */

:root {
    --gold: #F59E0B;
    --gold-dark: #D97706;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-surface: #1a1a1a;
    --text-white: #FFFFFF;
    --text-muted: #9CA3AF;
    --border: rgba(245,158,11,0.2);
    --transition: all 0.3s ease;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: var(--font-heading);
    font-weight: 700;
}
h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 700;
}
.highlight { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.35);
}

.btn-outline-primary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-primary:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.btn-large { padding: 18px 40px; font-size: 16px; }
.btn-small { padding: 10px 22px; font-size: 13px; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10,10,10,0.98);
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

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

/* Logo */
.logo {
    flex-shrink: 0;
}
.logo img,
.header-logo-img {
    height: 65px;
    max-height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(245,158,11,0.5));
    transition: var(--transition);
    display: block;
}
.site-header.scrolled .logo img,
.site-header.scrolled .header-logo-img {
    height: 48px;
    max-height: 48px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.75);
    position: relative;
    white-space: nowrap;
    padding: 4px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--text-white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-phone.btn {
    padding: 9px 16px;
    font-size: 12px;
    border-width: 2px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Hamburger button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    z-index: 1100;
    flex-shrink: 0;
    transition: var(--transition);
}
.mobile-menu-toggle:hover {
    background: var(--gold);
    color: #000;
}

/* Overlay when mobile menu is open */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}
.nav-overlay.active { display: block; }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
                url('hero.jpeg') center/cover no-repeat;
    text-align: center;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 100%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero .title {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    color: #fff;
}

.hero .description {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; }

/* Gold accent bar at bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== ABOUT ===== */
.about { background-color: var(--bg-surface); }

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrapper { position: relative; }

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -28px; right: -28px;
    background: var(--gold);
    color: #000;
    width: 150px; height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
    border: 4px solid var(--bg-surface);
}
.experience-badge .number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}
.experience-badge .text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 15px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}
.feature-item i { color: var(--gold); font-size: 16px; }

/* ===== SERVICES ===== */
.services { background-color: var(--bg-dark); }

.section-header { margin-bottom: 60px; }
.text-center { text-align: center; }

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.3);
}

.service-icon {
    font-size: 44px;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-content { padding: 28px; }
.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.service-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.7;
}

/* ===== PROJECTS ===== */
.projects { background-color: var(--bg-surface); }

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.project-item:hover {
    transform: scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* ===== LOCATION ===== */
.location { background-color: var(--bg-dark); }
.location h4 {
    font-size: 28px;
    margin-bottom: 36px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo img {
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(245,158,11,0.35));
    margin-bottom: 16px;
}

.footer-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.social-links a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.widget-title {
    font-size: 17px;
    margin-bottom: 24px;
    padding-bottom: 10px;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 3px;
    background: var(--gold);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.contact-info li {
    display: flex; gap: 12px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 14px;
    align-items: flex-start;
}
.contact-info i { color: var(--gold); margin-top: 3px; font-size: 15px; }
.contact-info a:hover { color: var(--gold); }

.footer-bottom {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 22px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25d366;
    color: #fff;
    width: 62px; height: 62px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover { transform: scale(1.1); color: #fff; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.7s ease forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */

/* Large desktop: all visible */
@media (min-width: 1025px) {
    .mobile-menu-toggle { display: none !important; }
    .nav-list { display: flex !important; right: auto !important; position: static !important;
        height: auto !important; flex-direction: row !important; background: transparent !important;
        box-shadow: none !important; border: none !important; width: auto !important; }
}

/* Tablet + Mobile: hamburger menu */
@media (max-width: 1024px) {
    .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }

    .nav-list {
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: #0d0d0d;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 40px rgba(0,0,0,0.7);
        border-left: 1px solid var(--border);
        z-index: 1000;
        padding: 60px 30px;
    }
    .nav-list.active { right: 0; }

    /* Show nav links bigger on mobile menu */
    .nav-link {
        font-size: 16px;
        letter-spacing: 2px;
        color: rgba(255,255,255,0.9);
    }

    /* Move the phone button inside the nav list on mobile */
    .header-phone.btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .logo img,
    .header-logo-img {
        height: 55px;
        max-height: 55px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .logo img,
    .header-logo-img {
        height: 45px;
        max-height: 45px;
    }
    .hero .title { font-size: 28px; }
    .hero .description { font-size: 15px; }
}

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; gap: 50px; }
    .about-image-wrapper { max-width: 560px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero .title { font-size: 42px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 34px; }
    .section-title { font-size: 28px; }
    .experience-badge { width: 110px; height: 110px; right: 0; bottom: -16px; }
    .experience-badge .number { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }

    .header-container { position: relative; justify-content: space-between; }
    
    .logo img { height: 60px; max-height: 60px; }
    .site-header.scrolled .logo img { height: 44px; max-height: 44px; }
    
    .nav-list {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 300px;
        height: 100vh;
        background: #0d0d0d;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0,0,0,0.6);
        border-left: 1px solid var(--border);
    }
    .nav-list.active { right: 0; }
}

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; gap: 50px; }
    .about-image-wrapper { max-width: 560px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero .title { font-size: 48px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 34px; }
    .section-title { font-size: 30px; }
    .experience-badge { width: 120px; height: 120px; right: 0; bottom: -20px; }
    .experience-badge .number { font-size: 30px; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
