/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --accent-orange: #FF6B35;
    --accent-orange-dark: #E55A2B;
    --accent-orange-light: rgba(255, 107, 53, 0.1);
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 10rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    touch-action: manipulation;
    min-width: 280px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    padding: var(--spacing-xs) 0;
    padding-top: max(var(--spacing-xs), env(safe-area-inset-top));
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-cta {
    background-color: var(--accent-orange);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    /* Touch-friendly */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #FF6B35 0%, #C44536 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 100%;
}

.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-primary);
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
}

.hero-name {
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    line-height: 0.9;
    color: var(--text-primary);
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.hero-role-item {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-role-item:hover {
    background: var(--accent-orange-light);
    border-color: rgba(255, 107, 53, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-portrait-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-portrait-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.2;
    mix-blend-mode: soft-light;
    filter: blur(30px) brightness(1.2);
}

.hero-portrait-container {
    display: none;
}

.hero-tagline-large {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.hero-tagline-small {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
}

.hero-role {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn-cta {
    background-color: var(--accent-orange);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    /* Touch-friendly */
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
    user-select: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-cta-large {
    background-color: var(--accent-orange);
    color: var(--text-primary);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-cta-large:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Exclude hero from scroll reveal */
.hero.scroll-reveal {
    opacity: 1;
    transform: none;
}

/* Smooth transitions for all interactive elements */
a, button, .project-card, .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shifts */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure consistent spacing */
section + section {
    margin-top: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

.section-subheading {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--accent-orange);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    text-align: right;
    position: relative;
    display: block;
}

.section-subheading::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-orange);
    opacity: 0.5;
}

.section-title-large {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-align: right;
}

/* Trusted Brands Section */
.trusted-brands {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-darker);
}

.trusted-brands .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.trusted-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    font-weight: 300;
}

.brands-grid {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.brand-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.brand-item:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
}

/* About Section */
.about {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .about {
        padding: var(--spacing-sm) 0;
        overflow: visible;
    }
}

.about-background-image {
    position: absolute;
    top: 50%;
    left: var(--spacing-sm);
    transform: translateY(-50%);
    width: calc(50% - var(--spacing-sm) * 2);
    height: 90%;
    z-index: 0;
    pointer-events: none;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.about-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: brightness(0.9);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.about-background-image.has-image .about-bg-img {
    opacity: 0.7;
}

@media (max-width: 968px) {
    .about-background-image {
        width: calc(50% - var(--spacing-xs) * 2);
        height: 90%;
        left: var(--spacing-xs);
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .about-background-image {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        position: relative;
        border-radius: 16px;
        /* توافق الهاتف: ارتفاع ثابت يعمل في كل المتصفحات */
        height: 0;
        padding-bottom: 75%;
        min-height: 0;
        overflow: hidden;
    }
    
    .about-background-image .about-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-left {
    grid-column: 1;
    max-width: 100%;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.about-background-image {
    grid-column: 1;
}

.about-right {
    grid-column: 2;
}

@media (max-width: 768px) {
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .about-left {
        display: none;
    }
    
    .about-right {
        display: contents;
    }
    
    .about-title-group {
        order: 1;
    }
    
    .about-background-image {
        order: 2;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .about-body-group {
        order: 3;
    }
    
    .about-text,
    .about-text-small {
        text-align: left;
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    .about-right {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-end;
    }
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    text-align: right;
    max-width: 520px;
}

.about-text-small {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    text-align: right;
    opacity: 0.85;
    max-width: 520px;
}

/* Featured Projects */
.featured-projects {
    padding: var(--spacing-xxl) 0;
}

.projects-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.projects-header-left {
    max-width: 100%;
}

.projects-header-right {
    display: flex;
    align-items: center;
}

.projects-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.featured-projects-cta {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.featured-projects-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.project-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background-color: var(--bg-darker);
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-image {
    transform: scale(1.02);
}

.project-card-content {
    padding: var(--spacing-md);
}

.project-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.project-card-type {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.project-card-headline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--spacing-xs);
}

.project-card-link:hover {
    gap: 0.75rem;
    color: var(--accent-orange-dark);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact {
        padding: var(--spacing-sm) 0;
        overflow: visible;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-right {
        display: none;
    }
    
    .contact-left {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .contact-background-image {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-left {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-right {
    max-width: 100%;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.contact-background-image {
    position: absolute;
    top: 50%;
    right: var(--spacing-sm);
    transform: translateY(-50%);
    width: calc(50% - var(--spacing-sm) * 2);
    height: 90%;
    z-index: 0;
    pointer-events: none;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.contact-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: brightness(0.9);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.contact-background-image.has-image .contact-bg-img {
    opacity: 0.7;
}

@media (max-width: 968px) {
    .contact-background-image {
        width: calc(50% - var(--spacing-xs) * 2);
        height: 90%;
        right: var(--spacing-xs);
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .contact-background-image {
        width: 100%;
        max-width: 100%;
        right: 0;
        left: 0;
        top: auto;
        transform: none;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        position: relative;
        border-radius: 16px;
        /* توافق الهاتف: ارتفاع ثابت يعمل في كل المتصفحات */
        height: 0;
        padding-bottom: 75%;
        min-height: 0;
        overflow: hidden;
    }
    
    .contact-background-image .contact-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.contact-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
}

/* Contact Buttons */
.contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    max-width: 600px;
}

.contact-btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-primary);
    border: none;
}

.contact-btn-primary:hover {
    background-color: var(--accent-orange-dark);
}

.contact-btn-whatsapp {
    background-color: #25D366;
    color: var(--text-primary);
    border: none;
}

.contact-btn-whatsapp:hover {
    background-color: #20BA5A;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.contact-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.contact-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-btn-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.contact-btn-primary:hover .contact-btn-arrow,
.contact-btn-whatsapp:hover .contact-btn-arrow,
.contact-btn-outline:hover .contact-btn-arrow {
    transform: translateX(4px);
}

/* Contact Info (Email & Phone below buttons) */
.contact-info {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg) var(--spacing-xl);
    max-width: 560px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-left: var(--spacing-sm);
    border-left: 2px solid rgba(255, 107, 53, 0.35);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-info-item:hover {
    border-left-color: var(--accent-orange);
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-orange);
    opacity: 0.95;
}

.contact-info-value {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.contact-info-item:hover .contact-info-value {
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .contact-info {
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .contact-info-item {
        gap: 0.25rem;
    }
    
    .contact-info-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    
    .contact-info-value {
        font-size: 1rem;
    }
}


/* Projects Page */
.projects-page {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: 80px;
}

.projects-page-header {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
}

.projects-page-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    margin-top: var(--spacing-sm);
}

.page-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
}

/* Project Page */
.project-page {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: 80px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.project-header {
    margin-bottom: var(--spacing-md);
}

.project-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.project-headline {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
}

.project-media {
    width: 100%;
    margin-bottom: var(--spacing-md);
    border-radius: 2px;
}

.project-media video,
.project-media img {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--bg-darker);
}

.project-media video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-description {
    max-width: 800px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.project-detail-value {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0;
    padding-bottom: max(var(--spacing-xl), env(safe-area-inset-bottom));
    margin-top: var(--spacing-xl);
    background: #050505;
    border-top: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 -4px 40px rgba(255, 107, 53, 0.08);
}

.footer p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 300;
}

.footer p::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    margin: 0 auto var(--spacing-sm);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        align-items: center;
        text-align: center;
    }

    .hero-portrait-container {
        align-self: center;
        margin-bottom: var(--spacing-md);
    }

    .hero-portrait {
        width: 120px;
        height: 120px;
    }

    .about-grid,
    .contact-grid,
    .projects-header {
        grid-template-columns: 1fr;
    }

    .trusted-brands .container {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 var(--spacing-xs);
        padding-right: max(var(--spacing-xs), env(safe-area-inset-right));
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        padding-top: max(5rem, env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
        gap: var(--spacing-md);
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-sm) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-cta {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
        margin-top: var(--spacing-sm);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    section {
        padding: var(--spacing-sm) 0;
    }

    .hero {
        padding: calc(var(--spacing-sm) + 50px) var(--spacing-xs) var(--spacing-sm);
        min-height: auto;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-right {
        text-align: center;
        align-items: center;
    }
    
    .hero-tagline-large {
        text-align: center;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-tagline-small {
        text-align: center;
    }

    .hero-roles {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .hero-role-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    /* Hero buttons on mobile */
    .hero-right > div {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-right .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .brands-grid {
        flex-wrap: wrap;
    }
    
    .section-subheading::after {
        width: 30px;
    }
    
    .about-text,
    .about-text-small {
        max-width: 100%;
        text-align: left;
    }
    
    .about-right {
        align-items: flex-start;
    }
    
    .section-subheading,
    .section-title-large {
        text-align: left;
    }
    
    .contact::before {
        display: none;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .contact-btn-primary,
    .contact-btn-whatsapp,
    .contact-btn-outline {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        margin-top: 1.25rem;
        padding-top: 1rem;
    }
    
    .contact-info-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    
    .contact-info-value {
        font-size: 1rem;
    }
    
    .contact-background-image {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%;
        overflow: hidden;
        right: 0;
        transform: none;
        top: 0;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 16px;
    }
    
    .contact-right {
        min-height: 0;
    }
    
    /* About section mobile – title, image, body order set above */
    .about-background-image {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%;
        overflow: hidden;
        left: 0;
        transform: none;
        top: 0;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 16px;
    }
    
    /* Project cards mobile – keep 16:9 aspect ratio */
    .project-card {
        min-height: auto;
    }
    
    .project-card-image {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }
    
    /* Container padding mobile */
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    /* Section padding mobile */
    section {
        padding: var(--spacing-sm) 0;
    }
    
    .featured-projects {
        padding: var(--spacing-sm) 0;
    }
    
    .projects-header {
        margin-bottom: 1rem;
    }
    
    .featured-projects-cta {
        margin-top: 1rem;
    }
    
    .section-title {
        margin-bottom: 1rem;
    }
    
    .section-title-large {
        margin-bottom: 1.25rem;
    }
    
    /* Typography mobile adjustments */
    .section-title-large {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .section-subheading {
        font-size: clamp(0.875rem, 3vw, 1rem);
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
    
    .btn-cta {
        min-height: 48px;
        padding: 1rem 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-name {
        font-size: clamp(2rem, 11vw, 4rem);
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .about-background-image,
    .contact-background-image {
        padding-bottom: 62.5%;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-secondary);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--bg-darker);
    border-radius: 2px;
    margin-bottom: var(--spacing-md);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container video {
    object-fit: contain;
}

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.project-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
    background-color: var(--bg-darker);
}
