/*
Theme Name: Hadi Transport Service
Theme URI: https://haditransport.com
Author: Hadi Transport
Author URI: https://haditransport.com
Description: A custom WordPress theme for Hadi Transport Service with integrated fee management system
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hadi-transport
*/

/* ===========================
   CSS Variables (Color Palette)
   =========================== */
:root {
    --primary-red: #E62020;
    --dark-blue: #36454F;
    --black: #000000;
    --white: #FFFFFF;
    --light-grey: #D3D3D3;
    --light-bg: #F5F5F5;
}

/* ===========================
   Global Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===========================
   Header Styles
   =========================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--dark-blue);
    padding: 8px 0;
}

.main-navigation a:hover {
    color: var(--primary-red);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 18px;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 32, 32, 0.8), rgba(54, 69, 79, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c41818;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 32, 32, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* ===========================
   Section Styles
   =========================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ===========================
   Routes Section
   =========================== */
.routes-section {
    background-color: var(--light-bg);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.route-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(230, 32, 32, 0.2);
}

.route-card h3 {
    font-size: 22px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.route-card p {
    color: #666;
    font-size: 16px;
}

/* ===========================
   Features Section
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
}

.feature-item h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-blue);
}

.testimonial-institution {
    color: var(--primary-red);
    font-size: 14px;
}

/* ===========================
   CTA Bottom Section
   =========================== */
.cta-bottom {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-bottom h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-bottom p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* ===========================
   Footer Styles
   =========================== */
.site-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-grey);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

