/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light mode */
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #333;
    --card-bg: #ffffff;
    --header-bg: #0f3460;
    --header-text: #ffffff;
    --btn-bg: #e0e0e0;
    --btn-text: #333;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --whatsapp-bg: #25D366;
    --whatsapp-hover: #128C7E;
}

body.dark {
    --bg-primary: #121212;
    --bg-secondary: #1e1e2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: #2a2a35;
    --header-bg: #1a1a2e;
    --header-text: #ffffff;
    --btn-bg: #3a3a4a;
    --btn-text: #ffffff;
    --border-color: #444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-btn {
    font-size: 1.5rem;
}

/* ========== Side Menu (☰) ========== */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--card-bg);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
}

.side-menu.open {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.close-btn {
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
}

.side-menu ul {
    list-style: none;
    padding: 20px;
}

.side-menu ul li {
    margin-bottom: 15px;
}

.side-menu ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.side-menu ul li a:hover {
    color: #25D366;
}

/* ========== Hero Section ========== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--header-bg), var(--bg-secondary));
    border-radius: 20px;
    margin: 30px 0;
    color: var(--header-text);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ========== Services Section ========== */
.services {
    padding: 40px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: #25D366;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== Modals ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-close:hover {
    color: #25D366;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #25D366;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
    color: #25D366;
}

.contact-options {
    text-align: center;
}

.contact-options p {
    margin: 15px 0;
}

.contact-options ul {
    list-style: none;
    padding: 0;
}

.contact-options ul li {
    margin: 8px 0;
    font-size: 1.1rem;
}

/* ========== Offers Page ========== */
.offers-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.offer-empty {
    text-align: center;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.offer-empty i {
    font-size: 4rem;
    color: #ff9800;
    margin-bottom: 20px;
}

.offer-empty h2 {
    margin-bottom: 15px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 25px;
    transition: background-color 0.3s;
}

.back-home-btn:hover {
    background-color: #128C7E;
}

.home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.home-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* ========== Footer ========== */
footer {
    background-color: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

footer a {
    color: #25D366;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--whatsapp-bg);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 99;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 30px auto;
        padding: 20px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .offer-empty {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .icon-btn {
        font-size: 1rem;
        padding: 6px 10px;
    }
    
    .side-menu {
        width: 250px;
    }
}