/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Dynamic Colors (Editable from Database later) */
:root {
    --header-bg: #111111;
    --header-text: #ffffff;
    --menu-bg: #ffffff;
    --menu-text: #111111;
    --menu-active: #d31d1d;
    --primary-color: #d31d1d;
    --primary-hover: #b01515;
    --dark-bg: #121212;
    --dark-card: #1c1c1c;
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: var(--header-bg);
    color: var(--header-text);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info-item i {
    color: var(--primary-color);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-phone {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-phone i {
    color: var(--primary-color);
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-socials a {
    color: var(--header-text);
    opacity: 0.8;
    font-size: 14px;
}

.top-socials a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Navbar */
.header {
    background-color: var(--menu-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.logo-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-top: 2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--menu-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--menu-active);
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--menu-active);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.dropdown-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #111111;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Services Quick Intro Cards */
.services-bar {
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

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

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: rgba(211, 29, 29, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--primary-color);
}

.service-icon-wrapper i {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper i {
    color: #ffffff;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* Info Section (Why Us, Fleet Image & Quote Form) */
.info-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr 1fr 1.2fr;
    }
}

/* Why Us Card */
.why-us-card {
    background-color: #111111;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.why-us-title {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.why-us-heading {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.why-us-item i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

.why-us-text {
    font-size: 15px;
    opacity: 0.9;
}

/* Fleet Image Card */
.fleet-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}

.fleet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.fleet-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.fleet-badge span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Quote Form Card */
.quote-card {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
}

.quote-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .quote-form {
        grid-template-columns: 1fr 1fr;
    }
    .quote-textarea, .quote-btn-wrapper {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 15px;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
    resize: none;
    height: 100px;
}

.quote-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.quote-btn-wrapper .btn {
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #111111;
}

/* Services Full Grid Section */
.services-full {
    padding: 80px 0;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #111111;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Map Embed Wrapper */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 1.2fr 1fr !important;
    }
}

/* Lightbox Modal (Simplified CSS modal for Gallery) */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 35px;
    cursor: pointer;
}

/* Responsive Navigation adjustments */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        transform: none;
        display: none;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .header-btn {
        display: none;
    }
}
