/* 
   Premium Islamic CSS Stylesheet - campsholawat.com
   Theme: Luxury Black Gold Islamic Style (85% Black Matte, Emerald Green, Gold Highlights)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --hitam-matte: #0B0B0B;
    --hijau-emerald: #0F3D2E;
    --gold-premium: #D4AF37;
    --gold-highlight: #F4D03F;
    --putih-gading: #F8F6F0;
    --glass-bg: rgba(11, 11, 11, 0.75);
    --glass-border: rgba(212, 175, 55, 0.25);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

body.luxury-islamic {
    background-color: var(--hitam-matte);
    color: var(--putih-gading);
    font-family: var(--font-body);
    background-image: radial-gradient(circle at 50% 50%, rgba(15, 61, 46, 0.15) 0%, transparent 80%), 
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0 L60 30 L30 60 L0 30 Z" fill="none" stroke="rgba(212, 175, 55, 0.03)" stroke-width="1"/></svg>');
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    border-color: var(--gold-premium);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

/* Titles and Headers */
.premium-title {
    font-family: var(--font-heading);
    color: var(--gold-premium);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    text-transform: capitalize;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.premium-title::after {
    content: "❖";
    display: block;
    color: var(--gold-highlight);
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 0 0 10px var(--gold-premium);
}

.premium-subtitle {
    text-align: center;
    color: var(--putih-gading);
    opacity: 0.8;
    max-width: 600px;
    margin: -15px auto 40px auto;
    font-size: 1.1rem;
}

/* 1. Popup Banner */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.popup-content {
    background: var(--hitam-matte);
    border: 2px solid var(--gold-premium);
    border-radius: 16px;
    max-width: 650px;
    width: 95vw;
    position: relative;
    box-shadow: 0 10px 40px rgba(214, 175, 55, 0.3);
    transform: scale(0.8);
    transition: transform 0.4s ease;
    overflow: hidden;
}
.popup-overlay.show .popup-content {
    transform: scale(1);
}
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold-premium);
    color: var(--gold-premium);
    font-size: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}
.popup-close:hover {
    background: var(--gold-premium);
    color: var(--hitam-matte);
    box-shadow: 0 0 10px var(--gold-highlight);
}
.popup-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. Menu Navigasi Premium */
.premium-nav-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-premium);
    padding: 12px 0;
    text-align: center;
    z-index: 100;
}
.premium-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.premium-nav-item {
    color: var(--putih-gading);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.premium-nav-item i {
    color: var(--gold-premium);
    transition: transform 0.3s ease;
}
.premium-nav-item:hover {
    background: rgba(15, 61, 46, 0.6);
    border-color: var(--gold-premium);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    color: var(--gold-highlight);
}
.premium-nav-item:hover i {
    transform: scale(1.2);
}

/* 3. Banner Slider */
.premium-slider-section {
    position: relative;
    max-width: 1170px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--gold-premium);
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}
.premium-slider-container {
    position: relative;
    height: 450px;
    width: 100%;
}
@media (max-width: 768px) {
    .premium-slider-container {
        height: 250px;
    }
}
.premium-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.premium-slide.active {
    opacity: 1;
    z-index: 2;
}
.premium-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--gold-premium);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: var(--gold-premium);
    box-shadow: 0 0 8px var(--gold-highlight);
}

/* 4. Visi & Tujuan */
.visi-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
}
.visi-card {
    border-left: 5px solid var(--gold-premium);
    border-right: 5px solid var(--gold-premium);
    background-image: linear-gradient(135deg, rgba(15, 61, 46, 0.25) 0%, rgba(11, 11, 11, 0.8) 100%);
}
.visi-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
    border-radius: 8px;
}
.visi-content {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* 5. Dua Kolom Informasi */
.info-columns-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .info-columns-section {
        grid-template-columns: 1fr;
    }
}
.info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.info-card h3 {
    font-family: var(--font-heading);
    color: var(--gold-premium);
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.info-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-whatsapp {
    background: var(--hijau-emerald);
    color: var(--putih-gading);
    border: 2px solid var(--gold-premium);
    box-shadow: 0 0 15px rgba(15, 61, 46, 0.4);
}
.btn-whatsapp:hover {
    background: var(--gold-premium);
    color: var(--hitam-matte);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

/* 6. Motivasi Sholawat Video */
.video-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
.video-card {
    background: rgba(15, 61, 46, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-premium);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}
.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}
.video-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.play-btn-overlay i {
    color: var(--gold-premium);
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}
.video-card:hover .play-btn-overlay {
    background: rgba(0,0,0,0.1);
}
.video-card:hover .play-btn-overlay i {
    transform: scale(1.15);
    color: var(--gold-highlight);
}
.video-info {
    padding: 15px;
}
.video-info h4 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--putih-gading);
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 7. Testimoni */
.testi-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 992px) {
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}
.testi-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testi-card:hover {
    border-color: var(--gold-premium);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}
.testi-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--gold-premium);
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--hijau-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
.testi-avatar svg {
    width: 60px;
    height: 60px;
    fill: var(--gold-premium);
}
.testi-stars {
    color: var(--gold-highlight);
    margin-bottom: 12px;
}
.testi-content {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--putih-gading);
    opacity: 0.9;
    margin-bottom: 15px;
    flex-grow: 1;
}
.testi-meta {
    font-weight: 700;
    color: var(--gold-premium);
    font-size: 0.9rem;
}
.testi-meta span {
    font-weight: 400;
    color: var(--putih-gading);
    opacity: 0.6;
}

/* 8. Artikel */
.artikel-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
}
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 1200px) {
    .artikel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .artikel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .artikel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .artikel-grid {
        grid-template-columns: 1fr;
    }
}
.artikel-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.artikel-card:hover {
    border-color: var(--gold-premium);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}
.artikel-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}
.artikel-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.artikel-info h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}
.artikel-info h4 a {
    color: var(--putih-gading);
    text-decoration: none;
    transition: color 0.2s ease;
}
.artikel-info h4 a:hover {
    color: var(--gold-highlight);
}

/* 9. Social Media */
.social-section {
    max-width: 1170px;
    margin: 60px auto;
    padding: 0 15px;
    text-align: center;
}
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}
.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--gold-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-premium);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.social-btn:hover {
    background: var(--gold-premium);
    color: var(--hitam-matte);
    box-shadow: 0 0 20px var(--gold-highlight);
    transform: translateY(-5px) scale(1.1);
}

/* 10. Footer & 11. Copyright */
.premium-footer {
    background: #050505;
    border-top: 2px solid var(--gold-premium);
    padding: 60px 0 30px 0;
    color: var(--putih-gading);
}
.footer-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.footer-left h3 {
    font-family: var(--font-heading);
    color: var(--gold-premium);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.footer-left p.address {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.8;
}
.footer-right h4 {
    font-family: var(--font-heading);
    color: var(--gold-premium);
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.footer-wa-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}
.btn-wa-admin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--hijau-emerald);
    color: var(--putih-gading);
    border: 1px solid var(--gold-premium);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-wa-admin:hover {
    background: var(--gold-premium);
    color: var(--hitam-matte);
    box-shadow: 0 0 15px var(--gold-highlight);
    transform: translateX(5px);
}
.copyright-section {
    max-width: 1170px;
    margin: 40px auto 0 auto;
    padding: 20px 15px 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}
.copyright-section a {
    color: var(--gold-premium);
    text-decoration: none;
    font-weight: 600;
}
.copyright-section a:hover {
    color: var(--gold-highlight);
    text-decoration: underline;
}

/* Base modifications for the site layout in Dark Mode */
body.luxury-islamic #page {
    background: transparent;
}
body.luxury-islamic #masthead {
    background: var(--hitam-matte);
    border-bottom: 1px solid var(--gold-premium);
}
body.luxury-islamic .site-branding .site-title a {
    color: var(--gold-premium) !important;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
body.luxury-islamic .site-branding .site-description {
    color: var(--putih-gading) !important;
    opacity: 0.8;
}
body.luxury-islamic #site-navigation {
    background: transparent;
}
body.luxury-islamic .top-header {
    background: rgba(15, 61, 46, 0.3) !important;
    border-bottom: 1px solid var(--gold-premium) !important;
}
body.luxury-islamic .top-header span,
body.luxury-islamic .top-header a {
    color: var(--gold-highlight) !important;
}
body.luxury-islamic .site-footer {
    display: none !important; /* Hide default theme footer */
}
