:root {
    /* Premium Dark Theme (Default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;
    --text-primary: #ffffff;
    /* Pure white text */
    --text-secondary: #b0b0b0;
    --accent-gold: #FFD700;
    /* More vibrant gold */
    --accent-gold-hover: #FFEA00;
    --border-color: rgba(255, 215, 0, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.1);
    /* "More white" frosty glass effect */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

span.highlight {
    color: var(--accent-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-gold);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-primary);
    /* Fallback */
}

/* Parallax Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    /* Extra height for translation */
    /* Using a placeholder gradient or plain color until image is provided */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), #111;
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    /* Ideally we insert the image url here */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    /* Always white on hero */
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.btn-whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-viber {
    color: #7360f2;
    border-color: #7360f2;
}

.btn-viber:hover {
    background: #7360f2;
    color: #fff;
    border-color: #7360f2;
}

/* Sections General */
section {
    padding: 6rem 0;
}

section.bg-alt {
    background-color: var(--bg-secondary);
}

/* Features/Services */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Placeholder for About Image */
.about-img-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.check-list li i {
    color: var(--accent-gold);
    margin-right: 1rem;
}

/* Call to Action Bar */
.cta-bar {
    background: linear-gradient(90deg, #000, #111);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-bar h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    display: block;
    left: auto;
    transform: none;
}

.cta-bar h2::after {
    display: none;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-right: 1.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.qr-wrapper {
    margin-top: 1rem;
}

.qr-code {
    width: 150px;
    height: 150px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    background: var(--bg-secondary);
    transition: var(--transition);
}

.qr-code:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Icon Vibration on Interaction */
@keyframes vibrate {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0);
    }
}

i:hover,
.card:hover i,
.contact-info-item:hover i,
.btn:hover i {
    animation: vibrate 0.4s ease-in-out;
}

/* Footer */
footer {
    background: #050505;
    padding: 4rem 0 1rem;
    color: #b0b0b0;
    /* Brightened from #888 */
    font-size: 0.9rem;
}

.footer-col .logo {
    color: #ffffff;
    /* Explicitly white in footer */
}

/* Mobile Scroll Gradient Effect for Services */
@media (max-width: 768px) {
    #services {
        background: linear-gradient(180deg, var(--bg-primary), #1a1a1a, var(--bg-primary));
        background-size: 400% 400%;
        animation: gradientScroll 10s ease infinite;
    }

    @keyframes gradientScroll {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Make cards slightly transparent on mobile to show gradient */
    #services .card {
        background: rgba(31, 31, 31, 0.8);
        backdrop-filter: blur(5px);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Mobile Language Menu in Nav - Hidden on Desktop */
.mobile-lang-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-lang-menu {
        display: block;
        margin-bottom: 2rem;
    }

    .mobile-lang-menu .lang-switch {
        justify-content: center;
        gap: 1.5rem;
    }

    .mobile-lang-menu .lang-btn {
        font-size: 2rem;
        /* Larger flags */
        margin: 0 0.5rem;
    }
}

/* Location Form */
.location-form-wrapper {
    margin-top: 3rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.location-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.location-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.location-form-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.location-form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.location-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.location-form .form-group {
    margin-bottom: 1.25rem;
}

.location-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-form input,
.location-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.location-form input:focus,
.location-form textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.location-form input::placeholder,
.location-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.locate-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.loc-map-preview {
    border-radius: 10px;
    overflow: hidden;
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.loc-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 160px;
    color: var(--text-secondary);
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.loc-map-placeholder i {
    font-size: 2rem;
    opacity: 0.4;
}

.loc-map-placeholder span {
    font-size: 0.85rem;
    opacity: 0.6;
}

.loc-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 160px;
    border: 0;
    border-radius: 10px;
}

.locate-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.loc-coords-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
}

.loc-coords-text.success {
    color: #4ade80;
}

.btn-locate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-locate:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

.btn-locate.locating {
    pointer-events: none;
    opacity: 0.7;
}

.btn-locate.locating i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.btn-locate.located {
    border-color: #4ade80;
    color: #4ade80;
    animation: pulseGreen 2s ease infinite;
}

.btn-send-loc {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    padding: 1rem;
    gap: 0.5rem;
}

.btn-send-loc:disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(100%);
}

.btn-send-loc i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .location-form-wrapper {
        padding: 1.5rem;
    }

    .location-form .form-row {
        grid-template-columns: 1fr;
    }

    .locate-area {
        grid-template-columns: 1fr;
    }

    .loc-map-preview {
        min-height: 180px;
    }

    .loc-map-iframe {
        min-height: 180px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

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

    .menu-toggle {
        display: block;
        margin-right: 1rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
    }

    .hero-bg {
        background-size: auto 160%;
        /* Zooms in significantly on mobile */
        background-position: center bottom;
        /* Keeps the door and floor visible, crops the head */
    }
}