:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --primary-red: #e61e2d;
    --primary-red-hover: #ff2d3d;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --red-shadow: 0 0 20px rgba(230, 30, 45, 0.3);
    --red-shadow-strong: 0 0 30px rgba(230, 30, 45, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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;
}

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

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Fixed height for consistent alignment */
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary-red);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary-red);
}

@media (max-width: 992px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0a0a0a; /* Solid background to ensure visibility */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1050;
        transform: translateX(100%); /* Start off-screen to the right */
        display: flex !important; /* Ensure it's always a flex container when active */
    }

    .nav-links.active {
        transform: translateX(0); /* Slide in */
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 700;
    }

    .auth-buttons {
        display: none !important;
    }
    
    .nav-links .auth-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        width: 200px;
        margin-top: 20px;
    }
}

.auth-mobile {
    display: none;
}

.l.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 35px; /* Adjust height as needed */
    width: auto;
};
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: var(--red-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    box-shadow: var(--red-shadow-strong);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-red);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(230, 30, 45, 0.1);
    box-shadow: var(--red-shadow);
}

/* Hero Section */
.hero {
    padding: 180px 0 60px;
    min-height: auto;
    background: radial-gradient(circle at 80% 20%, rgba(230, 30, 45, 0.15) 0%, transparent 40%);
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary-red);
    text-shadow: var(--red-shadow);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 0 50px rgba(230, 30, 45, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: var(--red-shadow);
}

.card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--red-shadow);
    border: none;
    color: white;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* Map Styles */
.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #111;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(230, 30, 45, 0.2);
    animation: pulse 2s infinite;
}

.map-marker::after {
    content: attr(data-city);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid var(--primary-red);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 30, 45, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 30, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 30, 45, 0); }
}

.info-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--primary-red);
    max-width: 300px;
    display: none;
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 14px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 48px; }
    .nav-links { display: none; }
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 500;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--red-shadow-strong);
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary-red);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form input, .chat-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.chat-form input:focus, .chat-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.chat-message {
    max-width: 80%;
    padding: 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message-bot {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message-user {
    background: var(--primary-red);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: none;
}

.chat-input-group {
    display: flex;
    gap: 10px;
}

.chat-input-group input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    color: white;
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 450px;
    }
}
.chat-button {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-button.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
