:root {
    --bg: #f7f3ee;
    --text: #222222;
    --muted: #6f6a63;
    --dark: #151515;
    --dark-2: #24211f;
    --card: #ffffff;
    --gold: #c9a45c;
    --gold-dark: #9a7634;
    --border: rgba(0,0,0,0.09);
    --shadow: 0 18px 55px rgba(0,0,0,0.10);
    --radius: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    padding-top: 86px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(92%, 1220px);
    margin: 0 auto;
}

.main-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 800;
    font-size: 14px;
}

.main-nav a {
    color: #272727;
    transition: 0.25s ease;
}

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

.nav-cta {
    padding: 10px 18px;
    background: var(--dark);
    color: #fff !important;
    border-radius: 999px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn,
.lang-selector {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(201,164,92,0.35), transparent 32%),
        linear-gradient(110deg, rgba(0,0,0,0.88), rgba(0,0,0,0.56), rgba(0,0,0,0.30));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px);
}

.hero-content {
    color: #fff;
    padding: 90px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 68px);
    line-height: 1.22;
    margin-bottom: 22px;
    max-width: 900px;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 21px);
    color: rgba(255,255,255,0.88);
    max-width: 760px;
    margin-bottom: 32px;
}

.hero-buttons,
.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 999px;
    font-weight: 800;
    transition: .25s ease;
    border: 1px solid transparent;
}

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

.btn-primary {
    background: var(--gold);
    color: #191919;
    box-shadow: 0 12px 35px rgba(201,164,92,0.35);
}

.btn-outline {
    border-color: rgba(255,255,255,0.65);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-outline-dark {
    border-color: var(--border);
    background: rgba(255,255,255,.1);
}

.trust-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 42px;
}

.trust-row div {
    min-width: 135px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
}

.trust-row strong {
    display: block;
    font-size: 30px;
    color: var(--gold);
    line-height: 1;
}

.trust-row span {
    color: rgba(255,255,255,0.82);
    font-weight: 700;
}

.section {
    padding: 92px 0;
}

.section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 48px;
}

.section-title h2,
.about-grid h2,
.contact-box h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-title p,
.about-grid p,
.contact-box p {
    color: var(--muted);
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.055);
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(201,164,92,0.18), rgba(201,164,92,0.05));
    font-size: 27px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 21px;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

.projects-section {
    background: #fff;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-gallery figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 290px;
    background: #ddd;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-gallery figure:hover img {
    transform: scale(1.08);
}

.project-gallery figcaption {
    position: absolute;
    inset: auto 14px 14px 14px;
    color: #fff;
    font-weight: 800;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(0,0,0,0.58);
    backdrop-filter: blur(10px);
}

.vr-section {
    background: var(--dark);
    color: #fff;
}

.light-title h2,
.light-title p {
    color: #fff;
}

.vr-tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.vr-tab-btn {
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 11px 22px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.vr-tab-btn.active,
.vr-tab-btn:hover {
    background: var(--gold);
    color: #111;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.kuula-vr-container {
    height: 640px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 22px 65px rgba(0,0,0,0.35);
    background: #000;
}

.kuula-vr-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.check-list {
    margin-top: 22px;
    list-style: none;
}

.check-list li {
    margin-bottom: 12px;
    padding-inline-start: 32px;
    position: relative;
    font-weight: 800;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--gold-dark);
}

.about-card img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.faq-section {
    background: #fff;
}

.faq-grid {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid details {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 22px;
}

.faq-grid summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--dark);
}

.faq-grid p {
    color: var(--muted);
    margin-top: 12px;
}

.contact-section {
    padding-top: 70px;
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    color: #fff;
    padding: 42px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box p {
    color: #fff;
}

.main-footer {
    background: #0e0e0e;
    color: #fff;
    padding: 48px 0 24px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: 28px;
}

.footer-grid h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-grid a {
    color: #fff;
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    margin-top: 22px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(37,211,102,.35);
    z-index: 999;
}

body.dark-mode {
    --bg: #121212;
    --text: #eeeeee;
    --muted: #b9b9b9;
    --card: #1d1d1d;
    --border: rgba(255,255,255,0.12);
}

body.dark-mode .main-header {
    background: rgba(18,18,18,0.92);
}

body.dark-mode .main-nav a,
body.dark-mode .section-title h2,
body.dark-mode .service-card h3,
body.dark-mode .about-grid h2,
body.dark-mode .faq-grid summary {
    color: #fff;
}

body.dark-mode .projects-section,
body.dark-mode .faq-section,
body.dark-mode .icon-btn,
body.dark-mode .lang-selector {
    background: #171717;
    color: #fff;
}

body.dark-mode .faq-grid details {
    background: #1d1d1d;
}

@media (max-width: 980px) {
    body { padding-top: 132px; }
    .header-container { height: auto; padding: 12px 0; flex-wrap: wrap; justify-content: center; }
    .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px; }
    .services-grid, .project-gallery, .about-grid { grid-template-columns: 1fr 1fr; }
    .contact-box, .footer-grid { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    body { padding-top: 156px; }
    .logo img { height: 46px; }
    .main-nav { font-size: 13px; }
    .hero-content { padding: 65px 0; }
    .hero-section { min-height: 720px; }
    .services-grid, .project-gallery, .about-grid { grid-template-columns: 1fr; }
    .section { padding: 68px 0; }
    .kuula-vr-container { height: 430px; }
    .contact-box { padding: 28px 20px; }
    .floating-whatsapp { right: 14px; bottom: 14px; }
}
