/* assets/css/index.css */

/* Variabel CSS: Palet Warna, Tipografi, dan Transisi */
:root {
    --primary-color: #0d6efd;
    /* Biru primer */
    --secondary-color: #6c757d;
    /* Abu-abu netral */
    --success-color: #198754;
    /* Hijau sukses */
    --warning-color: #ffc107;
    /* Kuning peringatan */
    --danger-color: #dc3545;
    /* Merah bahaya */
    --light-color: #f8f9fa;
    /* Warna terang */
    --dark-color: #343a40;
    /* Warna gelap */

    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Gradient untuk Navbar & CTA */
    --gradient-start: #0a2d60;
    --gradient-end: #633aa7;

    /* Transisi */
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-primary);
    background: #f0f2f5;
    color: var(--dark-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Heading Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navbar dengan Gradient */
.navbar {
    background: linear-gradient(90deg, rgba(25,35,60,0.97) 0%, rgba(44,70,112,0.94) 100%);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar .nav-link {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(30,30,60,0.16), 0 1px 2px rgba(0,0,0,0.24);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.18s, text-shadow 0.18s;
}

.navbar .nav-link.active, 
.navbar .nav-link:focus, 
.navbar .nav-link:hover {
    color: #00ffe0 !important;
    text-shadow: 0 0 12px #1af7ffcc, 0 2px 10px #0070e055;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh; /* Full tinggi layar */
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/bg.jpg') no-repeat center center/cover;
    overflow: hidden;
    padding-top: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Glassmorphism lebih besar */
    background: rgba(16, 24, 44, 0.76);
    padding: 4rem 5.2rem 4rem 5.2rem;  /* padding BESAR */
    border-radius: 44px;
    box-shadow: 0 8px 48px 0 rgba(50,100,210,0.18);
    backdrop-filter: blur(6px) saturate(138%);
    -webkit-backdrop-filter: blur(6px) saturate(138%);
    max-width: 900px;    /* Lebar sangat besar! */
    min-width: 420px;
    margin: 0 auto;
    animation: fadeInHero 1.2s cubic-bezier(.23,1.02,.47,1.01);
    border: 2px solid rgba(255,255,255,0.11);
    /* Center lebih ke atas */
    transform: translateY(-6vh);
}

.hero-logo {
    max-width: 260px;
    margin-bottom: 1.8rem;
    filter: drop-shadow(0 0 16px #00ffe022);
}

.hero-content h1 {
    color: #fff;
    font-size: 4.2rem;      /* JAUH lebih besar */
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.1rem;
    text-shadow: 0 4px 28px #10f4ff29, 0 1px 0 #000a;
    letter-spacing: 0.03em;
    text-align: center;
}

.hero-content h2 {
    color: #e1f5ff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px #1fdfff55;
    text-align: center;
}

.hero-content .lead {
    color: #ffe600;
    font-size: 1.23rem;
    margin-bottom: 1.35rem;
    font-weight: 700;
    text-shadow: 0 2px 8px #0009;
    text-align: center;
}

.hero-content .btn {
    padding: 1.25rem 3.3rem;
    font-size: 1.42rem;
    font-weight: 700;
    border-radius: 46px;
    box-shadow: 0 6px 32px #0ef8ff33;
    background: linear-gradient(90deg, #2563eb 0%, #00fff0 120%);
    border: none;
    color: #fff;
    transition: box-shadow .22s, background .22s;
    margin-top: 0.4rem;
}
.hero-content .btn:hover {
    background: linear-gradient(90deg, #00fff0 0%, #2563eb 120%);
    box-shadow: 0 8px 38px #0ef8ff66;
    color: #161a2a;
}

@media (max-width: 991px) {
    .hero-content {
        max-width: 99vw;
        min-width: unset;
        padding: 2.2rem 1rem 2.2rem 1rem;
        border-radius: 22px;
    }
    .hero-logo { max-width: 120px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content h2 { font-size: 1rem; }
    .hero-content .btn { font-size: 1rem; padding: 0.8rem 1.5rem; }
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--secondary-color);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-section img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-section p {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    color: var(--primary-color);
}

/* Testimonial Form */
.testimonial-form-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-form-wrapper .form-label {
    font-weight: 600;
}

/* Call-to-Action (CTA) Section */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section a.btn {
    padding: 0.75rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.cta-section a.btn:hover {
    background: var(--primary-color);
}

/* Footer Section */
.footer-section {
    background: var(--dark-color);
    padding: 1.5rem 0;
    text-align: center;
    color: #fff;
}

.footer-section p {
    font-size: 0.9rem;
}

/* Visitor Count Section (Digital Style) */
.visitor-count-section {
    background: #fff;
}

.visitor-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-transform: uppercase;
}

.digital-counter {
    display: inline-block;
    background: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.digital-counter .digit {
    font-family: 'Orbitron', monospace;
    color: #00ff00;
    /* Hijau neon */
    font-size: 2rem;
    margin: 0 2px;
    background: #333;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    min-width: 1ch;
    text-align: center;
}

.visitor-info {
    margin-top: 1.5rem;
    line-height: 1.8;
}

.visitor-info p {
    font-size: 1rem;
    color: var(--dark-color);
    margin: 0.25rem 0;
}

.visitor-info strong {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        min-height: 70vh;
    }

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

    .hero-logo {
        max-width: 150px;
    }
}

@media (max-width: 576px) {

    h1,
    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .feature-card,
    .testimonial-form-wrapper {
        padding: 1.5rem;
    }
}