
/* ==========================================
   1. RESET DASAR & LATAR BELAKANG PROPORSIAL
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* 1. Memberikan lapisan warna gelap transparan di atas foto */
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)), 
                url('barber.jpg') no-repeat center center fixed;
                
    /* 2. KUNCI UTAMA: Gambar otomatis menutup layar tanpa merusak aspek rasio */
    background-size: cover;
    
    /* 3. KUNCI TAMBAHAN: Memastikan tinggi background minimal 100% dari tinggi layar perangkat */
    min-height: 100vh;
    
    color: #f5f5f5;
    line-height: 1.6;
}


.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* ==========================================
   2. HEADER & NAVIGASI (TRANSPARAN)
   ========================================== */
/* ==========================================
   2. HEADER & NAVIGASI (KONSEP BURGER)
   ========================================== */
header {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #c5a880;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(197, 168, 128, 0.5);
}

.logo span {
    color: #c5a880;
    text-shadow: 0 0 10px rgba(197, 168, 128, 0.8), 0 0 20px rgba(197, 168, 128, 0.5);
}

/* Tombol Hamburger (Default Tersembunyi di PC Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Gaya Menu Navigasi untuk PC Desktop */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

nav ul li a:hover {
    color: #c5a880;
    text-shadow: 0 0 10px rgba(197, 168, 128, 0.8);
}

/* ==========================================
   RESPONSIF TAMPILAN LAYAR HP (MAX-WIDTH: 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Munculkan Tombol Hamburger di Layar HP */
    .hamburger {
        display: flex;
    }

    /* Animasi Perubahan Burger Menjadi Tanda Silang (X) saat Aktif */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #c5a880;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #c5a880;
    }

    /* Mengubah Menu Navigasi Menjadi Panel Melayang Samping/Full Screen */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di luar layar sebelah kanan */
        width: 100%;
        height: 40vh;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        transition: right 0.4s ease-in-out;
        z-index: 105;
    }

    /* Panel Muncul Menggeser ke Kiri saat Tombol Burger Di-klik */
    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 1.5rem;
    }
}


/* ==========================================
   3. HERO SECTION (TULISAN MENYALA)
   ========================================== */
.hero {
    background: transparent; /* Menghapus gambar duplikat sebelumnya */
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Judul Utama Efek Menyala Kuat */
.hero-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(197, 168, 128, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 35px;
    max-width: 650px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8); /* Shadow hitam agar teks terbaca jelas */
}

.btn-wa {
    background-color: #c5a880;
    color: #121212;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
    transition: all 0.3s;
}

.btn-wa:hover {
    background-color: #e2c499;
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.8);
    transform: translateY(-2px);
}

/* ==========================================
   4. KOTAK SEKSI (TRANSPARAN KACA)
   ========================================== */
.about, .services {
    background: transparent; /* Memastikan background kosong agar foto body terlihat */
}

/* Judul Seksi Menyala */
.about h3, .services h3 {
    font-size: 2.2rem;
    color: #c5a880;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(197, 168, 128, 0.7);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* ==========================================
   5. DAFTAR HARGA LAYANAN
   ========================================== */
.price-list {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.55); /* Latar belakang hitam transparan tipis wadah harga */
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid rgba(197, 168, 128, 0.2);
    backdrop-filter: blur(5px);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(197, 168, 128, 0.3);
    padding: 25px 0;
}

.price-item:last-child {
    border-bottom: none;
}

.service-name h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.service-name p {
    color: #cccccc;
    font-size: 0.95rem;
    max-width: 550px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* Harga Menyala Emas */
.price {
    color: #c5a880;
    font-size: 1.4rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(197, 168, 128, 0.6);
}

/* ==========================================
   6. FLOATING WHATSAPP & FOOTER
   ========================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #1ebd57;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-wa {
    animation: pulse 2s infinite;
}

footer {
    background: rgba(10, 10, 10, 0.8);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid rgba(197, 168, 128, 0.2);
}

/* ==========================================
   7. BANNER TEKS MIRING 90 DERAJAT
   ========================================== */
.banner-vertical {
    position: fixed;
    top: 250px;             /* Jarak vertikal dari atas layar */
    left: -350px;           /* Digeser ke kiri agar menempel di pinggir setelah diputar */
    background-color: #c5a880; /* Warna emas khas barbershop */
    color: #121212;         /* Warna teks gelap agar kontras */
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    
    /* KUNCI UTAMA: Memutar tulisan tegak lurus 90 derajat */
    transform: rotate(90deg);
    transform-origin: center;
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 999;           /* Memastikan selalu berada di atas konten lain saat di-scroll */
    pointer-events: none;   /* Agar tidak menghalangi klik mouse ke konten di bawahnya */
}

/* Opsional: Menyembunyikan atau mengecilkan banner di layar HP agar tidak menutupi konten */
@media (max-width: 768px) {
    .banner-vertical {
        font-size: 0.8rem;
        top: 280px;
        left: -250px;
        padding: 6px 20px;
    }
}
