/* Fateh Transport Ltd - Premium Style Sheet */

/* CSS Variables */
:root {
    --primary: #0071BC;
    --primary-dark: #2E3192;
    --accent: #0071BC;
    --accent-dark: #2E3192;
    --bg: #ffffff;
    --bg-light: #f0f4f8;
    --text: #1A1A1A;
    --text-light: #666666;
    --footer-bg: #2E3192;
    --shadow: 0 6px 25px rgba(0, 113, 188, 0.15);
    --shadow-hover: 0 12px 40px rgba(0, 113, 188, 0.25);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

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

nav a:hover::after {
    width: 100%;
}

nav .btn {
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Premium Sidebar Drawer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.modal-menu.active {
    transform: translateX(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.modal-header .logo {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.modal-header .logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 0;
}

.modal-nav ul {
    list-style: none;
    padding: 0 1rem;
    margin: 0;
}

.modal-nav ul li {
    margin-bottom: 0.5rem;
}

.modal-nav ul a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #1A1A1A !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-radius: 12px;
    gap: 0.75rem;
}

.modal-nav ul a span {
    color: #1A1A1A !important;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-nav ul a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    transform: translateX(5px);
}

.modal-nav ul a svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-nav ul a:hover svg {
    color: var(--primary);
}

.modal-contact {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 113, 188, 0.05), rgba(46, 49, 146, 0.05));
    border-radius: 16px;
    margin: 1rem;
}

.modal-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.modal-contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 8px;
    gap: 0.75rem;
}

.modal-contact-item:hover {
    color: var(--primary);
    background: rgba(0, 113, 188, 0.1);
}

.modal-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 113, 188, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-contact-item:hover .modal-contact-icon {
    background: var(--primary);
    color: white;
}

.modal-contact-icon svg {
    width: 18px;
    height: 18px;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-footer .btn {
    width: 100%;
    text-align: center;
}

.modal-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
}

.modal-whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.float-call {
    background-color: #dc2626;
    color: white;
}

.float-whatsapp {
    background-color: #25D366;
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 174, 46, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 182, 50, 0.3);
}

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

.btn-yellow:hover {
    background-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 182, 50, 0.3);
}

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

.btn-white:hover {
    background-color: var(--bg);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 0;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--text);
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

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

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Materials Section */
.materials {
    background-color: var(--bg-light);
}

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

.material-card {
    position: relative;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.material-card:hover img {
    transform: scale(1.1);
}

.material-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.material-overlay h3 {
    color: white;
    font-size: 1.3rem;
}

/* Fleet Section */
.fleet {
    background-color: white;
}

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

.fleet-card {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.fleet-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.fleet-specs {
    list-style: none;
    margin-top: 1rem;
}

.fleet-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.fleet-specs li:last-child {
    border-bottom: none;
}

/* Why Choose Us Section */
.why-choose {
    background-color: var(--bg-light);
}

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

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.why-item p {
    color: var(--text-light);
}

/* Testimonial Section */
.testimonial {
    background-color: white;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 3.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
}

.testimonial-card p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card .client-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: var(--text-light);
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.credit {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.credit a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.credit a:hover {
    text-decoration: underline;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .materials-grid,
    .fleet-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
    }

    nav ul {
        display: none;
    }

    nav .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo img {
        height: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .services-grid,
    .materials-grid,
    .fleet-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-menu {
        width: 85%;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .fleet-card {
        padding: 1.5rem;
    }
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 9999;
    padding-top: 80px;
    transition: right 0.3s ease;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer a {
    display: block;
    padding: 16px 20px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
}
