/* ===== CSS VARIABLES & DESIGN SYSTEM ===== */
:root {
    --primary: #082857;
    /* Deep Blue */
    --primary-dark: #061D40;
    --secondary: #F39C12;
    /* Citrus Orange */
    --accent: #E67E22;
    --dark: #2C3E50;
    /* Professional Dark Blue */
    --text: #4F5B66;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

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

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

.highlight {
    color: var(--primary);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .disclaimer {
    font-size: 0.85rem;
    display: block;
    margin-top: 10px;
    opacity: 0.8;
    font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(8, 40, 87, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 40, 87, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--white);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-container {
    justify-content: flex-end;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.scrolled .logo {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.scrolled .nav-link {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
}

.btn-kontak {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
}

.btn-kontak::after {
    display: none;
}

.btn-kontak:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.scrolled .hamburger .bar {
    background-color: var(--dark);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('hero.png');
    /* Will copy artifact here */
    background-size: cover;
    background-position: center;
    background-color: var(--dark);
    /* Fallback */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.hero-content .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: default;
}

.hero-content .badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.img-wrapper {
    background: linear-gradient(135deg, var(--light) 0%, #eef2f3 100%);
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.img-wrapper::before {
    display: none;
}

.css-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeCycle 9s infinite;
}

.slide-1 {
    animation-delay: 0s;
}

.slide-2 {
    animation-delay: 3s;
}

.slide-3 {
    animation-delay: 6s;
}

@keyframes fadeCycle {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    25% {
        opacity: 1;
        transform: scale(1.02);
    }

    33.33% {
        opacity: 0;
        transform: scale(1.03);
    }

    91.66% {
        opacity: 0;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.experience-badge h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.experience-badge span {
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ===== PRODUCTS SECTION ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.card-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-icon i {
    font-size: 5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.product-card:hover .card-icon i,
.product-card:hover .card-icon img {
    transform: scale(1.1);
}

.card-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card-icon.tropical {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.card-icon.import {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.card-icon.seasonal {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card-content p {
    margin-bottom: 25px;
    color: var(--text);
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

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

/* ===== PRODUCT LOADING SKELETON ===== */
.product-loading {
    padding: 20px 0;
}

.loading-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skeleton-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 16px;
    margin: 20px 30px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text.short {
    width: 60%;
    height: 14px;
    margin-top: 12px;
    margin-bottom: 30px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== PRODUCT ERROR STATE ===== */
.product-error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.error-content {
    text-align: center;
    padding: 40px;
}

.error-content i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 20px;
    display: block;
}

.error-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 25px;
}

/* ===== FEATURES (WHY US) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.f-icon {
    width: 80px;
    height: 80px;
    background: rgba(8, 40, 87, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: var(--transition);
}

.feature-item:hover .f-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* ===== CTA & CONTACT ===== */
.cta-contact {
    background: linear-gradient(135deg, var(--dark) 0%, #1a252f 100%);
    position: relative;
    overflow: hidden;
}

.cta-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 40, 87, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 60px;
    background-color: var(--primary);
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-list i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.contact-form {
    padding: 60px;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(8, 40, 87, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a252f;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.6rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        bottom: -10px;
        right: -10px;
        width: 140px;
        height: 140px;
    }

    .experience-badge h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        color: var(--dark);
        font-size: 1.1rem;
    }

    .scrolled .hamburger .bar {
        background-color: var(--dark);
    }

    .btn-kontak {
        background-color: transparent;
        color: var(--primary) !important;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .img-wrapper {
        height: 350px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .loading-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 40px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}