/* ================= CSS VARIABLES ================= */
:root {
    --bg: #050505;
    --surface: rgba(20, 20, 25, 0.6);
    --surface-hover: rgba(30, 30, 35, 0.8);
    --primary: #8b5cf6;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(139, 92, 246, 0.4);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* ================= RESET & BASE ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
h1, h2, h3, h4, .logo { font-family: 'Outfit', sans-serif; }

/* ================= UFO ANIMATION ================= */
.ufo-wrapper {
    position: fixed; top: 15%; left: 100vw; width: 600px; height: 600px; z-index: -2; pointer-events: none;
    animation: flyAcross 35s linear infinite; 
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.ufo-image { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; }
.ufo-wrapper::before {
    content: ''; position: absolute; top: 30%; left: 50%; transform: translateX(-50%); width: 60%; height: 20%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.6) 0%, transparent 70%);
    filter: blur(20px); z-index: -1;
}
.ufo-light-beam {
    position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%); width: 60%; height: 20%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.6) 0%, transparent 70%);
    filter: blur(20px); z-index: -1; animation: beamPulse 3s infinite alternate;
}
@keyframes flyAcross { 0% { left: 100vw; } 100% { left: -600px; } }
@keyframes beamPulse { 0% { opacity: 0.3; transform: translateX(-50%) scaleY(0.8); } 100% { opacity: 0.8; transform: translateX(-50%) scaleY(1.2); } }

/* ================= CANVAS ================= */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -3; opacity: 0.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }

/* ================= GLASSMORPHISM ================= */
.glass { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 20px; }

/* ================= NAVBAR ================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; background: rgba(25, 15, 45, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(139, 92, 246, 0.2); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 80px; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); text-shadow: var(--glow); }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: all 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; box-shadow: var(--glow); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 15px; align-items: center; }
.icon-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: all 0.3s; position: relative; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--primary); box-shadow: var(--glow); border-color: var(--primary); transform: scale(1.05); }
.cart-count { position: absolute; top: -5px; right: -5px; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; min-width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(244, 63, 94, 0.5); }
.menu-toggle { display: none; }

/* ================= HERO ================= */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; padding: 8px 16px; border-radius: 50px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.hero-text h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(to right, var(--primary), var(--secondary)); background-clip: text; color: transparent; }
.hero-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; max-width: 500px; }
.btn { padding: 16px 32px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; justify-content: center; }
.btn-primary { background: var(--primary); color: white; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* 3D Code Card */
.code-wrapper { perspective: 1000px; }
.code-card { background: #0d0d12; border-radius: 20px; padding: 30px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05); transform: rotateY(-10deg) rotateX(5deg); transition: transform 0.5s ease; position: relative; }
.code-card:hover { transform: rotateY(0deg) rotateX(0deg); }
.code-card::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent)); z-index: -1; border-radius: 22px; opacity: 0.3; filter: blur(10px); transition: opacity 0.5s; }
.code-card:hover::before { opacity: 0.6; }
.code-dots { display: flex; gap: 8px; margin-bottom: 20px; }
.code-dots span { width: 12px; height: 12px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }
.code-card pre { color: #e2e8f0; font-family: 'Courier New', monospace; font-size: 1rem; line-height: 1.8; overflow-x: auto; }
.kw { color: #c084fc; } .str { color: #2dd4bf; } .fn { color: #60a5fa; }

/* ================= SECTIONS ================= */
.section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* ================= ABOUT ME ================= */
.about-section { position: relative; overflow: hidden; }
.about-bento { display: grid; grid-template-columns: 1.1fr 1.6fr; grid-template-rows: auto auto; gap: 24px; align-items: stretch; }
.about-photo-card { grid-row: 1 / 3; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 24px; backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 20px; }

/* --- MODERN SQUARE PHOTO (تصغير الصورة وتوسيطها) --- */
.photo-frame {
    width: 220px; /* عرض ثابت */
    height: 220px; /* ارتفاع ثابت */
    margin: 0 auto; /* توسيط أفقي */
    border-radius: 20px; /* زوايا دائرية */
    border: 2px solid rgba(139, 92, 246, 0.4); /* إطار بنفسجي */
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-frame:hover { border-color: rgba(6, 182, 212, 0.8); box-shadow: 0 0 35px rgba(6, 182, 212, 0.5); transform: translateY(-5px) scale(1.05); }
.photo-frame:hover img { transform: scale(1.08); }

.about-photo-card:hover { transform: perspective(1000px) rotateY(5deg) rotateX(2deg); box-shadow: -10px 10px 30px rgba(139, 92, 246, 0.15); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 50px; color: #10b981; font-size: 0.85rem; font-weight: 600; align-self: flex-start; }
.status-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.photo-info { text-align: center; }
.photo-info h3 { font-size: 1.4rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); background-clip: text; color: transparent; }
.photo-info span { color: var(--text-muted); font-size: 0.9rem; }
.photo-divider { height: 1px; background: var(--border); margin: 10px 0; }

.about-text-card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 36px; backdrop-filter: blur(20px); }
.about-text-card h2 { font-size: 2.6rem; font-weight: 900; margin-bottom: 20px; }
.about-text-card p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.tech-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.tech-tag { padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); display: inline-flex; align-items: center; gap: 8px; }
.tech-tag i { color: var(--primary); }
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.about-stats-card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 32px 36px; backdrop-filter: blur(20px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-item .stat-icon { font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; }
.stat-item h3 { font-size: 2.2rem; font-weight: 900; margin-bottom: 4px; }
.stat-item h3 span { color: var(--primary); }
.stat-item p { color: var(--text-muted); font-size: 0.85rem; }

/* ================= PROJECTS & STORE ================= */
.filter-bar { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--surface); border-color: var(--primary); color: var(--text); box-shadow: var(--glow); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.project-card { background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; display: flex; flex-direction: column; backdrop-filter: blur(10px); position: relative; }
.project-card:hover { transform: translateY(-10px); border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.project-thumb { width: 100%; height: 220px; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(6,182,212,0.2)); display: flex; align-items: center; justify-content: center; color: white; font-size: 4rem; position: relative; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface), transparent); }
.project-body { padding: 25px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.project-tag { display: inline-block; align-self: flex-start; background: rgba(139, 92, 246, 0.15); color: var(--primary); padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; border: 1px solid rgba(139,92,246,0.3); }
.project-body h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; }
.project-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex: 1; }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; border-top: 1px solid var(--border); padding-top: 15px; }
.price { font-size: 1.5rem; font-weight: 900; font-family: 'Outfit'; color: var(--text); }
.price.free { color: var(--secondary); text-shadow: var(--glow-cyan); }
.project-actions { display: flex; gap: 8px; }

/* ================= TESTIMONIALS ================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { padding: 30px; border-radius: 20px; position: relative; transition: transform 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.testimonial-card .stars { color: #fbbf24; margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.client-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--border); padding-top: 15px; }
.client-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(139, 92, 246, 0.2); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; }
.client-info h4 { font-size: 1.1rem; margin-bottom: 3px; }
.client-info span { color: var(--text-muted); font-size: 0.85rem; }

/* ================= FAQ ================= */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; transition: all 0.3s ease; }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform 0.3s ease; color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(0,0,0,0.2); }
.faq-answer p { padding: 0 25px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item.active { border-color: var(--primary); box-shadow: var(--glow); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; }

/* ================= COMBINED CONTACT SECTION ================= */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.contact-wrapper .glass-form { margin: 0; padding: 35px; display: flex; flex-direction: column; width: 100%; max-width: 100%; }
.contact-wrapper .form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.contact-wrapper .form-group:nth-child(3) { flex-grow: 1; }
.contact-wrapper .glass-form textarea { flex-grow: 1; resize: none; min-height: 120px; margin-bottom: 10px; }
.map-wrapper { padding: 10px; border-radius: 20px; overflow: hidden; height: 100%; min-height: 400px; }
.map-wrapper iframe { border-radius: 15px; width: 100%; height: 100%; filter: invert(90%) hue-rotate(180deg) contrast(90%); transition: filter 0.3s ease; }
.map-wrapper:hover iframe { filter: invert(0%) hue-rotate(0deg) contrast(100%); }

/* ================= FORMS & CART ================= */
.glass-form { max-width: 800px; margin: 0 auto; padding: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 10px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { padding: 15px 20px; border: 1px solid var(--border); border-radius: 12px; font-size: 1rem; background: rgba(0, 0, 0, 0.3); color: var(--text); font-family: 'Inter', sans-serif; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s; }
.overlay.active { opacity: 1; visibility: visible; }
.cart-panel { position: fixed; top: 0; right: -450px; width: 400px; max-width: 100vw; height: 100vh; background: var(--bg); z-index: 1000; border-left: 1px solid var(--border); display: flex; flex-direction: column; transition: right 0.4s ease; }
.cart-panel.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 25px; border-bottom: 1px solid var(--border); }
.cart-items { flex: 1; overflow-y: auto; padding: 25px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; margin-bottom: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.cart-item-info h4 { font-size: 1rem; margin-bottom: 4px; }
.cart-item-info span { color: var(--primary); font-weight: 700; }
.cart-footer { padding: 25px; border-top: 1px solid var(--border); }
.cart-total { font-size: 1.4rem; font-weight: 900; margin-bottom: 20px; display: flex; justify-content: space-between; }
.cart-total span { color: var(--primary); }

/* ================= MODAL & TOAST ================= */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-content { background: var(--bg); border: 1px solid var(--border); border-radius: 24px; max-width: 700px; width: 100%; padding: 40px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; font-size: 2rem; color: var(--text-muted); cursor: pointer; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--surface); border: 1px solid var(--border); color: white; padding: 15px 30px; border-radius: 50px; font-weight: 600; opacity: 0; transition: all 0.4s ease; z-index: 3000; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ================= MASTERPIECE FOOTER ================= */
.footer { padding: 60px 0 30px; position: relative; background: linear-gradient(to top, rgba(25, 15, 45, 0.95) 0%, rgba(5, 5, 5, 0) 100%); border-top: 1px solid rgba(139, 92, 246, 0.3); margin-top: 50px; text-align: center; z-index: 10; }
.footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); box-shadow: 0 0 20px var(--primary); }
.footer-socials-horizontal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; width: 100%; max-width: 800px; margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 25px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 50px; text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 1rem; transition: all 0.3s ease; }
.social-link i { font-size: 1.3rem; transition: all 0.3s ease; }
.social-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); transform: translateY(-5px); }
.social-link.instagram:hover { border-color: #E1306C; box-shadow: 0 10px 20px rgba(225, 48, 108, 0.15); }
.social-link.instagram:hover i { color: #E1306C; text-shadow: 0 0 10px rgba(225, 48, 108, 0.5); }
.social-link.facebook:hover { border-color: #1877F2; box-shadow: 0 10px 20px rgba(24, 119, 242, 0.15); }
.social-link.facebook:hover i { color: #1877F2; text-shadow: 0 0 10px rgba(24, 119, 242, 0.5); }
.social-link.tiktok:hover { border-color: #25F4EE; box-shadow: 0 10px 20px rgba(37, 244, 238, 0.15); }
.social-link.tiktok:hover i { color: #fff; text-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.footer-bottom { padding-top: 25px; border-top: 1px solid rgba(139, 92, 246, 0.2); color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom strong { color: var(--text); font-weight: 700; }

/* ================= ADD REVIEW FORM ================= */
.add-review-container { max-width: 600px; margin: 40px auto 0; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); z-index: 10; position: relative; }
.add-review-container h3 { text-align: center; margin-bottom: 20px; font-size: 1.5rem; color: var(--primary); font-family: 'Outfit', sans-serif; }

/* ================= DELETE BUTTON ================= */
.delete-review-btn { position: absolute; top: 15px; right: 15px; background: rgba(244, 63, 94, 0.1); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); border-radius: 8px; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 10; }
.delete-review-btn:hover { background: #f43f5e; color: white; transform: scale(1.1); box-shadow: 0 0 15px rgba(244, 63, 94, 0.5); }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .code-wrapper { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .nav-links.mobile-open { display: flex; position: absolute; top: 80px; left: 20px; right: 20px; flex-direction: column; background: rgba(25, 15, 45, 0.95); backdrop-filter: blur(20px); padding: 30px; border: 1px solid var(--border); border-radius: 20px; gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .about-bento { grid-template-columns: 1fr; }
    .about-photo-card { grid-row: auto; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .map-wrapper { min-height: 350px; }
}
@media (max-width: 600px) {
    .hero-text h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    .cart-panel { width: 100%; right: -100%; }
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .footer-socials-horizontal { flex-direction: column; gap: 15px; }
    .photo-frame { width: 180px; height: 180px; } /* تصغير إضافي في الهواتف */
}