:root {
    /* Warna disesuaikan dengan logo */
    --primary-color: #6C0000; /* Merah marun gelap dari background logo */
    --secondary-color: #D4AF37; /* Warna emas untuk aksen premium */
    --accent-color: #A90000; /* Merah terang dari bingkai luar logo */
    --text-light: #f5f5f5; /* Teks terang umum */
    --bg-dark: #330000; /* Background yang sedikit lebih gelap dari primary */
}

body {
    font-family: 'Oswald', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

/* Aturan Tambahan untuk .text-secondary & .bg-secondary */
.text-secondary {
    color: var(--secondary-color) !important;
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}
/* Akhir Aturan Tambahan */

/* Header */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Creepster', cursive;
    font-size: 2rem;
    color: var(--primary-color) !important;
    text-shadow: none;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95)), 
                url('../../assets/studio/0-1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, var(--accent-color) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, var(--primary-color) 0%, transparent 50%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-custom {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border: none;
    color: #FFFFFF; /* Teks tombol tetap putih agar kontras */
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(169, 0, 0, 0.3);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(169, 0, 0, 0.5);
    color: #FFFFFF;
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
}

.about-image {
    border-radius: 15px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(108, 0, 0, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-10deg);
    background: var(--accent-color);
    border-color: var(--secondary-color);
    color: white;
}

.feature-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services */
.service-card {
    background: linear-gradient(135deg, rgba(108,0,0,0.9) 0%, rgba(51,0,0,0.9) 100%);
    border: 1px solid rgba(169, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(169, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(169, 0, 0, 0.2);
}

/*Other Services*/
.other-services{
    background: var(--primary-color);
}

/* Gallery */
.gallery {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0; /* Tambahkan padding agar lebih rapi */
}

/* Penambahan: Style untuk link pembungkus */
.gallery-item-link {
    display: block;
    text-decoration: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.8), rgba(169, 0, 0, 0.8));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* PENAMBAHAN: Class untuk menyembunyikan item */
.hidden-item {
    display: none;
}

/* PENAMBAHAN: Style untuk gambar di dalam modal */
#modalImage {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Testimonials */
.testimonial-card {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(169, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
}

.contact-card {
    background: rgba(108, 0, 0, 0.9);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(245, 245, 245, 0.1);
    border: 1px solid rgba(169, 0, 0, 0.3);
    color: var(--text-light);
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(245, 245, 245, 0.15);
    border-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(169, 0, 0, 0.2);
}

.form-control::placeholder {
    color: rgba(245, 245, 245, 0.6);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--accent-color);
    padding: 2rem 0;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Optional: Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .lead { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .section { padding: 50px 0; }
    .feature-item { flex-direction: column; align-items: center; text-align: center; }
    .feature-icon { margin-right: 0; margin-bottom: 1rem; }
}

.cta-about {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    padding: 80px 0;
    color: var(--text-light);
}

.btn-outline-light.custom-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-light.custom-secondary:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-outline-light {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}