/* ===== FONT & ROOT VARIABLES ===== */
:root {
    --header-height: 3.5rem;
    
    /* Colors */
    --primary-color: #2563eb;
    --primary-color-alt: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --text-color-light: #64748b;
    --white-color: #ffffff;
    --body-color: #f8fafc;
    --container-color: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #f97316 100%);
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    /* Shadows */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 25px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --border-radius: 0.75rem;
    --border-radius-small: 0.5rem;
    --border-radius-large: 1rem;
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 2.25rem;
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.125rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--text-color);
    font-weight: var(--font-semibold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--text-color);
}

.section__subtitle {
    color: var(--text-color-light);
    font-size: var(--normal-font-size);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-small);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--white-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scroll-header {
    box-shadow: var(--shadow-medium);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo__text {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--text-color);
}

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

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link.active-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    bottom: -0.5rem;
    left: 0;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    position: fixed;
    top: var(--header-height);
    width: 100%;
    background-color: var(--container-color);
    padding: 0.75rem 0;
    z-index: calc(var(--z-fixed) - 1);
    border-bottom: 1px solid #e2e8f0;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: calc(var(--header-height) + 3rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__title {
    font-size: var(--biggest-font-size);
    margin-bottom: var(--mb-1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    margin-bottom: var(--mb-2);
    line-height: 1.7;
}

.hero__btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.hero__img {
    position: relative;
}

.hero__img img {
    width: 100%;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
}

/* ===== KATEGORI SECTION ===== */
.kategori {
    background-color: var(--container-color);
}

.kategori__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.kategori__card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.kategori__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.card__img {
    height: 250px;
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kategori__card:hover .card__img img {
    transform: scale(1.05);
}

.card__content {
    padding: 1.5rem;
}

.card__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--text-color);
}

.card__description {
    color: var(--text-color-light);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
}

.card__btn {
    width: 100%;
}

/* ===== TENTANG SECTION ===== */
.tentang__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tentang__text p {
    margin-bottom: var(--mb-1-5);
    color: var(--text-color-light);
    line-height: 1.7;
}

.tentang__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--mb-2);
}

.stat__item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat__number {
    display: block;
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--mb-0-5);
}

.stat__label {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.tentang__img img {
    width: 100%;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

/* ===== KONTAK SECTION ===== */
.kontak {
    background-color: var(--container-color);
}

.kontak__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.kontak__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.info__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
}

.info__content h4 {
    margin-bottom: var(--mb-0-25);
    color: var(--text-color);
}

.info__content p {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.kontak__form {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form__group {
    margin-bottom: var(--mb-1-5);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-small);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s ease;
    resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__btn {
    width: 100%;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-color);
    color: var(--white-color);
}

.footer__container {
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--mb-2);
}

.footer__section .logo__text {
    color: var(--white-color);
}

.footer__description {
    margin: var(--mb-1) 0 var(--mb-1-5);
    color: #cbd5e1;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social__link:hover {
    background: var(--primary-color-alt);
    transform: translateY(-2px);
}

.footer__title {
    margin-bottom: var(--mb-1);
    color: var(--white-color);
    font-size: var(--h3-font-size);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--white-color);
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-top: var(--mb-1);
    text-align: center;
    color: #94a3b8;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.modal__content {
    background: var(--white-color);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.show .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    font-size: 2rem;
    color: var(--text-color-light);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: #f1f5f9;
    color: var(--text-color);
}

.modal__body {
    padding: 2rem;
}

.modal__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--mb-1-5);
}

.modal__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
    color: var(--text-color);
}

.modal__description {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: var(--mb-2);
}

.modal__features {
    margin-bottom: var(--mb-2);
}

.modal__features h4 {
    margin-bottom: var(--mb-0-75);
    color: var(--text-color);
}

.modal__features ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.modal__features li {
    color: var(--text-color-light);
    margin-bottom: var(--mb-0-25);
}

.modal__whatsapp {
    background: #25d366;
    color: var(--white-color);
    width: 100%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal__whatsapp:hover {
    background: #22c55e;
    color: var(--white-color);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-heavy);
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #22c55e;
    transform: scale(1.1);
    color: var(--white-color);
}

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

/* ===== ICONS ===== */
.icon-phone::before { content: "📞"; }
.icon-whatsapp::before { content: "💬"; }
.icon-email::before { content: "📧"; }
.icon-location::before { content: "📍"; }
.icon-instagram::before { content: "📷"; }
.icon-tiktok::before { content: "🎵"; }

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__img {
        order: -1;
    }
    
    .tentang__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tentang__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .kontak__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kategori__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        background-color: var(--white-color);
        width: 80%;
        height: 100%;
        top: 0;
        right: -100%;
        padding: 4rem 0 0 3rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-heavy);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .tentang__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        margin-top: calc(var(--header-height) + 2rem);
    }
    
    .kategori__grid {
        grid-template-columns: 1fr;
    }
    
    .modal__content {
        width: 95%;
        margin: 1rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}