﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

:root {
    --primary-red: #dc143c;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #f5f5f5;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* Allow interaction on links and buttons */
a, button, input, textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    pointer-events: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--black);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.lang-switcher {
    position: relative;
    margin-left: auto;
    margin-right: 20px;
}

.lang-dropdown-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 6px 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown-btn:hover {
    background-color: rgba(220, 20, 60, 0.1);
    border-color: var(--primary-red);
}

.lang-dropdown-btn svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s;
}

.lang-dropdown-btn.active svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    min-width: 110px;
}

.lang-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 8px 16px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.lang-option:hover {
    background-color: var(--primary-red);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--primary-red);
    letter-spacing: 3px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 80px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.static-text {
    color: var(--white);
    font-size: 80px;
}

.animated-text {
    color: var(--primary-red);
    font-size: 90px;
    min-height: 110px;
    display: inline-block;
    position: relative;
}

.animated-text::after {
    content: '|';
    color: var(--primary-red);
    animation: blink 0.8s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 28px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
}

.hero-description {
    font-size: 18px;
    color: var(--light-gray);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 30px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 30px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    margin-top: 10px;
}

.cv-btn:hover {
    background: #ff1744;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
}

.cv-btn svg {
    transition: transform 0.3s ease;
}

.cv-btn:hover svg {
    transform: translateY(3px);
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.rotating-logo {
    width: 400px;
    height: 400px;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.3));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.who-section {
    padding: 100px 0;
    background-color: var(--black);
}

.who-section h2 {
    text-align: center;
    font-size: 80px;
    color: var(--white);
    margin-bottom: 80px;
    position: relative;
}

.who-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-red);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card a {
    display: block;
    text-decoration: none;
}

.card-image {
    position: relative;
    overflow: hidden;
    display: block;
    line-height: 0;
}

.card-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transform: translate(10px, -10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.card-arrow svg {
    width: 60px;
    height: 60px;
    color: var(--white);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    stroke: var(--white);
    stroke-width: 0.5;
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.service-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    color: var(--white);
    font-size: 32px;
    letter-spacing: 2px;
    transition: transform 0.4s ease;
}

.service-card:hover .card-overlay h3 {
    transform: translateY(-15px);
}

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0 30px;
    text-align: center;
}

.footer h3 {
    font-size: 64px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
}

.footer-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 60px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 60px 0;
}

.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s;
}

.contact-icon:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff1744 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.4);
    transition: all 0.3s;
}

.contact-icon:hover .icon-circle {
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.6);
    transform: scale(1.1);
}

.icon-circle svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}

.contact-icon span {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Bebas Neue', sans-serif;
}

.copyright {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
    font-size: 14px;
    color: #999;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 60px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease-out;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    .nav-links a {
        font-size: 24px;
        font-family: 'Bebas Neue', sans-serif;
        letter-spacing: 2px;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .static-text {
        font-size: 48px;
    }
    
    .animated-text {
        font-size: 56px;
        min-height: 70px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .rotating-logo {
        width: 250px;
        height: 250px;
    }
    
    .hero-logo {
        order: -1;
    }
    
    .who-section h2 {
        font-size: 48px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    /* Make hover state permanent on mobile */
    .card-overlay {
        transform: translateY(0);
    }
    
    .card-overlay h3 {
        transform: translateY(-15px);
    }
    
    .card-arrow {
        opacity: 1;
        transform: translate(0, 0);
    }
    
    .logo img {
        height: 40px;
    }
    
    .contact-icons {
        flex-direction: column;
        gap: 40px;
    }
    
    .icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .icon-circle svg {
        width: 40px;
        height: 40px;
    }
    
    .footer h3 {
        font-size: 42px;
    }
    
    .footer-subtitle {
        font-size: 16px;
    }
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl * {
    font-family: 'Cairo', 'Bebas Neue', sans-serif !important;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6 {
    font-family: 'Cairo', 'Bebas Neue', sans-serif !important;
    font-weight: 900;
}

body.rtl p, body.rtl span, body.rtl a, body.rtl button {
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
    font-weight: 600;
}

body.rtl .navbar .container {
    flex-direction: row-reverse;
}

body.rtl .lang-switcher {
    margin-left: auto;
    margin-right: 20px;
}

body.rtl .lang-dropdown-menu {
    right: 0;
    left: auto;
}

body.rtl .lang-option {
    text-align: right;
}

body.rtl .card-arrow {
    right: auto;
    left: 20px;
}

body.rtl .cv-btn {
    flex-direction: row-reverse;
}

body.rtl .hero-container {
    direction: rtl;
}

body.rtl .hero-content {
    text-align: right;
}

body.rtl .hero-text {
    text-align: right;
}

body.rtl .hero-title {
    text-align: right;
}

body.rtl .static-text,
body.rtl .animated-text {
    font-weight: 900 !important;
}

body.rtl .hero-subtitle,
body.rtl .hero-description {
    text-align: right;
}

body.rtl .cards-container {
    direction: rtl;
}

body.rtl .contact-icons {
    direction: rtl;
}
