/* KARV Group - Custom CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #dc2626;
    --primary-foreground: #fef2f2;
    --secondary: #fef3c7;
    --secondary-foreground: #92400e;
    --accent: #f59e0b;
    --accent-foreground: #451a03;
    --background: #fffbeb;
    --foreground: #451a03;
    --muted: #fef3c7;
    --muted-foreground: #92400e;
    --border: #fed7aa;
    --card: #ffffff;
    --card-foreground: #451a03;
    --warning: #eab308;
    --warning-foreground: #422006;
    --destructive: #dc2626;
    --destructive-foreground: #fef2f2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* Navigation */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo img {
    height: 2rem;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nav-links {
    display: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links.active {
    display: flex;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--foreground);
}

.nav-link:hover {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.nav-link.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--accent) 90%, black);
}

.btn-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
}

.btn-outline:hover {
    background: var(--primary-foreground);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}


/* Hero Section */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 64, 175, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--primary-foreground);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s both;
}


/* Services Section */

.services {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--background), rgba(241, 245, 249, 0.2));
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 64rem;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-card.port {
    background: linear-gradient(135deg, #2563eb, #3730a3, #1e1b4b);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.service-card.logistics {
    background: linear-gradient(135deg, #0d9488, #0f766e, #164e63);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.2);
}

.service-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-icon {
    flex-shrink: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.service-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.service-features li {
    list-style: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}


/* Mobile Navigation */

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.75rem;
    margin: 0.25rem 0;
}


/* Responsive Design */

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}


/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Icons */

.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.icon-lg {
    width: 3rem;
    height: 3rem;
}


/* Footer */

.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: var(--primary-foreground);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}