/* ===================================
   VOICE BRAND MANAGEMENT - STYLES
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors from logo */
    --primary-red: #E31E24;
    --primary-black: #1a1a1a;
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E31E24 0%, #8B0000 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Fonts */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 5%;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.24);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    color: var(--primary-black);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-black);
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.3);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(227, 30, 36, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition-smooth);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.subtitle-highlight {
    color: var(--primary-red);
    font-weight: 600;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.cta-primary,
.cta-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-spring);
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.4);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(227, 30, 36, 0.6);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 10px auto 0;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

/* ===== COMMON SECTION STYLES ===== */
section {
    padding: 80px 0;
    position: relative;
}

@media (min-width: 1024px) {
    section {
        padding: 100px 0;
    }
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--gray-100);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gradient-dark);
    height: 600px;
}

.wave-bg {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(227, 30, 36, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(227, 30, 36, 0.2) 0%, transparent 50%);
    animation: waveAnimation 8s ease-in-out infinite;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
}

.about-experience {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.experience-badge:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.experience-badge i {
    font-size: 1.3rem;
    color: var(--primary-red);
}

.experience-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
}

.intro-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 25px;
}

.section-subtitle-small {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 30px 0 15px;
}

.about-commitment {
    margin-top: 30px;
    padding: 25px;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.about-commitment h3 {
    margin-bottom: 15px;
}

.about-commitment p {
    margin-bottom: 12px;
}

.about-commitment p:last-child {
    margin-bottom: 0;
}

.about-content {
    padding-right: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 50px 0;
}

.pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.pillar:hover {
    border-color: rgba(227, 30, 36, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.3);
    transition: var(--transition-spring);
}

.pillar:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.pillar h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.pillar p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.about-quote {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-left: 4px solid var(--primary-red);
    border-radius: 10px;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--gray-100);
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: var(--container-padding);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 40px;
    color: var(--primary-red);
    position: relative;
    z-index: 2;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 15px;
    transform: rotate(45deg);
    transition: var(--transition-spring);
}

.service-card:hover .icon-bg {
    transform: rotate(90deg) scale(1.1);
    background: rgba(227, 30, 36, 0.15);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.service-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-red);
    font-size: 14px;
}

.service-platforms,
.service-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.service-platforms i {
    font-size: 24px;
    color: var(--gray-600);
    transition: var(--transition-smooth);
}

.service-platforms i:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

.tag {
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-black);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-red);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.service-cta:hover::before {
    width: 300px;
    height: 300px;
}

.service-cta span,
.service-cta i {
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    transform: translateX(5px);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(5px);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: white;
}

.portfolio-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: var(--container-padding);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: var(--container-padding);
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: 0;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-red);
    color: white;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
    cursor: pointer;
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.2);
}

.portfolio-item:active {
    transform: translateY(-4px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05) 0%, rgba(227, 30, 36, 0.02) 100%);
    border-bottom: 3px solid var(--gray-200);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0.05) 100%);
    border-bottom-color: var(--primary-red);
}

.portfolio-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
}

.portfolio-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.portfolio-icon-wrapper.video {
    background: linear-gradient(135deg, #E31E24 0%, #8B0000 100%);
}

.portfolio-icon-wrapper.video i {
    color: white;
}

.portfolio-icon-wrapper.photo {
    background: var(--gray-800);
}

.portfolio-icon-wrapper.photo i {
    color: white;
}

.portfolio-icon-wrapper.branding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-icon-wrapper.branding i {
    color: white;
}

.portfolio-item:hover .portfolio-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-red);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-black);
    font-weight: 700;
}

.portfolio-description {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 15px;
}

.portfolio-results {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.result-tag {
    padding: 5px 12px;
    background: var(--gray-100);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--gray-100);
}

.process-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: var(--container-padding);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--gray-300) 100%);
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.4);
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.step-description {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 25px;
}

.step-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.step-features li {
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
    border-left: 3px solid var(--primary-red);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

#contact-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding-right: 40px;
}

.contact-info .section-title {
    color: white;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-method i {
    font-size: 24px;
    color: var(--primary-red);
    margin-top: 5px;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-method a,
.contact-method p {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    background: var(--dark-bg);
    padding: 0 8px;
    color: var(--primary-red);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-red);
    text-decoration: underline;
}

.submit-btn {
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-spring);
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.4);
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(227, 30, 36, 0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-black);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-smooth);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .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(7px, -6px);
    }
    
    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
        left: -280px;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    body {
        font-size: 16px;
    }
    
    /* Navigation */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .nav-cta {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 80px 20px 40px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .hero-cta-group {
        gap: 15px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 15px 30px;
        font-size: 15px;
    }
    
    .scroll-indicator {
        bottom: 20px;
        font-size: 12px;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About */
    .about-image-wrapper {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .about-experience {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        padding: 20px;
        background: white;
        border-radius: 15px;
        margin-top: -60px;
        z-index: 10;
        gap: 10px;
    }
    
    .experience-badge {
        padding: 12px 15px;
    }
    
    .experience-badge i {
        font-size: 1.1rem;
    }
    
    .experience-badge span {
        font-size: 0.85rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .about-pillars {
        gap: 25px;
        margin: 40px 0;
    }
    
    .pillar {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .pillar-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
    }
    
    .pillar h3 {
        font-size: 1.1rem;
    }
    
    .pillar p {
        font-size: 0.9rem;
    }
    
    /* Services */
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 30px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-features {
        margin-bottom: 20px;
    }
    
    .service-features li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    /* Portfolio */
    .portfolio-filters {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .portfolio-icon-wrapper i {
        font-size: 2rem;
    }
    
    .portfolio-info {
        padding: 20px;
    }
    
    /* Process */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .step-content {
        padding: 25px 20px;
    }
    
    .step-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .step-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .step-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .step-features li {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-container {
        gap: 50px;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .contact-methods {
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .contact-method i {
        font-size: 20px;
    }
    
    .contact-method a,
    .contact-method p {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 16px 35px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        margin-bottom: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-column a {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px 20px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 14px;
    }
    
    .scroll-indicator span {
        display: none;
    }
    
    /* Sections */
    .section-label {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* About */
    .about-image-wrapper {
        height: 300px;
        border-radius: 15px;
    }
    
    .about-experience {
        margin-top: -40px;
        padding: 15px;
        gap: 8px;
    }
    
    .experience-badge {
        padding: 10px 12px;
    }
    
    .experience-badge i {
        font-size: 1rem;
    }
    
    .experience-badge span {
        font-size: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .about-pillars {
        gap: 20px;
        margin: 30px 0;
    }
    
    .about-quote {
        padding: 20px;
        font-size: 1rem;
        margin-top: 30px;
    }
    
    /* Services */
    .services-header,
    .portfolio-header,
    .process-header {
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .service-platforms,
    .service-tags {
        gap: 10px;
    }
    
    .service-platforms i {
        font-size: 20px;
    }
    
    .tag {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .service-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Portfolio */
    .portfolio-filters {
        gap: 8px;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .portfolio-image {
        height: 160px;
    }
    
    .portfolio-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .portfolio-icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .portfolio-info {
        padding: 18px;
    }
    
    .portfolio-category {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .portfolio-title {
        font-size: 1.1rem;
    }
    
    .portfolio-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .result-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    /* Process */
    .process-timeline::before {
        left: 25px;
    }
    
    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .step-content {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .step-features li {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    /* Contact */
    .contact {
        padding: 50px 0;
    }
    
    .contact-container {
        gap: 40px;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-methods {
        gap: 20px;
    }
    
    .contact-method {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-checkbox label {
        font-size: 0.85rem;
    }
    
    .submit-btn {
        padding: 14px 30px;
    }
    
    /* Footer */
    .footer-logo {
        height: 40px;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .service-card,
    .step-content,
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== MOBILE SPECIFIC ENHANCEMENTS ===== */
@media (max-width: 768px) {
    /* Prevent text selection on buttons for better UX */
    button, .cta-primary, .cta-secondary, .nav-cta, .service-cta, .submit-btn, .filter-btn {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Optimize touch targets */
    a, button, input, select, textarea {
        touch-action: manipulation;
    }
    
    /* Remove button focus outline on mobile */
    button:focus,
    input:focus {
        outline: none;
    }
    
    /* Improve scrolling performance */
    .portfolio-filters {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .portfolio-filters::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    /* Optimize animations for mobile */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    /* Better touch feedback */
    .service-card:active,
    .portfolio-item:active,
    .filter-btn:active,
    button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .service-card:hover,
        .portfolio-item:hover {
            transform: none;
        }
    }
}

/* ===== iOS SAFARI SPECIFIC FIXES ===== */
@supports (-webkit-touch-callout: none) {
    /* Fix for iOS Safari bottom bar */
    .hero {
        min-height: -webkit-fill-available;
    }
    
    /* Fix input zoom on iOS */
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ===== LANDSCAPE MODE OPTIMIZATIONS ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 20px 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-group {
        gap: 10px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .navbar {
        padding: 10px 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hamburger,
    .scroll-indicator,
    .cta-primary,
    .cta-secondary,
    .contact-form,
    #hero-canvas,
    #contact-canvas {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}