/* Premium Dark Theme Variables */
:root {
    --primary: #d4af37;
    --primary-dark: #b88c10;
    --secondary: #9ca3af;
    --bg-main: #07090f;
    --bg-darker: #03040a;
    --bg-card: rgba(17, 24, 39, 0.72);
    --text-white: #f8fafc;
    --text-muted: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.py-lg { padding: 100px 0; }
.text-center { text-align: center; }
.highlight { color: var(--primary); position: relative; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.35);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-link {
    color: var(--text-white);
    padding: 0;
}

.btn-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.brand-name {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
}

/* Hero Split */
.hero-split {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.tagline {
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-info h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-mini-slider {
    width: 100%;
    max-width: 560px;
    height: 140px;
    margin: 18px 0 18px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(17, 24, 39, 0.5);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.hero-mini-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 4, 10, 0.5), rgba(3, 4, 10, 0.1));
    pointer-events: none;
}

.hero-mini-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    animation: heroMiniSlides 20s infinite;
}

.hero-mini-slider img:nth-child(1) { animation-delay: 0s; }
.hero-mini-slider img:nth-child(2) { animation-delay: 4s; }
.hero-mini-slider img:nth-child(3) { animation-delay: 8s; }
.hero-mini-slider img:nth-child(4) { animation-delay: 12s; }
.hero-mini-slider img:nth-child(5) { animation-delay: 16s; }

@keyframes heroMiniSlides {
    0% { opacity: 0; transform: scale(1.03); }
    6% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; transform: scale(1); }
    26% { opacity: 0; transform: scale(1.01); }
    100% { opacity: 0; transform: scale(1.03); }
}

.hero-info p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-visual .visual-wrapper {
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.floating-card {
    position: absolute;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.experience-card {
    bottom: -30px;
    right: -30px;
}

.experience-card .count {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.satisfaction-card {
    top: 40px;
    left: -40px;
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Services Modern */
.section-badge {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-box:hover .service-img img {
    transform: scale(1.1);
}

.service-body {
    padding: 30px;
    position: relative;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: -30px;
    right: 30px;
    border: 4px solid var(--bg-main);
}

.service-body h3 {
    margin-top: 15px;
    margin-bottom: 12px;
    font-size: 22px;
}

.service-body p {
    color: var(--text-muted);
}

/* Why Us */
.bg-darker { background-color: var(--bg-darker); }

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.why-features {
    margin-top: 40px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-info p {
    color: var(--text-muted);
}

/* Gallery Tabs */
.tabs-container {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.35);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.gallery-card-img {
    height: 220px;
    overflow: hidden;
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.1);
}

.gallery-card-body {
    padding: 20px;
}

.gallery-card-body h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.gallery-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .tab-content.active {
        grid-template-columns: 1fr;
    }
}

/* Contact Modern */
.contact-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(17, 24, 39, 0.4));
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.contact-card-info {
    padding: 60px;
    background: var(--primary);
    color: white;
}

.contact-card-info .highlight { color: var(--bg-main); }

.contact-methods {
    margin-top: 40px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.contact-card-form {
    padding: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full { width: 100%; margin-top: 20px; }

/* Footer */
.main-footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 400px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
    border-bottom-color: rgba(212, 175, 55, 0.7);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 20px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
}

/* WhatsApp sticky */
.call-sticky {
    position: fixed;
    bottom: 104px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #0b0d14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 34px rgba(212, 175, 55, 0.35);
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.call-sticky:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary-dark);
    color: #0b0d14;
}

.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-sticky:hover {
    transform: scale(1.1) rotate(10deg);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 10, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}

.image-lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    width: min(1100px, 100%);
    max-height: 92vh;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(3, 4, 10, 0.45);
    color: var(--text-white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-close:hover {
    transform: scale(1.04);
    border-color: rgba(212, 175, 55, 0.55);
}

.lightbox-img {
    width: 100%;
    height: min(78vh, 760px);
    object-fit: contain;
    display: block;
    background: rgba(3, 4, 10, 0.35);
}

.lightbox-caption {
    padding: 14px 18px 18px;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-info h1 { font-size: 48px; }
    .hero-mini-slider { max-width: 100%; height: 160px; }
    .hero-container, .why-container, .contact-card { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
    .hero-info h1 { font-size: 36px; }
    .hero-mini-slider { height: 130px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.wide { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
