/* Laponlo Luxury Theme - Purple & Gold */
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette */
    --color-bg-deep: #240046;
    --color-bg-vibrant: #3c096c;
    --color-bg-primary: #5a189a;

    --color-gold-bright: #FFD700;
    --color-gold-dark: #FFA500;
    --color-gold-shadow: #B8860B;

    --color-text-light: #E0AAFF;
    --color-text-white: #FFFFFF;

    --glass-bg: rgba(60, 9, 108, 0.4);
    --glass-border: rgba(255, 215, 0, 0.3);
    --glass-blur: blur(12px);

    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-purple: 0 0 30px rgba(123, 44, 191, 0.6);

    /* Fonts */
    --font-script: 'Lobster', cursive;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at center, #7b2cbf 0%, #3c096c 60%, #10002b 100%);
    font-family: var(--font-body);
    color: var(--color-text-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3D Text Effect - The "Laponlo" Style */
.laponlo-title {
    font-family: var(--font-script);
    font-size: min(15vw, 180px);
    /* Responsive but massive */
    color: var(--color-gold-bright);
    text-align: center;
    line-height: 1.1;
    transform: rotate(-5deg);
    /* Slight tilt like the image */
    text-shadow:
        0px 2px 0px var(--color-gold-dark),
        0px 4px 0px var(--color-gold-dark),
        0px 6px 0px var(--color-gold-dark),
        0px 8px 0px var(--color-gold-shadow),
        0px 10px 0px var(--color-gold-shadow),
        0px 12px 0px var(--color-gold-shadow),
        0px 14px 10px rgba(0, 0, 0, 0.4),
        0px 24px 20px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    animation: floatTitle 6s ease-in-out infinite;
    pointer-events: none;
    /* Just visual */
}

@keyframes floatTitle {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateY(-20px);
    }
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(16, 0, 43, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.logo-text,
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    /* Reduced since header is usually around 80-100px */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-gold-bright);
    text-shadow: 2px 2px 0px var(--color-gold-shadow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-bright);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--color-gold-bright);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-top: -1rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Glass Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: var(--glass-blur);
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(90, 24, 154, 0.5);
    border-color: var(--color-gold-bright);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--glow-gold);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-gold-bright);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.glass-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.glass-card p {
    color: var(--color-text-light);
    text-align: center;
    font-size: 1rem;
}

/* CTA Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-dark));
    color: var(--color-bg-deep);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

/* Services Section */
.section {
    padding: 5rem 2rem;
}

.section-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--color-gold-bright);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 4px 4px 0px var(--color-bg-deep);
}

/* Footer */
.footer {
    background: #10002b;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

.footer-logo {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-gold-bright);
    margin-bottom: 1rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .laponlo-title {
        font-size: 18vw;
    }

    .main-header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: flex !important;
        cursor: pointer;
        z-index: 1001;
        width: 45px;
        height: 45px;
        background: rgba(36, 0, 70, 0.8);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 215, 0, 0.3);
        border-radius: 12px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
    }

    .burger-menu:hover {
        border-color: var(--color-gold-bright);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    }

    .burger-line {
        width: 24px;
        height: 3px;
        background: var(--color-gold-bright);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .glass-card {
        padding: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .partners-slider {
        gap: 1.5rem;
    }

    .partner-logo {
        min-width: 140px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .laponlo-title {
        font-size: 16vw;
    }

    .main-header {
        padding: 0.75rem;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .btn-gold {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    #navOverlay .nav-link {
        font-size: 1.6rem;
    }

    .partner-logo {
        min-width: 120px;
        height: 70px;
        padding: 0.75rem;
    }
}

/* Mobile Menu Overlay - Matches main.js expectations */
#navOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(36, 0, 70, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#navOverlay.active {
    display: flex;
    opacity: 1;
}

#navOverlay .nav-menu {
    text-align: center;
}

#navOverlay .nav-list {
    list-style: none;
}

#navOverlay .nav-item {
    margin: 1.5rem 0;
}

#navOverlay .nav-link {
    font-size: 2rem;
    color: var(--color-gold-bright);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    transition: all 0.3s;
}

#navOverlay .nav-link:hover {
    text-shadow: 0 0 20px var(--color-gold-bright);
    letter-spacing: 2px;
}

/* Partners Section */
.partners-section {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.partners-slider-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-slider {
    display: flex;
    gap: 3rem;
    animation: scroll 25s linear infinite;
    padding: 1rem 0;
}

.partners-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    min-width: 180px;
    height: 100px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--color-gold-bright);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s, transform 0.3s;
}

.partner-logo:hover img {
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    transform: scale(1.05);
}