/* Modern Styles for Vi.Sound */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2e2a63;
    /* Indigo 900 */
    --primary-light: #4f46e5;
    /* Indigo 600 */
    --primary-dark: #020617;
    /* Slate 950 */
    --accent-color: #6366f1;
    /* Indigo 500 */
    --text-color: #ffffff;
    /* Forced White Text Globally */
    --bg-light: #0f172a;
    /* Dark background for previously light areas */
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Darker shadows */
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border-radius: 16px;
}

body {
    font-family: 'Prompt', 'Roboto', sans-serif !important;
    color: var(--white) !important;
    background-color: var(--primary-dark) !important;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-attachment: fixed;
    /* Parallax-like fixed background */
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    /* Force all headings to white */
}

/* Header & Navigation - Formal */
header {
    background: rgba(15, 23, 42, 0.95) !important; /* Slate 950 with transparency */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 0 !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo span {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.main-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.main-nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.main-nav-link.active {
    background: var(--accent-color);
    color: var(--white) !important;
}

.header-cta {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.header-cta:hover {
    background: transparent;
    color: var(--accent-color) !important;
}

/* Section Improvements */
.u-section-1,
.u-section-2,
.u-section-3 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.u-sheet {
    max-width: 1200px !important;
}

/* Cards & Items */
.u-gallery-item,
.item-card,
.section-card {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

.u-gallery-item:hover,
.item-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-medium) !important;
}

/* Buttons */
.btn,
.u-btn {
    font-family: 'Prompt', sans-serif !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

.btn-primary,
.u-button-style.u-palette-1-base {
    background-color: var(--primary-color) !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(26, 35, 126, 0.2) !important;
}

.btn-primary:hover,
.u-button-style.u-palette-1-base:hover {
    background-color: var(--primary-light) !important;
    box-shadow: 0 6px 12px rgba(26, 35, 126, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Image improvements */
img {
    border-radius: 4px;
}

.u-back-image {
    transition: transform 0.5s ease !important;
}

.u-gallery-item:hover .u-back-image {
    transform: scale(1.08) !important;
}

/* Footer - Multi-column Formal */
footer {
    background: #020617 !important; /* Slate 950 */
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 70px 0 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 {
    color: var(--white) !important;
    font-size: 1.1rem;
    margin-bottom: 25px !important;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 25px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .header-cta {
        display: none; /* Hide CTA on mobile header to keep it clean */
    }
}

/* Admin Specific */
.admin-badge {
    background: var(--accent-color) !important;
    color: var(--primary-dark) !important;
    font-weight: 700;
}

/* Fancybox Overrides */
.fancybox__container {
    --fancybox-bg: rgba(10, 10, 30, 0.95);
}

/* Nicepage Color Mapping Overrides */
/* Nicepage Color Mapping Overrides - Forced Dark Mode */
.u-palette-1-base,
.u-body.u-palette-1-base,
.u-section-1,
.u-section-2,
.u-sheet {
    background-color: transparent !important;
    /* Let the body gradient show through */
    color: var(--white) !important;
}

.u-palette-1-dark-1 {
    background-color: rgba(0, 0, 0, 0.3) !important;
    /* Darken slightly instead of solid color */
    color: var(--white) !important;
}

.u-text-palette-1-base {
    color: var(--accent-color) !important;
    /* Make sure text pops */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.u-section-1,
.u-section-2,
.u-section-3,
.u-section-4 {
    animation: fadeInUp 0.8s ease-out both;
}


/* Modern Hero Section */
.modern-hero {
    position: relative;
    height: 90vh;
    /* Almost full screen */
    min-height: 600px;
    background-image: url("images/assets/hero_stage.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.modern-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient for better contrast */
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    padding: 20px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    /* Subtle vignette behind text */
    border-radius: 30px;
}

.modern-title {
    font-size: 5rem !important;
    font-weight: 700 !important;
    letter-spacing: -2px;
    margin-bottom: 20px !important;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.modern-subtitle {
    font-size: 2rem !important;
    font-weight: 400 !important;
    /* Increased weight */
    margin-bottom: 30px !important;
    color: #ffffff !important;
    /* Pure white */
    line-height: 1.5 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    /* Added shadow */
}

.modern-description {
    font-size: 1.3rem !important;
    /* Slightly larger */
    font-weight: 400 !important;
    margin-bottom: 40px !important;
    color: #f0f2f5 !important;
    /* Brighter white-grey */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    /* Added shadow */
}

.modern-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


.modern-btn {
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: none !important;
    /* Remove text shadow for cleaner look on buttons */
}

/* Specific styling for the primary button in Hero to pop against dark background */
.modern-hero .btn-primary {
    background-color: var(--accent-color) !important;
    /* Brighter Indigo */
    color: var(--white) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4) !important;
    /* Glow effect */
    border: 2px solid var(--accent-color) !important;
}

.modern-hero .btn-primary:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    border-color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--white) !important;
}

.btn-outline:hover {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border-color: var(--white) !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .modern-title {
        font-size: 3.5rem !important;
    }

    .modern-subtitle {
        font-size: 1.6rem !important;
    }

    .u-layout-row {
        flex-direction: column !important;
    }

    .u-layout-cell {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .modern-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px;
    }

    .modern-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.6 !important;
    }

    .modern-description {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    .modern-hero {
        height: auto;
        min-height: 100vh;
        /* Full viewport on mobile */
        padding: 120px 20px 60px;
        /* More top padding for nav */
    }

    .modern-hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .modern-btn {
        width: 100%;
    }
}

/* Fix text readability on light backgrounds */
p,
.u-text {
    color: var(--text-color);
}

.u-palette-1-base p,
.u-palette-1-base h1,
.u-palette-1-base h2,
.u-palette-1-base h3,
.u-palette-1-base h4,
.u-palette-1-base h5,
.u-palette-1-base h6,
.u-palette-1-base .u-svg-link,
footer p,
footer h3,
footer a {
    color: var(--white) !important;
}

/* Ensure darker text for cards/white backgrounds */
.item-card h4,
.item-card p {
    color: var(--primary-dark) !important;
}

.item-card p {
    opacity: 0.8;
}


/* Service Section Improvements - Dark Mode */
.service-container {
    padding: 80px 20px;
    background-color: transparent;
    /* Transparent to show body gradient */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    /* Reduced max-width for better distinct 2-col look */
    margin: 0 auto;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glassy dark card */
    backdrop-filter: blur(10px);
    padding: 40px 35px;
    /* Slightly more padding */
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card h3 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
    color: var(--primary-color);
}

.service-card.highlight h3,
.service-card.highlight p,
.service-card.highlight li {
    color: var(--white) !important;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
}

.service-card.highlight .service-list li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Grid */
@media (max-width: 991px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }
}

.service-card.highlight .btn-primary {
    background-color: var(--accent-color) !important;
    border: none !important;
    color: var(--white) !important;
}

.service-card.highlight .btn-outline {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.service-card.highlight .btn-outline:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
}

.slideshow-container img {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}