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

:root {
    --primary: #cc0000;
    --primary-rgb: 204, 0, 0;
    --secondary: #1a237e;
    --secondary-rgb: 26, 35, 126;
    
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Default Light Mode Colors */
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* Base Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.8);
}

/* Header Glassmorphism Navigation */
.navbar-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: var(--transition-smooth);
    z-index: 1000;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.navbar-brand {
    height: 96px;
    display: flex;
    align-items: center;
    overflow: visible;
}
.navbar-brand img {
    transition: var(--transition-smooth);
}
.logo-header {
    height: 100% !important;
    width: auto !important;
    max-height: 96px !important;
    max-width: 240px !important;
    object-fit: contain !important;
    transform: scale(1.12);
    transform-origin: left center;
    transition: var(--transition-smooth);
}
.logo-footer {
    height: auto !important;
    max-height: 150px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain !important;
    background: #fff !important;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background: var(--primary);
}

/* Swiper Hero Slider */
.swiper-hero {
    height: 70vh;
    min-height: 500px;
}
.swiper-button-next,
.swiper-button-prev {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    transition: var(--transition-smooth);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.swiper-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
}
.slide-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: #fff;
    padding: 20px;
    animation: fadeInUp 1s ease;
}
.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .navbar-brand {
        height: 76px;
    }
    .logo-header {
        max-height: 76px !important;
        max-width: 360px !important;
        transform: scale(1.05);
    }
    .logo-footer {
        max-height: 118px !important;
        max-width: 200px !important;
        padding: 8px 12px;
    }
    .slide-content h2 {
        font-size: 2.2rem;
    }
}

/* Glassmorphism Cards */
.card-premium {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}
.card-premium .card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}
.card-premium .card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.card-premium:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary), rgba(var(--primary-rgb), 0.8));
    border: none;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary) !important;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-secondary-custom:hover {
    background: var(--secondary);
    color: #fff !important;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 30px;
    display: inline-flex;
}
.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Footer Styling */
.footer-premium {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    color: #607086;
    border-top: 1px solid #e6ebf2;
    padding-top: 80px;
    padding-bottom: 40px;
}
.footer-premium h5 {
    color: #16202d;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-premium h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.footer-premium a {
    color: #607086;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.footer-premium a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eef2f7;
    border: 1px solid #d5dde8;
    color: #1e293b !important;
    margin-right: 10px;
    transition: var(--transition-smooth);
}
.footer-social-icon i {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit !important;
}
.footer-social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-3px);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 20px;
    z-index: 9999;
    display: none;
    animation: fadeInUp 0.5s ease;
    max-width: 600px;
}
@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 30px;
    }
}

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

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
