/* Variabel Global (Palet Warna Nicesoftmedia) */
:root {
    --color-navy: #4a536b;
    --color-coral: #ff9a8d;
    --color-pastel: #aed6dc;
    --color-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

/* Reset & Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-navy);
    background-color: var(--color-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tombol */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #e5897e;
    transform: translateY(-2px);
}

/* HEADER */
#main-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2 {
    font-weight: 800;
    color: var(--color-navy);
}

.logo span {
    color: var(--color-pastel);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-coral);
}

/* HERO SLIDER */
#hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Memenuhi sisa layar */
    background: linear-gradient(135deg, #f8fbfb 0%, var(--color-pastel) 100%);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    flex: 1;
    max-width: 500px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Ganti pengaturan .image-placeholder sebelumnya dengan ini */
.slide-image img {
    width: 100%;
    max-width: 600px; /* Mengatur batas lebar gambar */
    height: auto;
    border-radius: 16px; /* Memberikan lekukan halus di sudut gambar */
    box-shadow: 0 15px 35px rgba(74, 83, 107, 0.15); /* Bayangan lembut dengan warna Navy */
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Sedikit efek animasi melayang saat kursor diarahkan ke gambar */
.slide-image img:hover {
    transform: translateY(-5px);
}

/* Slider Controls & Progress */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(74, 83, 107, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-coral);
    width: 0%;
}

.nav-arrows button {
    background: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 10px;
    transition: all 0.3s;
}

.nav-arrows button:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* FOOTER */
#main-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-pastel);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--color-coral);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(174, 214, 220, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}