/* ============================================
   FENNEC FREIGHT - BASE STYLES
   ============================================ */

/* Import Aptos Font */
@import url('font.css');

/* CSS Variables */
:root {
    --primary: #053c23;
    --accent: #F1A128;
    --secondary: #e6eef4;
    --gray: #5a6c7d;
    --section-title-size: 2.5rem;
    --section-title-size-md: 2.25rem;
    --section-title-size-sm: 2rem;
    --section-title-size-xs: 1.75rem;
    --section-desc-size: 1.125rem;
    --section-desc-size-sm: 1rem;
}

@media (max-width: 1024px) {
    :root {
        --section-title-size: 2.25rem;
        --section-desc-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-title-size: 2rem;
        --section-desc-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    :root {
        --section-title-size: 1.75rem;
        --section-desc-size: var(--section-desc-size-sm);
    }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Aptos", system-ui, -apple-system, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    color: #12212f;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */

.site-header .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    max-width: 100%;
}

/* ============================================
   HERO SECTION - SWIPER CAROUSEL
   ============================================ */

.hero-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 60, 35, 0.35) 0%,
        rgba(5, 60, 35, 0.25) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: "Aptos", sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 24px 0;
    text-align: center;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-family: "Aptos", sans-serif;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-description *{
    color: rgba(255, 255, 255, 0.95);
}

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

.hero-tracker {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(5, 60, 35, 0.15),
        0 8px 24px rgba(5, 60, 35, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 200px;
}

.hero-tracker::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F1A128 0%, #ff8f1a 50%, #F1A128 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

.hero-tracker-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.hero-tracker-icon {
    font-size: 1.875rem;
    color: #F1A128;
    display: inline-block;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.hero-tracker-title {
    font-family: "Aptos", sans-serif;
    font-weight: 600;
    font-size: 1.375rem;
    color: #053c23;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.hero-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.hero-form-group {
    flex: 1;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Aptos", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #053c23;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.hero-label i {
    color: #F1A128;
    font-size: 0.875rem;
}

.hero-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-input-icon {
    position: absolute;
    left: 18px;
    color: #9ca3af;
    font-size: 1.0625rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.hero-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e6eef4;
    border-radius: 12px;
    font-family: "Aptos", sans-serif;
    font-size: 1rem;
    color: #053c23;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 52px;
}

.hero-input:focus {
    outline: none;
    border-color: #F1A128;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1),
        0 4px 12px rgba(255, 122, 0, 0.15);
    transform: translateY(-1px);
}

.hero-input-wrapper:focus-within .hero-input-icon {
    color: #F1A128;
}

.hero-input::placeholder {
    color: #9ca3af;
}

.hero-btn {
    padding: 16px 36px;
    background: linear-gradient(135deg, #F1A128 0%, #ff8f1a 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Aptos", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    min-height: 52px;
    flex-shrink: 0;
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #ff8f1a 0%, #F1A128 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.5);
}

.hero-btn:active {
    transform: translateY(-1px);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(4px);
}
/* Header Responsive */
/* desktop */
@media (min-width: 1200px) {
    .site-header .container {
        max-width: 1280px;
    }
}

/* large desktop */
@media (min-width: 1400px) {
    .site-header .container {
        max-width: 1440px;
    }
}

/* 2K */
@media (min-width: 1600px) {
    .site-header .container {
        max-width: 1600px;
    }
}

/* 4K */
@media (min-width: 2000px) {
    .site-header .container {
        max-width: 1800px;
    }
}

/* Swiper Pagination Styles */
.hero-swiper .swiper-pagination {
    bottom: 100px;
    z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #F1A128;
    width: 32px;
    border-radius: 6px;
}

/* Hero Section Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 100vh;
        margin-top: 0;
    }

    .hero-content {
        max-width: 800px;
        padding: 0 20px;
    }

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

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

    .hero-section::after {
        height: 70px;
        clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-swiper .swiper-pagination {
        bottom: 90px;
    }
}

@media (max-width: 900px) {
    .hero-section {
        height: 100vh;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        margin-top: 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .hero-description {
        display: none;
    }

    .hero-section::after {
        height: 60px;
        clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-swiper .swiper-pagination {
        bottom: 80px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        height: 55vh;
        margin-top: 0;
    }

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

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

    .hero-swiper .swiper-pagination {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
        margin-top: 0;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 18px;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-section::after {
        height: 50px;
        clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-swiper .swiper-pagination {
        bottom: 60px;
    }

    .hero-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .hero-swiper .swiper-pagination-bullet-active {
        width: 24px;
    }
}

@media (max-width: 375px) {
    .hero-section {
        height: 50vh;
        margin-top: 0;
    }

    .hero-content {
        padding: 0 14px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    .hero-section::after {
        height: 45px;
        clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-swiper .swiper-pagination {
        bottom: 55px;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

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

    .hero-swiper .swiper-pagination {
        bottom: 50px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fff;
    padding: 72px 0 90px;
    overflow: hidden;
    margin-top: -1px;
}

.services-content {
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-family: "Aptos", sans-serif;
    font-weight: 700;
    font-size: var(--section-title-size);
    line-height: 1.2;
    color: #000000;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.services-subtitle {
    font-family: "Aptos", sans-serif;
    font-size: var(--section-desc-size);
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 36px;

    width: 100%;
    max-width: 1600px; /* header gibi */
    margin: 0 auto;
    padding: 0 16px; /* header ile aynı padding */
}

/* Home operations section spacing tweaks */
.about-section.operations {
    padding: 48px 0;
}

.about-section.operations .about-section-row {
    gap: 28px;
}

/* Home about + mission spacing tweaks */
.about-intro.home-compact {
    padding: 60px 0;
}

.about-intro.home-compact .about-intro-row {
    gap: 40px;
}

.about-section.home-compact {
    padding: 60px 0;
}

.about-section.home-compact .about-section-row {
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(5, 60, 35, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(5, 60, 35, 0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #F1A128 0%, #ff8f1a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(5, 60, 35, 0.15);
    border-color: rgba(255, 122, 0, 0.2);
}

.service-card:hover::before,
.service-card:focus-visible::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    margin: 0 auto 28px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(5, 60, 35, 0.15);
    border-radius: 12px 12px 0 0;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: all 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(5, 60, 35, 0.2);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card-title {
    font-family: "Aptos", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #000000;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.service-card-description {
    font-family: "Aptos", sans-serif;
    padding: 0px 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);

    font-weight: 400;
}

/* Services Section Responsive */
@media (min-width: 1200px) {
    .services-grid {
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .services-grid {
        max-width: 1440px;
    }
}

@media (min-width: 1600px) {
    .services-grid {
        max-width: 1600px;
    }
}

@media (min-width: 2000px) {
    .services-grid {
        max-width: 1800px;
    }
}
@media (max-width: 1024px) {
    .services-section {
        padding: 90px 0 110px;
    }

    .services-title {
        font-size: var(--section-title-size);
    }

    .services-subtitle {
        font-size: var(--section-desc-size);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 80px 0 100px;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-title {
        font-size: var(--section-title-size);
        margin-bottom: 16px;
    }

    .services-subtitle {
        font-size: var(--section-desc-size);
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: 2fr;
        gap: 24px;
        padding: 0 16px;
    }

    .service-card {
        padding: 0px;
    }

    .service-image {
        width: 100%;
        margin-bottom: 24px;
    }

    .service-card-title {
        font-size: 1.375rem;
        margin-bottom: 14px;
    }

    .service-card-description {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 70px 0 90px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: var(--section-title-size);
        margin-bottom: 14px;
    }

    .services-subtitle {
        font-size: var(--section-desc-size);
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 0px;
    }

    .service-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-card-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .service-card-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* ============================================
   CTA SECTION (shared)
   ============================================ */

.cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(
        135deg,
        var(--accent, #F1A128) 0%,
        #F1A128 100%
    );
    color: #fff;
}

.cta-section h3 {
    font-size: 2rem;
    margin: 0 0 25px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: var(--accent, #F1A128);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #053c23;
    color: #fff;
}

@media (min-width: 576px) and (max-width: 767px) {
    .cta-section {
        padding: 30px 20px;
    }
}

@media (min-width: 375px) and (max-width: 575px) {
    .cta-section {
        padding: 30px 18px;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 374px) {
    .cta-section {
        padding: 25px 15px;
    }

    .cta-section h3 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media print {
    .cta-button {
        display: none;
    }
}

/* ============================================
   FIXED ACTION ICONS
   ============================================ */

.floating-actions {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    align-items: center;
}

.floating-action {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary, #053c23);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.floating-action img {
    width: 26px;
    height: 26px;
}

.floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    background: #075330;
}

.floating-action:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .floating-actions {
        right: 16px;
        gap: 10px;
    }

    .floating-action {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .floating-action img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .floating-actions {
        right: 12px;
        gap: 8px;
    }

    .floating-action {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .floating-action img {
        width: 22px;
        height: 22px;
    }
}
