:root {
    --bg-primary: #1a1d23;
    --bg-secondary: #242830;
    --bg-card: #2a2f3a;
    --accent-cyan: #00d4ff;
    --accent-blue: #0096d4;
    --text-primary: #ffffff;
    --text-secondary: #b8c1d0;
    --text-muted: #7a8393;
    --border: #3a4050;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(26,29,35,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

/* BIG + CIRCLE LOGO */
.logo-img {
    height: 70px;              /* 👈 كبرناها */
    width: 70px;
    border-radius: 50%;        /* 👈 دائرة */
    object-fit: cover;
    background: #111318;
    padding: 6px;              /* مساحة داخلية */
    box-shadow:
            0 0 0 2px rgba(0,212,255,0.6),
            0 8px 20px rgba(0,0,0,0.4);
}

/* Text */
.logo span {
    font-family: 'Lora', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #eef1f5;
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 52px;
        width: 52px;
    }

    .logo span {
        font-size: 1.1rem;
    }
}


.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a {
    color:var(--text-secondary); text-decoration:none;
    font-weight:500; font-size:0.95rem; transition:color .3s;
    position:relative;
}
.nav-links a::after {
    content:''; position:absolute; bottom:-5px; left:0;
    width:0; height:2px;
    background:var(--accent-cyan); transition:width .3s;
}
.nav-links a:hover { color:var(--accent-cyan); }
.nav-links a:hover::after { width:100%; }
.mobile-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.mobile-toggle span { width:25px; height:3px; background:var(--text-primary); transition:.3s; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding: 6rem 2rem 4rem;
}
.hero-bg {
    position:absolute; top:0; left:0; width:100%; height:100%;
    opacity:.08;
    background:
            linear-gradient(30deg, transparent 47%, var(--accent-blue) 47%, var(--accent-blue) 53%, transparent 53%),
            linear-gradient(150deg, transparent 47%, var(--accent-cyan) 47%, var(--accent-cyan) 53%, transparent 53%);
    background-size:60px 60px;
    animation:heroPattern 20s linear infinite;
}
@keyframes heroPattern { to { transform:translate(60px,60px); } }

.hero-content { max-width:1200px; text-align:center; position:relative; z-index:2; }
.hero-badge {
    display:inline-block; padding:.5rem 1.5rem;
    background:rgba(0,212,255,.1); border:1px solid var(--accent-cyan);
    border-radius:50px; color:var(--accent-cyan);
    font-size:.9rem; font-weight:500; margin-bottom:2rem;
    animation:fadeInUp .8s ease-out;
}
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

.hero h1 {
    font-family:'Lora',serif;
    font-size:clamp(2.5rem,6vw,4.5rem);
    font-weight:700; margin-bottom:1.5rem; line-height:1.2;
    animation:fadeInUp .8s ease-out .2s backwards;
}
.hero h1 span {
    background:linear-gradient(135deg,var(--accent-cyan),var(--accent-blue));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-subtitle {
    font-size:1.25rem; color:var(--text-secondary);
    max-width:800px; margin:0 auto 3rem; line-height:1.8;
    animation:fadeInUp .8s ease-out .4s backwards;
}
.hero-cta {
    display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap;
    animation:fadeInUp .8s ease-out .6s backwards;
}

/* ─── BUTTONS ─── */
.btn {
    padding:1rem 2.5rem; border-radius:8px; font-weight:600; font-size:1rem;
    text-decoration:none; transition:all .3s; cursor:pointer; border:none;
    display:inline-flex; align-items:center; gap:.5rem;
    font-family:'Outfit',sans-serif;
}
.btn-primary {
    background:linear-gradient(135deg,var(--accent-cyan),var(--accent-blue));
    color:var(--bg-primary);
    box-shadow:0 4px 20px rgba(0,212,255,.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 30px rgba(0,212,255,.4); }
.btn-secondary {
    background:transparent; color:var(--text-primary);
    border:2px solid var(--border);
}
.btn-secondary:hover { border-color:var(--accent-cyan); color:var(--accent-cyan); }

/* ─── SECTIONS ─── */
section { padding:6rem 2rem; position:relative; }
.container { max-width:1200px; margin:0 auto; }
.section-header { text-align:center; max-width:700px; margin:0 auto 4rem; }
.section-label {
    color:var(--accent-cyan); font-size:.9rem; font-weight:600;
    text-transform:uppercase; letter-spacing:2px; margin-bottom:1rem;
}
.section-title {
    font-family:'Lora',serif;
    font-size:clamp(2rem,4vw,3rem); font-weight:700;
    margin-bottom:1rem; line-height:1.2;
}
.section-description { color:var(--text-secondary); font-size:1.1rem; line-height:1.8; }

/* ─── SERVICES ─── */
.services { background:var(--bg-secondary); }
.services-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:2rem; margin-top:3rem;
}
.service-card {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:12px; padding:2.5rem;
    transition:all .3s; position:relative; overflow:hidden;
}
.service-card::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:4px;
    background:linear-gradient(90deg,var(--accent-cyan),var(--accent-blue));
    transform:scaleX(0); transition:transform .3s;
}
.service-card:hover { transform:translateY(-5px); border-color:var(--accent-cyan); box-shadow:0 10px 40px rgba(0,212,255,.1); }
.service-card:hover::before { transform:scaleX(1); }
.service-icon {
    width:60px; height:60px;
    background:rgba(0,212,255,.1); border:2px solid var(--accent-cyan);
    border-radius:12px; display:flex; align-items:center; justify-content:center;
    margin-bottom:1.5rem; font-size:1.8rem;
}
.service-card h3 { font-size:1.4rem; font-weight:600; margin-bottom:1rem; }
.service-card p { color:var(--text-secondary); line-height:1.7; }

/* ─── WHY US ─── */
.why-us { background:var(--bg-primary); }
.features-grid {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:2.5rem; margin-top:3rem;
}
.feature { text-align:center; padding:2rem; }
.feature-icon {
    width:80px; height:80px; margin:0 auto 1.5rem;
    background:linear-gradient(135deg,rgba(0,212,255,.1),rgba(0,150,212,.1));
    border:2px solid var(--accent-cyan);
    clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
    display:flex; align-items:center; justify-content:center;
    font-size:2rem;
}
.feature h3 { font-size:1.3rem; margin-bottom:.8rem; font-weight:600; }
.feature p { color:var(--text-secondary); line-height:1.7; }

/* ─── GALLERY ─── */
.gallery { background:var(--bg-secondary); }
.gallery-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:1.5rem; margin-top:3rem;
}
.gallery-item {
    position:relative; aspect-ratio:4/3;
    border-radius:12px; overflow:hidden;
    background:var(--bg-card); border:1px solid var(--border);
    cursor:pointer; transition:transform .3s;
}
/* Make sure images in gallery display correctly */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-item:hover { transform:scale(1.02); }
.gallery-placeholder-box {
    aspect-ratio:4/3; border-radius:12px;
    background:var(--bg-card); border:2px dashed var(--border);
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    color:var(--text-muted); gap:.4rem; height: 100%;
}
.gallery-placeholder-box .ph-icon { font-size:2.2rem; }
.gallery-placeholder-box p { font-size:.88rem; }
.gallery-caption {
    position:absolute; bottom:0; left:0; right:0;
    padding:1.5rem;
    background:linear-gradient(to top,rgba(26,29,35,.95),transparent);
    color:var(--text-primary); font-weight:500;
}

/* ─── CONTACT ─── */
.contact { background:var(--bg-primary); }
.contact-container { display:grid; grid-template-columns:1fr 1fr; gap:4rem; margin-top:3rem; }
.contact-info { display:flex; flex-direction:column; gap:2rem; }
.contact-item {
    display:flex; gap:1.5rem; align-items:flex-start;
    padding:1.5rem; background:var(--bg-secondary);
    border-radius:12px; border:1px solid var(--border);
    transition:all .3s;
}
.contact-item:hover { border-color:var(--accent-cyan); transform:translateX(5px); }
.contact-item-icon {
    width:50px; height:50px;
    background:rgba(0,212,255,.1); border:2px solid var(--accent-cyan);
    border-radius:10px; display:flex; align-items:center; justify-content:center;
    font-size:1.5rem; flex-shrink:0;
}
.contact-item-content h4 {
    color:var(--accent-cyan); font-size:.9rem; font-weight:600;
    text-transform:uppercase; letter-spacing:1px; margin-bottom:.5rem;
}
.contact-item-content p { font-size:1.1rem; line-height:1.6; }
.contact-item-content a { color:var(--text-primary); text-decoration:none; transition:color .3s; }
.contact-item-content a:hover { color:var(--accent-cyan); }

.contact-form {
    background:var(--bg-secondary); padding:3rem;
    border-radius:12px; border:1px solid var(--border);
}
.form-group { margin-bottom:1.5rem; }
.form-group label {
    display:block; color:var(--text-secondary);
    font-weight:500; margin-bottom:.5rem; font-size:.95rem;
}
.form-group input, .form-group textarea {
    width:100%; padding:1rem;
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:8px; color:var(--text-primary);
    font-family:'Outfit',sans-serif; font-size:1rem; transition:all .3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline:none; border-color:var(--accent-cyan);
    box-shadow:0 0 0 3px rgba(0,212,255,.1);
}
.form-group textarea { resize:vertical; min-height:150px; }

/* ─── FOOTER ─── */
footer { background:var(--bg-secondary); border-top:1px solid var(--border); padding:3rem 2rem 1.5rem; }
.footer-content {
    max-width:1200px; margin:0 auto;
    display:grid; grid-template-columns:2fr 1fr 1fr;
    gap:4rem; margin-bottom:3rem;
}
.footer-about h3 { font-family:'Lora',serif; font-size:1.5rem; margin-bottom:1rem; }
.footer-about p { color:var(--text-secondary); line-height:1.7; margin-bottom:1.5rem; }
.footer-links h4 { color:var(--accent-cyan); font-size:1rem; font-weight:600; margin-bottom:1rem; }
.footer-links ul { list-style:none; }
.footer-links ul li { margin-bottom:.8rem; }
.footer-links a { color:var(--text-secondary); text-decoration:none; transition:color .3s; }
.footer-links a:hover { color:var(--accent-cyan); }
.footer-bottom {
    max-width:1200px; margin:0 auto; padding-top:2rem;
    border-top:1px solid var(--border); text-align:center;
    color:var(--text-muted); font-size:.9rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width:968px) {
    .nav-links { display:none; }
    .mobile-toggle { display:flex; }
    .contact-container, .footer-content { grid-template-columns:1fr; gap:2rem; }
    .services-grid, .gallery-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
    .hero-cta { flex-direction:column; }
    .btn { width:100%; justify-content:center; }
    .contact-form { padding:2rem; }
    section { padding:4rem 1.5rem; }
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in { opacity:0; transform:translateY(30px); transition:opacity .6s, transform .6s; }
.fade-in.visible { opacity:1; transform:translateY(0); }
