/* --- General & Variables --- */
:root {
    --primary-color: #d4af37; /* gold */
    --secondary-color: #fff8ea; /* warm light */
    --text-dark: #222;
    --text-light: #fff;
    --border-color: #e6d9b0;
    --shadow: 0 6px 18px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    background-color: var(--text-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #b58f00;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    color: var(--text-light);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Hero Tracking Form --- */
.hero-tracker {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 2rem;
    max-width: 640px;
}

.hero-tracker input {
    flex: 1 1 320px;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 1rem;
}

.hero-tracker input::placeholder {
    color: rgba(255,255,255,0.9);
}

.hero-tracker .btn {
    padding: 0.6rem 1rem;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-tracker { max-width: 90%; }
    .hero-tracker input { font-size: 0.95rem; }
}

/* --- Generic Page Styles --- */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x400') no-repeat center center/cover;
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
}

.page-content {
    padding: 4rem 0;
}

/* --- Pickup Form Section --- */
.pickup-form-section {
    padding: 4rem 0;
    background-color: #fff;
}

.pickup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);    
    box-shadow: 0 0 0 2px rgba(229, 36, 42, 0.2);
}

.form-submit-btn {
    grid-column: 1 / -1; /* Span across all columns */
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
}

/* --- Sections --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.why-us-section, .customers-section, .services-section {
    padding: 4rem 0;
}

.services-section, .testimonials-section {
    background-color: var(--secondary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Customers Logo Slider --- */
.customers-section {
    background-color: var(--secondary-color);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
}

.logo-track {
    display: flex;
    width: calc(200px * 8); /* (width of slide) * (number of slides) */
    animation: scroll 20s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.slide {
    width: 200px; /* Adjust width as needed */
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* --- Branches Section --- */
.branches-section {
    padding: 4rem 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.branch-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.branch-card h3 {
    margin: 1rem 0 0.5rem;
}

.branch-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}


/* --- Footer --- */
.footer {
    background-color: #222222;
    color: var(--text-light);
    padding-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer p {
    color: #bdc3c7;
}

.footer-social a {
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 99;
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
}

/* --- Responsive Design --- */
.nav-item-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        flex: 1 1 auto;
        min-width: 80px;
    }

    .nav-item .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }

    .nav-item-mobile-only {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-actions {
        display: none; /* Hide action buttons in mobile nav bar, can be moved into the menu if desired */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .pickup-form {
        grid-template-columns: 1fr; /* Stack form fields on mobile */
    }

    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* --- Contact Page Specific Styles --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- Form Feedback Messages --- */
.form-feedback {
    margin: 2rem auto;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.4s ease;
}

.form-feedback-success {
    background-color: #d4f1e1;
    color: #1b5e3e;
    border: 1px solid #a8e6c8;
}

.form-feedback-error {
    background-color: #ffe6e6;
    color: #8b0000;
    border: 1px solid #ffcccc;
}

.form-feedback.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
