/* =============================================
   EquipAluga - Custom Styles
   ============================================= */

:root {
    --primary: #1e3a5f;
    --primary-light: #2a4f82;
    --accent: #f58220;
    --accent-dark: #d96e10;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-radius: 12px;
}

html { font-size: 16px; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
}

/* ---- Focus Ring ---- */
.btn:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent); text-decoration: none; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar { padding: 12px 0; }

.brand-equip {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}
.brand-aluga {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
}

.footer-brand .brand-equip,
.footer-brand .brand-aluga {
    font-size: 1.4rem;
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all .2s;
}
.navbar .nav-link:hover {
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary) !important;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary-custom {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    transition: background .2s, transform .1s;
}
.btn-primary-custom:hover {
    background-color: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    transition: background .2s;
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: #fff;
}

.btn-whatsapp-lg {
    background-color: var(--whatsapp);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: background .2s, transform .1s;
}
.btn-whatsapp-lg:hover {
    background-color: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-1px);
}

.badge-primary-custom {
    background-color: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, #0d2238 0%, #1e3a5f 60%, #2a4f82 100%);
    min-height: 560px;
    padding: 80px 0;
}

.badge-hero {
    background-color: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.text-accent { color: var(--accent); }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
    line-height: 1.6;
}

.hero-image {
    max-height: 420px;
    object-fit: cover;
}

.hero-stats {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat strong {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 800;
}
.hero-stat span {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
}

/* =============================================
   SECTIONS
   ============================================= */
.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* =============================================
   CATEGORY CARDS
   ============================================= */
.category-card .card {
    transition: transform .2s, box-shadow .2s;
    border-radius: var(--border-radius) !important;
    cursor: pointer;
}
.category-card .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.15) !important;
}
.category-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 58, 95, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.category-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}
.category-card .card:hover .category-icon {
    background: var(--primary);
}
.category-card .card:hover .category-icon i {
    color: #fff;
}
.category-card .card-title {
    color: var(--text-dark);
    font-size: 0.88rem;
}

/* =============================================
   EQUIPMENT CARDS
   ============================================= */
.equipment-card {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    background-color: #f4f4f4 !important;
    box-shadow: 4px 6px 14px rgba(0,0,0,0.18), 2px 3px 6px rgba(0,0,0,0.10) !important;
}
.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.12) !important;
}
.equipment-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.equipment-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.equipment-card:hover .equipment-img-wrapper img {
    transform: scale(1.05);
}
.badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-unavailable {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc3545;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* =============================================
   WHY SECTION
   ============================================= */
.bg-primary-custom { background-color: var(--primary); }

.why-card {
    padding: 24px 16px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.05);
    transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,0.1); }

.why-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 130, 32, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.why-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* =============================================
   CTA SECTION
   ============================================= */
.bg-accent { background-color: var(--accent); }

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-card {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.12) !important;
}
.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-content h3 { color: var(--primary); margin-top: 1.5rem; }
.blog-content ul, .blog-content ol { padding-left: 1.4rem; }
.blog-content li { margin-bottom: .5rem; }
.blog-content p { line-height: 1.8; color: #444; }

/* =============================================
   FILTER TABS
   ============================================= */
.filter-tabs .btn {
    border-radius: 30px;
    font-size: 0.88rem;
}

/* =============================================
   SPECS BOX
   ============================================= */
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.specs-list li {
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #e9ecef;
}
.specs-list li:last-child { border-bottom: none; }

/* =============================================
   ACCENT SOFT BACKGROUND
   ============================================= */
.bg-accent-soft {
    background-color: rgba(245, 130, 32, 0.08);
    border: 1px solid rgba(245, 130, 32, 0.2);
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    background: linear-gradient(135deg, #0d2238 0%, #1e3a5f 100%);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-info-icon.whatsapp { background: var(--whatsapp); }

/* =============================================
   FOOTER
   ============================================= */
.footer-main {
    background-color: #0d2238;
    color: #adb5bd;
}
.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.footer-contact-list i {
    color: var(--accent);
    margin-top: 2px;
    min-width: 16px;
}
.footer-contact-list a {
    color: #adb5bd;
    text-decoration: none;
}
.footer-contact-list a:hover { color: var(--accent); }

.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    color: #adb5bd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.social-icon:hover {
    background: var(--primary-light);
    color: #fff;
}
.social-icon.whatsapp:hover { background: var(--whatsapp); }

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: transform .2s, box-shadow .2s;
    animation: pulse 2.5s infinite;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.city-card { transition: transform .2s, box-shadow .2s; }
.city-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1) !important; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hero-title { font-size: 1.9rem; }
    .hero-section { padding: 50px 0; min-height: auto; }
    .section-title { font-size: 1.5rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
}
