/**
 * Responsive Styles
 * IndoLightAudio Theme
 */

/* ==========================================================================
   HEADER RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
    .nav-wrapper {
        gap: 30px;
    }

    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .navbar {
        padding: 0 20px;
    }

    .logo a {
        gap: 10px;
    }

    .logo-image {
        height: 36px;
        max-width: 180px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-wrapper {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: #0a0a0a;
        width: 100%;
        transition: left 0.3s ease;
        padding: 30px 0;
        gap: 30px;
        border-top: 1px solid #1a1a1a;
    }

    .nav-wrapper.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .logo a {
        gap: 8px;
    }

    .logo-image {
        height: 32px;
        max-width: 150px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   HERO SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .hero-section {
        padding: 80px 20px 100px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 60px 15px 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ==========================================================================
   TENTANG KAMI SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .tentang-kami-content {
        gap: 60px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 968px) {
    .tentang-kami-section {
        padding: 80px 20px;
    }

    .tentang-kami-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tentang-kami-text {
        padding-left: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-rows: repeat(3, 180px);
    }

    .btn-about {
        width: 100%;
        text-align: center;
    }

    .experience-badges-wrapper {
        flex-direction: column;
    }

    .experience-badge {
        width: 100%;
        min-width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .tentang-kami-section {
        padding: 60px 15px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .about-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-rows: repeat(3, 150px);
        gap: 12px;
    }

    .gallery-item {
        border-radius: 15px;
    }

    .experience-badges-wrapper {
        gap: 15px;
    }

    .experience-badge {
        padding: 20px;
        min-width: 100%;
        box-shadow: none;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-label {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   KEUNGGULAN SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .keunggulan-grid {
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .keunggulan-section {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .keunggulan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .keunggulan-card {
        padding: 35px 25px;
    }
}

@media (max-width: 640px) {
    .keunggulan-section {
        padding: 60px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .keunggulan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .keunggulan-card {
        padding: 30px 20px;
    }

    .keunggulan-icon svg {
        width: 50px;
        height: 50px;
    }

    .keunggulan-title {
        font-size: 1.1rem;
    }

    .keunggulan-description {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   LAYANAN SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .layanan-grid {
        gap: 20px;
    }

    .layanan-card {
        height: 320px;
    }
}

@media (max-width: 968px) {
    .layanan-section {
        padding: 80px 20px;
    }

    .layanan-header {
        margin-bottom: 50px;
    }

    .layanan-intro {
        font-size: 0.95rem;
    }

    .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .layanan-card {
        height: 300px;
    }

    .layanan-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .layanan-section {
        padding: 60px 15px;
    }

    .layanan-header {
        margin-bottom: 40px;
    }

    .layanan-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .layanan-card {
        height: 280px;
    }

    .layanan-content {
        padding: 25px;
    }

    .layanan-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .btn-layanan {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   GALERY SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .galery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .galery-item {
        height: 250px;
    }
}

@media (max-width: 968px) {
    .galery-section {
        padding: 80px 20px;
    }

    .galery-header {
        margin-bottom: 50px;
    }

    .galery-intro {
        font-size: 0.95rem;
    }

    .galery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .galery-item {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .galery-section {
        padding: 60px 15px;
    }

    .galery-header {
        margin-bottom: 40px;
    }

    .galery-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Carousel View for Mobile - Only for homepage gallery */
    .galery-section .galery-carousel-wrapper {
        position: relative;
        overflow: hidden;
        min-height: 250px;
    }

    .galery-section .galery-grid {
        display: block;
        position: relative;
        gap: 0;
        margin-bottom: 30px;
    }

    .galery-section .galery-item {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 250px;
        opacity: 0;
        transform: scale(0.85);
        transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
        pointer-events: none;
    }

    .galery-section .galery-item.active {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto;
        z-index: 1;
    }

    .galery-section .galery-item .galery-image-wrapper {
        width: 100%;
        height: 100%;
    }

    .galery-section .galery-item .galery-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .galery-icon svg {
        width: 35px;
        height: 35px;
    }

    /* Carousel Dots */
    .galery-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .carousel-dot.active {
        background: linear-gradient(180deg, #19b356 0%, #1f7045 100%);
        width: 30px;
        border-radius: 5px;
    }

    /* Override for Full Gallery Page - Keep grid layout on mobile */
    .full-galery-section .galery-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .full-galery-section .galery-item {
        position: relative !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        height: auto !important;
    }
}

/* Reset Gallery for Desktop */
@media (min-width: 641px) {
    .galery-carousel-dots {
        display: none;
    }

    .galery-section .galery-carousel-wrapper {
        min-height: auto;
    }

    .galery-section .galery-grid {
        display: grid;
    }

    .galery-section .galery-item {
        position: relative;
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }
}

/* ==========================================================================
   ARTIKEL SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .artikel-grid {
        gap: 25px;
    }

    .artikel-image {
        height: 220px;
    }
}

@media (max-width: 968px) {
    .artikel-section {
        padding: 80px 20px;
    }

    .artikel-header {
        margin-bottom: 50px;
    }

    .artikel-intro {
        font-size: 0.95rem;
    }

    .artikel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }

    .artikel-image {
        height: 200px;
    }

    .artikel-content {
        padding: 24px;
    }

    .artikel-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 640px) {
    .artikel-section {
        padding: 60px 15px;
    }

    .artikel-header {
        margin-bottom: 40px;
    }

    .artikel-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .artikel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .artikel-image {
        height: 220px;
    }

    .artikel-content {
        padding: 20px;
    }

    .artikel-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .artikel-excerpt {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .artikel-category {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .artikel-link {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   TESTIMONI SECTION RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .testimoni-grid {
        gap: 25px;
    }

    .testimoni-card {
        padding: 28px;
    }
}

@media (max-width: 968px) {
    .testimoni-section {
        padding: 80px 20px;
    }

    .testimoni-header {
        margin-bottom: 50px;
    }

    .testimoni-intro {
        font-size: 0.95rem;
    }

    .testimoni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimoni-card {
        padding: 24px;
    }

    .testimoni-text {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .testimoni-section {
        padding: 60px 15px;
    }

    .testimoni-header {
        margin-bottom: 40px;
    }

    .testimoni-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimoni-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimoni-card {
        padding: 24px 20px;
    }

    .testimoni-rating {
        margin-bottom: 16px;
    }

    .testimoni-rating svg {
        width: 18px;
        height: 18px;
    }

    .testimoni-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .testimoni-text::before {
        font-size: 3rem;
        top: -15px;
        left: -8px;
    }

    .testimoni-author {
        padding-top: 20px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .author-event {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   FOOTER RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px;
    }

    .footer-content p {
        font-size: 0.875rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }
}
