/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    background-color: #f4f7fb;
    color: #222222;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */
header {
    background: #0f172a;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #2563eb;
}

/* =========================
   TITLES
========================= */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

/* =========================
   FEATURES
========================= */
.features {
    padding: 80px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================
   SERVICES
========================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =========================
   LOGIN
========================= */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-form {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-form input,
.login-form select,
.login-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    outline: none;
}

.login-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* =========================
   DASHBOARD
========================= */
.dashboard {
    padding: 50px 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =========================
   TABLES
========================= */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #ffffff;
}

.order-table th,
.order-table td {
    border: 1px solid #dddddd;
    padding: 15px;
    text-align: left;
}

.order-table th {
    background: #2563eb;
    color: #ffffff;
}

/* =========================
   ALERTS
========================= */
.success-message {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
   DARK MODE
========================= */
.dark-theme {
    background: #0f172a;
    color: #ffffff;
}

.dark-theme .dashboard-card,
.dark-theme .login-form,
.dark-theme .card,
.dark-theme .service-box {
    background: #1e293b;
    color: #ffffff;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-title {
        font-size: 28px;
    }

    .dashboard {
        padding: 20px;
    }

    .login-form {
        padding: 25px;
    }
}