/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navbar */
.navbar {
    background: #1a1a2e;
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #19bf48;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-menu-btn:hover {
    color: #19bf48;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #19bf48;
}

/* Buttons */
.btn-primary {
    background: #19bf48;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #159c3a;
}

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-large {
    display: inline-block;
    background: #19bf48;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-large:hover {
    background: #159c3a;
}

/* Services Section */
.services {
    padding: 70px 0;
    background: #f5f5f5;
}

.services h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #b0050b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #19bf48;
    margin-top: 1rem;
}

/* About Section */
.about {
    padding: 70px 0;
    background: white;
    text-align: center;
}

.about h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding-top: 60px;
}

.auth-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #19bf48;
}

.btn-block {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: #19bf48;
    text-decoration: none;
}

.auth-link a:hover {
    color: #b0050b;
}

/* Alerts */
.alert {
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Dashboard */
.dashboard-container {
    padding-top: 70px;
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-header {
    background: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dashboard-title {
    font-size: 1.8rem;
    color: #1a1a2e;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #19bf48;
}

.stat-label {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Tables */
.data-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow-x: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background: #1a1a2e;
    color: white;
    font-weight: 600;
}

.data-table tr:hover {
    background: #f5f5f5;
}

/* Status badges */
.status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background: #ffc107;
    color: #856404;
}

.status-confirmed {
    background: #19bf48;
    color: white;
}

.status-completed {
    background: #28a745;
    color: white;
}

.status-cancelled {
    background: #b0050b;
    color: white;
}

/* Buttons Secondary */
.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #b0050b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-danger:hover {
    background: #8a0408;
}

.btn-small {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

/* Responsive - Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 0.8rem 0;
        margin: 0;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 20px;
        width: 100%;
        font-size: 1rem;
    }
    
    .nav-links a:hover {
        background: #19bf48;
        color: white;
    }
    
    .nav-links .btn-primary {
        margin: 8px 20px;
        text-align: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .services h2,
    .about h2 {
        font-size: 1.6rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-title {
        font-size: 1.3rem;
    }
    
    .dashboard-header {
        padding: 1rem 0;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    .auth-box {
        margin: 1rem;
        padding: 1.2rem;
    }
    
    .auth-box h2 {
        font-size: 1.4rem;
    }
}

/* Small devices */
@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 15px;
    }
}