/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: #111827;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* LAYOUT HELPERS */
.container {
    width: min(1120px, 100% - 2rem);
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: #374151;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: #111827;
    color: #ffffff;
}

/* LANGUAGE TOGGLE */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.btn-lang {
    border: none;
    background: transparent;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-lang:hover {
    transform: translateY(-0.5px);
}

.btn-lang.active {
    background: #111827;
    color: #ffffff;
}

/* BILINGUAL TEXT HANDLING */
.lang {
    display: none;
}

body.lang-en .lang.lang-en {
    display: inline;
}

body.lang-ps .lang.lang-ps {
    display: inline;
}

/* HERO WITH VIDEO */
.hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.3),
        rgba(15, 23, 42, 0.7)
    );
}

.hero-text {
    position: relative;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 640px;
}

.hero-text h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-text p {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
}

/* Sound toggle button */
.sound-toggle {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BUTTON */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: #16a34a;
    color: #ffffff;
}

.btn.primary:hover {
    background: #15803d;
}

/* SECTIONS */
.section {
    padding: 3.5rem 0;
}

.section-light {
    background: #f9fafb;
}

.section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
}

/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.service-box {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.service-box h3 {
    margin-bottom: 0.6rem;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.gallery-grid img {
    border-radius: 0.75rem;
    height: 220px;
    object-fit: cover;
}

/* CONTACT GRID + MAP */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.contact-details p {
    margin-bottom: 1rem;
}

/* Circle Social Buttons */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
    font-size: 1.2rem;
    font-weight: bold;
}

.social-btn.wa {
    background: #25D366; /* WhatsApp green */
}

.social-btn.fb {
    background: #1877F2; /* Facebook blue */
}

.social-text {
    display: none; /* hide label, keep icon only */
}

/* MAP CARD */
.map-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

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

.map-frame {
    border-radius: 0.9rem;
    overflow: hidden;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

/* FLOATING CALL BUTTON */
.call-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 70;
}

.call-main-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #16a34a;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #ffffff;
    border-radius: 0.85rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    padding: 0.6rem 0.75rem;
    min-width: 210px;
    display: none;
}

.call-menu.open {
    display: block;
}

.call-menu a {
    display: block;
    padding: 0.45rem 0.3rem;
    border-radius: 0.6rem;
    color: #111827;
    font-size: 0.9rem;
}

.call-menu a:hover {
    background: #ecfdf3;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0 1.4rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero {
        height: 60vh;
        min-height: 360px;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .lang-toggle {
        margin-top: 0.25rem;
    }

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

    .map-frame iframe {
        height: 240px;
    }
}
