/**
 * style.css
 * Island of Gods - International Tattoo Convention
 * Palette: Dark Crimson (#8d2711), Gold (#926820), Bone Canvas (#E6DACF)
 * Typography: Google Fonts - Poppins
 */

/* Import Google Fonts (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Main Color Palette */
    --bg-primary: #E6DACF;         /* Parchment / Bone Canvas background */
    --bg-secondary: #D8C8B8;       /* Slightly darker shade for cards/containers */
    --color-crimson: #8d2711;      /* Deep Tattoo Red / Accent Primary */
    --color-gold: #926820;         /* Muted Gold / Accent Secondary */
    --color-dark: #201911;         /* Deep Charcoal for high-contrast text */
    
    /* Typography Setup */
    --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Base Style Setup */
body {
    background-color: var(--bg-primary);
    color: var(--color-dark);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Global Headings */
h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h1, h2 {
    color: var(--color-crimson);
    font-weight: 800;
}

h3, h4 {
    color: var(--color-gold);
    font-weight: 700;
}

/* Logo Custom Styling */
.nav-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.hero-logo {
    width: 150px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.6));
}

.footer-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.5));
}

/* Button Customizations */
.btn-crimson {
    background-color: var(--color-crimson);
    color: #FFFFFF;
    border: 2px solid var(--color-crimson);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-crimson:hover {
    background-color: transparent;
    color: var(--color-crimson);
}

.btn-gold {
    background-color: var(--color-gold);
    color: #FFFFFF;
    border: 2px solid var(--color-gold);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* Custom Card & Container Styles */
.custom-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Admin Dashboard & Gallery Grid */
.admin-preview-img, .gallery-img {
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Section Separators */
.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 2rem 0;
}

/* Hero Video Background Styles */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(26, 23, 21, 0.75) 0%, 
        rgba(141, 39, 17, 0.65) 50%, 
        rgba(26, 23, 21, 0.9) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--bg-primary) !important;
}

.hero-content h1 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* RESPONSIVE MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
        padding: 3rem 1rem;
    }

    .hero-logo {
        width: 110px;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .hero-content p.h3 {
        font-size: 1.2rem !important;
    }

    .btn-crimson, .btn-gold {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* PENYESUAIAN TEKS RATA TENGAH UNTUK SECTION ABOUT DI MOBILE */
    #about .col-lg-6:first-child {
        text-align: center !important;
    }

    #about .divider-gold {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Optimasi Kartu Festival Experiences di HP */
    #about .custom-card {
        padding: 1.25rem !important;
    }

    #about .custom-card h3 {
        font-size: 1.1rem !important;
    }

    #about .custom-card ul li {
        font-size: 0.875rem;
        gap: 0.75rem !important;
        text-align: left !important; /* Poin deskripsi di dalam kartu tetap rapi rata kiri */
    }

    #about .custom-card ul li i {
        font-size: 1.25rem !important;
        margin-top: 2px;
    }
}