/* Bayma Visual Identity — Stylesheet
   Theme: Professional Light (Slate & International Orange)
   ======================================================= */


/* ===== 1. Global Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #fcfcfc 0%, #f8f8f8 50%, #fcfcfc 100%);
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}


/* ===== 2. Color Utilities ===== */
.gold-text   { color: #FF6B00; }
.gold-bg     { background-color: #FF6B00; color: #fff; }
.gold-border { border-color: #FF6B00; }


/* ===== 3. Glassmorphism ===== */
.glass {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}


/* ===== 4. Typography ===== */
.text-transparent.bg-clip-text {
    background-image: linear-gradient(to right, #1a1a1a, #FF6B00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}


/* ===== 5. Buttons & Links ===== */
button,
.gold-bg,
a.gold-bg {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:hover,
.gold-bg:hover {
    background-color: #1a1a1a !important;
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}


/* ===== 6. Hero + About Section ===== */
.hero-about-wrapper {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    position: relative;
    z-index: 2;
}

.about-section {
    position: relative;
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.about-section .glass {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.4s ease;
}

.about-section .glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
}

.label-designer {
    letter-spacing: 1px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 0 auto;
    max-width: 200px;
}


@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes shimmer-slide {
    100% { transform: translateX(100%); }
}


/* ===== 8. Audio Player ===== */
#playPauseBtn {
    transition: all 0.3s ease;
}

#playPauseBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

#audioProgress {
    transition: width 0.1s linear;
}


/* ===== 9. Clients Section ===== */
.clients-section {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 80px 24px;
}

.clients-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.clients-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 30px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        inset 0 0 80px rgba(255, 107, 0, 0.03);
    animation: clientsGlow 4s ease-in-out infinite;
}

.clients-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.clients-badge i {
    font-size: 18px;
}

.clients-main {
    flex: 1;
    text-align: center;
}

.clients-headline {
    font-size: 42px;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.1);
}

.clients-subtext {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.clients-counter {
    flex-shrink: 0;
}

.client-number-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 100%);
    border: 3px solid #FF6B00;
    border-radius: 20px;
    padding: 30px 50px;
    position: relative;
    overflow: hidden;
}

.client-number-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: numberShine 3s infinite;
}

.client-number-box span:first-child {
    font-size: 72px;
    font-weight: 900;
    color: #FF6B00;
    line-height: 1;
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.3);
    font-variant-numeric: tabular-nums;
}

.client-number-box small {
    font-size: 36px;
    font-weight: 700;
    color: #FF6B00;
    margin-left: 5px;
    line-height: 1;
}

.clients-features {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px dashed rgba(255, 107, 0, 0.3);
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: #FF6B00;
    font-size: 18px;
}


/* ===== 10. Portfolio ===== */
#portfolio {
    background: transparent;
}

.portfolio-card {
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.01);
}

.portfolio-card img {
    transition: transform 0.3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}


/* ===== 11. Pricing ===== */
#pricing {
    background: transparent;
}


/* ===== 12. Contact ===== */
#contact {
    background: linear-gradient(135deg, #fcfcfc 0%, #f8f8f8 50%, #fcfcfc 100%);
}


/* ===== 13. Form & Inputs ===== */
input,
select,
textarea {
    width: 100%;
    color: #1a1a1a !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
    background: transparent !important;
    padding: 15px 5px !important;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-bottom-color: #FF6B00 !important;
    outline: none;
}

select option {
    background-color: #fff;
    color: #1a1a1a;
}


/* ===== 14. Animations ===== */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.pulse {
    animation: pulse-orange 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-orange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    50%       { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
}

@keyframes clientsGlow {
    0%, 100% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.08),
            inset 0 0 80px rgba(255, 107, 0, 0.03);
    }
    50% {
        box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.12),
            inset 0 0 100px rgba(255, 107, 0, 0.06);
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes numberShine {
    0%   { left: -100%; }
    100% { left: 100%; }
}


/* ===== 15. Footer ===== */
footer {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 0;
}


/* ===== 16. RTL Support ===== */
html[lang="ar"] .clients-box   { flex-direction: row-reverse; }
html[lang="ar"] .clients-badge { flex-direction: row-reverse; }

html[lang="ar"] .client-number-box small {
    margin-left: 0;
    margin-right: 5px;
}


/* ===== 17. Responsive ===== */
@media (max-width: 768px) {

    /* Navbar */
    nav {
        padding: 12px 16px !important;
    }

    nav img {
        height: 36px !important;
    }

    nav a.gold-bg {
        font-size: 9px;
        padding: 6px 12px;
    }

    /* Hero */
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    #heroTitle {
        font-size: 34px !important;
        line-height: 1.3;
    }

    #heroDesc {
        font-size: 15px !important;
        padding: 0 10px;
    }

    #heroBtn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    /* About */
    .about-section {
        padding: 60px 16px;
    }

    .about-section .grid {
        grid-template-columns: 1fr !important;
    }

    #about {
        text-align: center;
    }

    #about h3 {
        font-size: 26px !important;
    }

    #aboutDesc {
        font-size: 15px;
    }

    /* Pricing */
    #pricing .max-w-7xl {
        grid-template-columns: 1fr !important;
    }

    #pricing .glass {
        transform: none !important;
    }

    /* Contact */
    #contact form {
        padding: 24px !important;
    }

    #contact h2 {
        font-size: 28px !important;
    }

    #contact .grid {
        grid-template-columns: 1fr !important;
    }

    /* Clients */
    .clients-section {
        padding: 60px 16px;
    }

    .clients-box {
        flex-direction: column;
        padding: 40px 24px;
        gap: 30px;
    }

    .clients-headline {
        font-size: 24px !important;
    }

    .clients-subtext {
        font-size: 14px;
    }

    .client-number-box {
        padding: 20px 40px;
    }

    .client-number-box span:first-child {
        font-size: 44px !important;
    }

    .client-number-box small {
        font-size: 28px;
    }

    .clients-features {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* RTL override on mobile */
    html[lang="ar"] .clients-box {
        flex-direction: column;
    }

}

@media (max-width: 640px) {

    /* Portfolio */
    #portfolio .grid {
        grid-template-columns: 1fr !important;
    }

    #portfolio img {
        height: 200px !important;
    }

}
.about-section .grid {
    grid-template-columns: 1fr !important; /* يبقى عمود واحد بدل اتنين */
    gap: 2rem; /* المسافة بين العناصر */
}

.about-section h3,
.about-section p,
.about-section .glass {
    max-width: 100%; /* العناصر تاخد العرض كله */
}