/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0d47a1; /* Deep Blue */
    --secondary-color: #d4af37; /* Gold */
    --accent-color: #ff9800; /* Orange for CTA */
    --bg-color: #f4f7f6;
    --text-color: #333;
    --white: #ffffff;
    --shadow-light: 0 10px 20px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), inset 0 -3px 0 rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary-color), #f1c40f);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-3d);
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(13,71,161,0.05) 0%, rgba(212,175,55,0.05) 100%);
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

/* Bike Animation Graphics */
.delivery-graphic {
    width: 350px;
    height: 350px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="%2327ae60" d="M312 32c-13.3 0-24 10.7-24 24s10.7 24 24 24h25.7l34.6 64H222.9l-27.4-38C191 99.7 183.7 96 176 96H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h43.7l22.1 30.5-51.1 73.4c-9.5 13.6-24.6 22.7-41 24.1L26.5 277.6c-17.1 1.5-29.3 16.4-27.1 33.3s16.4 29.3 33.3 27.1L100 332.1c11.9-1 22.8-6.1 30.8-14.1l43.2-43.2L206.5 319.4c-9.5 9-15.2 21.6-15.2 34.6 0 26.5 21.5 48 48 48h220.4c9.1 13 23.5 22 39.8 24l55.8 6.9c13.1 1.6 25.1-7.7 26.7-20.8s-7.7-25.1-20.8-26.7L505.4 378.4c-11.9-1.5-22.8-7.5-30.8-16.5l-43.2-48.6-28.5-32 30.5-56.7L468.2 284c16.4 12.1 36.3 19 56.6 19H568c13.3 0 24-10.7 24-24s-10.7-24-24-24h-43.2c-10.4 0-20.6-3.6-28.9-10.1l-68.9-53.7-22.7-42.2H472c13.3 0 24-10.7 24-24s-10.7-24-24-24H312z"/></svg>') no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
    animation: drive 3s ease-in-out infinite alternate;
}

@keyframes drive {
    0% { transform: translateX(-30px) translateY(0px) rotate(-2deg); }
    100% { transform: translateX(30px) translateY(-10px) rotate(2deg); }
}

/* Jobs Section */
.jobs-section {
    padding: 80px 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.job-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.job-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
    transition: all 0.4s ease;
    border-top: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.05), rgba(212,175,55,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.job-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.company-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: var(--shadow-light);
    border: 2px solid currentColor;
}

/* Apply Section */
.apply-section {
    background: linear-gradient(135deg, var(--primary-color), #0a367a);
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.apply-container {
    background: var(--white);
    color: var(--text-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(2deg);
}

.apply-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
}

/* Admin Styles */
.admin-body {
    background: #f0f2f5;
}

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

.admin-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.admin-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-3d);
}

.stat-box h3 {
    font-size: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

.admin-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.admin-table tr:hover {
    background-color: #f9f9f9;
}

.action-btn {
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
}

.delete-btn { background: #e74c3c; }
.export-btn { background: #27ae60; margin-bottom: 15px; display: inline-block;}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }
    .hero h1 { font-size: 2.5rem; }
    .delivery-graphic { width: 300px; height: 300px; }
    .admin-stats { flex-direction: column; }
    .admin-table { display: block; overflow-x: auto; }
}

/* New Styles for V2 Features */
.badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.call-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.whatsapp-btn-small {
    background: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Loader Styles */
.loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
