/* ===========================
   KALRIE DISTRIBUTION SERVICES
   Modern 2026 Design
   =========================== */

:root {
    --primary-color: #1B8BA8;
    --primary-dark: #0f5f78;
    --primary-light: #2fa9c9;
    --accent-color: #D4A574;
    --accent-dark: #c4934f;
    --accent-light: #E8C8A0;
    --dark-bg: #0a0e1a;
    --dark-card: #111827;
    --text-dark: #0f1419;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --light-bg: #f0f4f8;
    --border-color: #e2e8f0;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    letter-spacing: -0.3px;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 44px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-text:hover {
    transform: scale(1.05);
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 13px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #0a0e1a 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 140px 20px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(47, 169, 201, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--text-dark);
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.4);
}

/* ===========================
   SECTION STYLES
   =========================== */

section {
    padding: 100px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 80px;
    font-weight: 500;
}

/* ===========================
   WHY PARTNER SECTION
   =========================== */

#why-partner {
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(27, 139, 168, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(27, 139, 168, 0.2), rgba(212, 165, 116, 0.2));
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 22px;
}

.feature-card p {
    line-height: 1.8;
    font-size: 15px;
}

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

#services {
    background: #ffffff;
    position: relative;
}

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

.service-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    padding: 44px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-item:hover::before {
    left: 100%;
}

.service-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 20px;
}

/* ===========================
   BRANDS SECTION
   =========================== */

#brands {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 60px;
    margin-bottom: 70px;
}

.brand-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid var(--border-color);
}

.brand-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.brand-text {
    background: linear-gradient(135deg, #f8fbfd 0%, #f0f4f8 100%);
    padding: 40px 20px;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.brand-card:hover .brand-text {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(27, 139, 168, 0.05), rgba(212, 165, 116, 0.05));
    transform: scale(1.05);
}

.brands-notice {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-left: 4px solid var(--accent-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    font-size: 18px;
}

.brands-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.brands-notice strong {
    color: var(--accent-light);
    font-weight: 700;
}

/* ===========================
   CONTACT SECTION
   =========================== */

#contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(27, 139, 168, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 24px rgba(27, 139, 168, 0.3);
}

.submit-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27, 139, 168, 0.4);
}

.contact-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 36px;
    font-size: 28px;
}

.info-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.info-item a,
.info-item p {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-highlights {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.contact-highlights h4 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-highlights ul {
    list-style: none;
}

.contact-highlights li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
}

.contact-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1419 100%);
    color: #ffffff;
    padding: 70px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: var(--accent-light);
    margin-bottom: 18px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===========================
   ANIMATIONS
   =========================== */

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

.feature-card,
.service-item,
.brand-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.15s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.35s; }

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    section {
        padding: 70px 20px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .features-grid,
    .services-grid,
    .brands-grid {
        gap: 24px;
    }

    .feature-card,
    .service-item,
    .brand-card {
        padding: 32px;
    }

    .nav-menu {
        display: none;
    }
}

/* ===========================
   UTILITIES
   =========================== */

.success-message {
    animation: slideInUp 0.4s ease-out;
}
