/* =====================================================
   GLOBAL RESET
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   LINKS
===================================================== */
a {
    text-decoration: none;
    color: #0073e6;
    transition: 0.2s ease;
}

a:hover {
    color: #004fa3;
}

/* =====================================================
   HEADER
===================================================== */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
}

.main-header nav {
    display: flex;
    gap: 25px;
}

.main-header nav a {
    font-weight: 500;
    color: #333;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =====================================================
   HERO
===================================================== */
.hero-section {
    background: linear-gradient(135deg, #0073e6, #0052a3);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-primary {
    display: inline-block;
    background: #0073e6;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-outline {
    border: 2px solid #0073e6;
    padding: 8px 16px;
    border-radius: 6px;
    color: #0073e6;
}

.btn-outline:hover {
    background: #0073e6;
    color: white;
}

.btn-danger {
    background: #d93025;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
}

/* =====================================================
   STORES GRID
===================================================== */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.store-card {
    background: green;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.store-card:hover {
    transform: translateY(-5px);
}

.store-card img {
    max-width: 150px;
    margin-bottom: 15px;
}

.store-card h3 {
    margin-bottom: 10px;
}

/* =====================================================
   FEATURED SLIDER
===================================================== */
.featured-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 30px 0;
}

.featured-slider .slide {
    min-width: 220px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =====================================================
   DEAL CARDS
===================================================== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.deal-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.deal-card h3 {
    margin-bottom: 10px;
}

/* =====================================================
   GUIDES
===================================================== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.guide-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =====================================================
   FORMS
===================================================== */
form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 30px 0;
}

form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* =====================================================
   ADMIN TABLES
===================================================== */
.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin: 30px 0;
}

.admin-data-table th,
.admin-data-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.admin-data-table th {
    background: #f1f3f6;
    text-align: left;
}

/* =====================================================
   ALERTS
===================================================== */
.alert {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert.success {
    background: #e6f4ea;
    color: #137333;
}

.alert.error {
    background: #fce8e6;
    color: #a50e0e;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer a {
    color: white;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .main-header nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .stores-grid,
    .deals-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
}