/* style.css */

/* Variables */
:root {
    --primary-color: #0a66c2; /* LinkedIn blue */
    --secondary-color: #6a6a6a; /* Dark gray for text */
    --accent-color: #f0f2f5; /* Light gray for backgrounds */
    --text-dark: #2c3e50; /* Very dark text */
    --text-light: #ecf0f1; /* Light text */
    --bg-light: #f9fbfd; /* Light background */
    --font-inter: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-inter);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #084c8a; /* Darker primary */
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: var(--secondary-color);
}

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

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #084c8a; /* Darker primary */
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Icons */
.icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.icon-medium {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}


/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.navbar .logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar .logo-img {
    height: 30px; /* Sesuaikan ukuran logo */
    margin-right: 0.8rem;
}

.navbar .nav-links {
    display: flex;
    gap: 2.5rem;
}

.navbar .nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0effd 0%, #c9e0ff 100%); /* Light blue gradient */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* Space for fixed navbar */
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 2rem;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    max-width: 550px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 300px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Grid Container for About & Services */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.grid-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.grid-item p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Service Card specific styles */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card i {
    margin-bottom: 1.5rem;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.contact-info p i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-info a {
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}


/* Modal (Privacy Policy) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    padding: 2rem 0;
}

.modal-content {
    background-color: #fefefe;
    margin: 3% auto; /* 3% from the top and centered */
    padding: 2.5rem 3rem;
    border-radius: 12px;
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 850px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.modal-content p, .modal-content ul {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.close-button, .close-button-bottom {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover, .close-button:focus,
.close-button-bottom:hover, .close-button-bottom:focus {
    color: var(--primary-color);
}

.close-button-bottom {
    position: static; /* Remove absolute positioning */
    margin-top: 2rem;
    display: block; /* Make it a block element to center or give full width */
    width: fit-content; /* Adjust width to content */
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        order: 2;
    }
    .hero-image {
        order: 1;
        justify-content: center;
        margin-bottom: 3rem;
    }
    .hero-image img {
        max-width: 80%;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .navbar .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .navbar .logo {
        font-size: 1.1rem;
    }
    .navbar .logo-img {
        height: 25px;
    }
    .navbar .nav-links {
        gap: 1rem;
    }
    .grid-item {
        padding: 1.8rem;
    }
    .modal-content {
        padding: 2rem;
        margin-top: 10%; /* Adjust top margin for smaller screens */
    }
    .close-button {
        font-size: 1.8rem;
        top: 10px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 0.95rem;
    }
    .navbar .nav-links {
        display: none; /* Sembunyikan nav links untuk layar sangat kecil jika perlu */
    }
    .navbar .container {
        justify-content: center; /* Pusatkan logo jika nav links hilang */
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .contact-info p {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Slider Styling yang Fleksibel */
.slider-container {
    position: relative;
    width: 100%;
    /* Kita tidak mengunci height agar tidak terpotong */
    display: grid; 
    grid-template-columns: 1fr;
    align-items: center;
}

.slide {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto; /* Biarkan tinggi mengikuti rasio asli */
    object-fit: contain; 
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px); /* Geser sedikit saja agar halus */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative; /* Gambar yang aktif akan menentukan tinggi kontainer */}/* Developer Section Styling */.bg-light {    background-color: #f8f9fa;}.text-center {    text-align: center;}.icon-large {    font-size: 4rem;    margin-bottom: 20px;    display: inline-block;}/* Khusus Ikon Google Play */.fa-google-play {    background: -webkit-linear-gradient(#4285F4, #34A853, #FBBC05, #EA4335);    -webkit-background-clip: text;    -webkit-text-fill-color: transparent;    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.1));    transition: transform 0.3s ease, filter 0.3s ease;}.fa-google-play:hover {    transform: scale(1.1) rotate(5deg);    filter: drop-shadow(0px 6px 12px rgba(0,0,0,0.2));}#developer .section-subtitle {    max-width: 700px;    margin-left: auto;    margin-right: auto;    color: #555;    font-size: 1.1rem;    line-height: 1.8;}/* Tambahan untuk merapikan spasi */.section-padding {    padding: 80px 0;}