/* Import font Poppins dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Reset dan Properti Dasar */
:root {
    --primary-color: #3f72af; /* Biru */
    --secondary-color: #dbe2ef; /* Abu-abu muda */
    --dark-bg: #112d4e; /* Biru tua */
    --light-text: #f9f7f7; /* Putih keabu-abuan */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-bg);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.cta-link {
    background-color: var(--primary-color);
    color: var(--light-text) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #2e5989;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
    background-image: url('assets/images/hero-bg.jpg'); /* Ganti dengan gambar hero Anda */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

#hero h1 span {
    color: var(--secondary-color);
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2e5989;
    transform: translateY(-3px);
}

/* Section Umum */
.section {
    padding: 6rem 0;
    text-align: center;
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Portofolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}

/* Layanan */
.services-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    max-width: 350px;
    transition: background-color 0.3s ease;
}

.service-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Kontak */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .cta-button {
    align-self: flex-start;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries (Responsif) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        margin-top: 1rem;
    }

    .main-nav li {
        margin: 0 0.5rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}