/*
TemplateMo 593 personal shape - Modified for ورشة الطريق
Responsive Design for Mobile and Desktop - No Overlay on Images
*/

@charset "utf-8";

/* ============================================
   CSS Variables & Reset - Black & Orange Professional Color Scheme
   ============================================ */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #FF8C42;
    --primary-light: #FFA366;
    --primary-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --secondary-color: #1a1a1a;
    --secondary-dark: #000000;
    --accent-color: #FF8C42;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    --shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 107, 53, 0.3);
    --shadow-strong: 0 10px 40px rgba(255, 107, 53, 0.25);
    --border-color: rgba(255, 107, 53, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.call-button {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
    font-weight: 600 !important;
}

.call-button:hover {
    background: rgba(255, 255, 255, 0.35) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    box-shadow: var(--shadow-strong);
    z-index: 998;
    padding: 100px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-links li {
    width: 100%;
}

.mobile-nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 18px 25px;
    border-radius: 15px;
    display: block;
    transition: var(--transition);
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a:active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav-links li a.call-button {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 20px 25px;
    margin-top: 10px;
}

.mobile-nav-links li a.call-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    padding: 120px 20px 80px;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 10%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.shape-5 {
    width: 80px;
    height: 80px;
    top: 80%;
    right: 50%;
    animation-delay: 8s;
}

.shape-6 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    z-index: 2;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--primary-color), var(--secondary-dark));
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-color) 100%);
    background-image: url('images/d193b2debb38d65e846369de1beb9e8d.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.skill-tag {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ============================================
   Portfolio/Services Section - NO OVERLAY ON IMAGES
   ============================================ */
.portfolio {
    padding: 80px 0;
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* NO OVERLAY - Images show clearly without any overlay */
.portfolio-content {
    padding: 25px;
}

.portfolio-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.portfolio-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 15px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   Locations Section
   ============================================ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.location-group {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.location-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.location-group h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    text-align: center;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.location-tag {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.location-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: var(--text-light);
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--primary-color), var(--secondary-dark));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left p {
    margin: 8px 0;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-right a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.footer-right a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        height: 300px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ============================================
   Responsive Design - Mobile (Improved)
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    /* Hero Section - Mobile */
    .hero {
        padding: 100px 15px 60px;
        min-height: 85vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .scroll-indicator {
        width: 25px;
        height: 40px;
        bottom: 20px;
    }

    /* Section Titles - Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* About Section - Mobile */
    .about {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        height: 250px;
        order: -1;
    }

    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.7;
    }

    .skills {
        gap: 8px;
        margin-top: 20px;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    /* Portfolio Section - Mobile */
    .portfolio {
        padding: 50px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-image {
        height: 180px;
    }

    .portfolio-content {
        padding: 20px;
    }

    .portfolio-content h4 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .portfolio-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .portfolio-tech {
        gap: 6px;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    /* Locations Section - Mobile */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }

    .location-group {
        padding: 20px;
    }

    .location-group h4 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .location-tags {
        gap: 8px;
    }

    .location-tag {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    /* Footer - Mobile */
    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-left p {
        font-size: 0.9rem;
        margin: 6px 0;
    }

    .footer-right {
        align-items: center;
    }

    .footer-right a {
        font-size: 1rem;
        text-align: center;
    }

    /* Shapes - Hide on Mobile */
    .shape {
        display: none;
    }

    .shape-1,
    .shape-2 {
        display: block;
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   Responsive Design - Small Mobile (Improved)
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 10px 12px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    /* Hero Section - Small Mobile */
    .hero {
        padding: 90px 12px 50px;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        width: 20px;
        height: 35px;
        bottom: 15px;
    }

    /* Section Titles - Small Mobile */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        padding-bottom: 12px;
    }

    /* About Section - Small Mobile */
    .about {
        padding: 40px 0;
    }

    .about-image {
        height: 200px;
    }

    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    /* Portfolio Section - Small Mobile */
    .portfolio {
        padding: 40px 0;
    }

    .portfolio-grid {
        gap: 15px;
    }

    .portfolio-image {
        height: 160px;
    }

    .portfolio-content {
        padding: 18px;
    }

    .portfolio-content h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .portfolio-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Locations Section - Small Mobile */
    .locations-grid {
        gap: 15px;
        margin-top: 20px;
    }

    .location-group {
        padding: 18px;
    }

    .location-group h4 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .location-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    /* Footer - Small Mobile */
    .footer {
        padding: 35px 0 20px;
    }

    .footer-left p,
    .footer-right a {
        font-size: 0.85rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

