/* ========================================
   CargoEKS - Modern Landing Page CSS
   ======================================== */

/* Variables */
:root {
    --primary-orange: #F7941D;
    --primary-orange-dark: #E8850A;
    --primary-blue: #00A0E3;
    --primary-blue-dark: #0088C7;
    --dark-blue: #1A3A5C;
    --text-dark: #2D3748;
    --text-gray: #718096;
    --text-light: #A0AEC0;
    --white: #FFFFFF;
    --light-bg: #F7FAFC;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --gradient-orange: linear-gradient(135deg, #F7941D 0%, #FF6B35 100%);
    --gradient-blue: linear-gradient(135deg, #00A0E3 0%, #0077B6 100%);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-blue);
}

.text-gradient {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-orange);
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.5);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar .logo {
    height: 45px;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    height: 38px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-blue) !important;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange) !important;
    background: rgba(247, 148, 29, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFC 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Hero Card */
.hero-card {
    position: relative;
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-card-inner {
    background: var(--gradient-orange);
    border-radius: 30px;
    padding: 50px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hero-card-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.hero-card-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-card-icon {
    font-size: 4rem;
    opacity: 0.8;
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: -150px;
    left: -150px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    top: 50%;
    left: 10%;
}

/* Gallery Section */
.gallery-section {
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.gallery-overlay span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-orange);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.about-content {
    padding-left: 30px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-icon.blue {
    background: var(--gradient-blue);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-orange-dark);
    gap: 10px;
}

/* Service CTA Card */
.service-card-cta {
    background: var(--gradient-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.service-cta-content {
    text-align: center;
    padding: 30px;
    color: var(--white);
}

.service-cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-cta-content h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.service-cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.service-cta-content .btn {
    background: var(--white);
    color: var(--primary-orange);
}

.service-cta-content .btn:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-wrapper {
    background: var(--gradient-blue);
    border-radius: 30px;
    padding: 60px;
    color: var(--white);
}

.cta-wrapper h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-wrapper p {
    opacity: 0.9;
    margin: 0;
}

.cta-wrapper .btn-light {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-wrapper .btn-light:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-info {
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.contact-details p {
    margin: 0;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--gradient-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.1);
}

.form-floating > label {
    padding: 15px;
    color: var(--text-gray);
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--primary-orange);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

.copyright {
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-orange);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-card {
        margin-top: 50px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

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

    .btn-primary-custom.ms-lg-3 {
        margin: 15px auto 0;
        display: block;
        width: fit-content;
    }

    .cta-wrapper {
        padding: 40px 30px;
        text-align: center;
    }
}

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

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

    .gallery-item {
        height: 200px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-card-inner {
        padding: 30px;
    }

    .about-image-accent {
        display: none;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange-dark);
}

/* Selection Color */
::selection {
    background: var(--primary-orange);
    color: var(--white);
}
