/* Comprehensive CSS for Forus Freight Homepage */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: #111827;
    background-color: white;
}

/* CSS Variables for Brand Colors */
:root {
    --primary-orange: #f97316;
    --primary-teal: #0f766e;
    --primary-teal-dark: #075859;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Navigation Styles */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-teal));
    border-radius: 0.5rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: -0.25rem;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-link.active {
    background: linear-gradient(to right, var(--primary-teal), #0d9488);
    color: white;
    font-weight: 600;
}

.nav-link:not(.active) {
    color: #374151;
}

.nav-link:not(.active):hover {
    background-color: #f3f4f6;
    color: var(--primary-teal);
}

.cta-button {
    background: linear-gradient(to right, var(--primary-orange), #ea580c);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    margin-left: 1rem;
    font-size: 0.875rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    padding-bottom: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-cta {
    margin-top: 0.5rem;
    margin-left: 0;
    text-align: center;
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-orange));
    transition: background 0.5s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    z-index: 10;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 300;
    color: white;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-style: italic;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.hero-highlight {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: 0.5rem;
}

.hero-tag {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-top: 1rem;
}

.hero-description {
    color: #e5e7eb;
    margin-top: 1rem;
    max-width: 48rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.section-anchor {
    scroll-margin-top: 6rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    z-index: 20;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.left {
    left: 1.25rem;
}

.carousel-btn.right {
    right: 1.25rem;
}

.carousel-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-heading,
    .hero-highlight {
        font-size: 4rem;
    }

    .hero-tag {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .hero-section {
        height: 100vh;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

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

    .hero-tag {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .nav-content {
        padding: 0 0.75rem;
    }

    .nav-flex {
        height: 4rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 2rem;
        height: 2rem;
        margin-right: 0.5rem;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 3rem 0;
    }

    .about-title,
    .services-title,
    .contact-title {
        font-size: 1.875rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-btn.left {
        left: 0.75rem;
    }

    .carousel-btn.right {
        right: 0.75rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.about-text {
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.services-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-info-item {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-item strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-textarea {
    min-height: 7rem;
    resize: vertical;
}

.form-button {
    width: 100%;
    background: linear-gradient(to right, var(--primary-orange), #ea580c);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-button:hover {
    background: linear-gradient(to right, #ea580c, #dc2626);
}

/* Footer */
.footer {
    background: linear-gradient(to right, var(--primary-teal), var(--primary-teal-dark));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-5>*+* {
    margin-top: 1.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.-mt-1 {
    margin-top: -0.25rem;
}

.ml-4 {
    margin-left: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.text-white {
    color: white;
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-gray-900 {
    color: var(--gray-900);
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.transition {
    transition: all 0.2s ease;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:bg-gray-100:hover {
    background-color: var(--gray-100);
}

.hover\:text-teal-600:hover {
    color: #0d9488;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-7xl {
    max-width: 1280px;
}

.w-10 {
    width: 2.5rem;
}

.w-full {
    width: 100%;
}

.h-10 {
    height: 2.5rem;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.leading-relaxed {
    line-height: 1.75;
}

.leading-tight {
    line-height: 1.25;
}

/* Responsive Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.items-center {
    align-items: center;
}

/* Media Queries */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
    }

    .sm\:text-xl {
        font-size: 1.25rem;
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
    }

    .sm\:text-3xl {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}