/* ========================================
   AUTOMORA WEBSITE
   Modern Workflow & Automation Theme
   ======================================== */

/* ============ ROOT VARIABLES ============ */
:root {
    /* Automora Brand Colors - Red/Pink Theme */
    --primary-color: #EA4B71;
    --secondary-color: #FF6D5A;
    --accent-color: #F94C66;
    
    /* Light Theme Colors */
    --light-bg: #FFFFFF;
    --light-secondary: #F8F9FA;
    --light-tertiary: #F1F3F5;
    --light-border: #E9ECEF;
    
    /* Text Colors */
    --text-dark: #2D3748;
    --text-gray: #718096;
    --text-light: #A0AEC0;
    --text-white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #EA4B71 0%, #FF6D5A 100%);
    --gradient-secondary: linear-gradient(135deg, #F94C66 0%, #FF6D5A 100%);
    --gradient-accent: linear-gradient(135deg, #FF6D5A 0%, #FFA07A 100%);
    --gradient-light: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(234, 75, 113, 0.08);
    --shadow-md: 0 4px 16px rgba(234, 75, 113, 0.12);
    --shadow-lg: 0 8px 32px rgba(234, 75, 113, 0.16);
    --shadow-xl: 0 12px 48px rgba(234, 75, 113, 0.2);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
}

/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 100%;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    width: 100%;
}

h3 {
    font-size: 1.8rem;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    z-index: 1000;
    border-bottom: 2px solid var(--light-border);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.3rem 0;
    }
    
    .navbar.scrolled {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1.2rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.9rem 0;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-image {
    height: 90px;
    width: 180px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition-fast);
    display: block;
    max-width: 100%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .logo-image {
        height: 120px;
        width: 240px;
        min-width: 220px;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 115px;
        width: 230px;
        min-width: 210px;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(234, 75, 113, 0.3));
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ============ BUTTONS ============ */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px; /* Touch target için minimum yükseklik */
}

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--light-secondary);
    color: var(--text-dark);
    border: 1px solid var(--light-border);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient-primary);
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

.floating-node:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-node:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-node:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 2s; }
.floating-node:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    text-align: center;
    width: 100%;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ SECTIONS ============ */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        padding: 0;
    }
}

/* ============ CARDS ============ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        gap: 1.25rem;
    }
}

.card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    border: 2px solid var(--light-border);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(234, 75, 113, 0.3);
}

.card:hover::before {
    opacity: 0.02;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.card-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* ============ STATS SECTION ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ============ TESTIMONIALS ============ */
.testimonial {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border: 2px solid var(--light-border);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

.author-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ============ CONTACT FORM ============ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--light-bg);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(234, 75, 113, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--light-secondary);
    border-top: 2px solid var(--light-border);
    padding: 2.5rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 2rem 1.5rem 1rem;
    }
}

.footer-section h3 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border: 2px solid var(--light-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-border);
    color: var(--text-gray);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

/* ============ WORKFLOW VISUALIZATION ============ */
.workflow-demo {
    position: relative;
    padding: 3rem;
    background: var(--light-secondary);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    border: 2px solid var(--light-border);
}

.workflow-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.workflow-node {
    background: var(--light-bg);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    min-width: 150px;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.workflow-node:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--light-secondary);
}

.workflow-arrow {
    color: var(--primary-color);
    font-size: 2rem;
}

/* ============ RESPONSIVE DESIGN ============ */

/* iPad ve Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobil Tablet ve Küçük Ekranlar (481px - 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 150px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 2rem;
        transition: var(--transition-fast);
        border-top: 2px solid var(--light-border);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .logo-image {
        height: 120px;
        width: 240px;
        min-width: 220px;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero {
        padding-top: 6rem !important;
        min-height: 50vh !important;
    }
    
    [style*="padding-top: 8rem"] {
        padding-top: 6rem !important;
    }
    
    [style*="min-height: 60vh"] {
        min-height: 50vh !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .workflow-nodes {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .logo {
        flex-shrink: 0;
    }
}

/* iPhone ve Küçük Telefonlar (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0;
    }
    
    .hero {
        padding-top: 5rem !important;
        min-height: 45vh !important;
    }
    
    [style*="padding-top: 8rem"] {
        padding-top: 5rem !important;
    }
    
    [style*="min-height: 60vh"] {
        min-height: 45vh !important;
    }
    
    .section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .logo-image {
        height: 115px;
        width: 230px;
        min-width: 210px;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-menu li {
        margin-bottom: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* iPhone X ve üzeri (375px - 414px) - Özel optimizasyon */
@media (max-width: 414px) and (min-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* Landscape mod (yatay) optimizasyonu */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 40vh !important;
        padding-top: 4rem !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Touch device optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .btn, .card, .nav-link {
        -webkit-tap-highlight-color: rgba(234, 75, 113, 0.2);
    }
    
    .btn:active, .card:active {
        transform: scale(0.98);
    }
}

/* iOS Safari optimizasyonları */
@supports (-webkit-touch-callout: none) {
    input, select, textarea {
        font-size: 16px !important; /* iOS zoom önleme */
    }
    
    .hero {
        -webkit-overflow-scrolling: touch;
    }
}

/* Tüm sayfalarda hero section optimizasyonu */
@media (max-width: 768px) {
    section.hero[style*="padding-top: 8rem"] {
        padding-top: 6rem !important;
    }
    
    section.hero[style*="min-height: 60vh"] {
        min-height: 50vh !important;
    }
}

@media (max-width: 480px) {
    section.hero[style*="padding-top: 8rem"],
    section.hero[style*="padding-top: 6rem"] {
        padding-top: 5rem !important;
    }
    
    section.hero[style*="min-height: 60vh"],
    section.hero[style*="min-height: 50vh"] {
        min-height: 45vh !important;
    }
}

/* ============ ANIMATIONS ============ */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ UTILITIES ============ */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* ============ TEAM AVATARS ============ */
.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--light-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.team-avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ============ LANGUAGE SELECTOR ============ */
.language-selector {
    position: relative;
    margin-left: auto;
    margin-right: 1rem;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.lang-btn .lang-flag-icon {
    width: 24px;
    height: 18px;
}

.lang-btn:hover {
    background: var(--light-secondary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.lang-btn:active {
    transform: translateY(0);
}

.lang-flag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.lang-flag-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-code {
    font-weight: 600;
    color: var(--text-dark);
}

.lang-arrow {
    transition: transform var(--transition-fast);
    color: var(--text-gray);
}

.language-selector.active .lang-arrow,
.lang-dropdown.active ~ .lang-btn .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--light-bg);
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.lang-option .lang-flag-icon {
    width: 28px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-option .lang-flag-icon svg {
    width: 100%;
    height: 100%;
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid var(--light-border);
}

.lang-option:hover {
    background: var(--light-secondary);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--light-tertiary);
    color: var(--primary-color);
    font-weight: 600;
}

.lang-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.lang-name {
    flex: 1;
}

.lang-check {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Navbar Integration */
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

/* Tablet Responsive (1024px ve altı) */
@media (max-width: 1024px) {
    .language-selector {
        margin-right: 0.75rem;
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.875rem;
        gap: 0.4rem;
    }
    
    .lang-btn .lang-flag-icon {
        width: 22px;
        height: 16px;
    }
    
    .lang-dropdown {
        min-width: 180px;
    }
}

/* Mobile Responsive (768px ve altı) */
@media (max-width: 768px) {
    /* Language Selector sabit pozisyonda, menü toggle'ın solunda */
    .language-selector {
        position: fixed;
        top: 22px;
        right: 70px;
        margin: 0;
        z-index: 10001;
    }
    
    /* Menü açık olsa bile dil butonu üstte kalsın */
    .nav-menu.active ~ .language-selector {
        position: fixed;
        top: 22px;
        right: 70px;
    }
    
    .lang-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        border-radius: var(--radius-sm);
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        background: white;
        gap: 0.35rem;
        border: 2px solid var(--light-border);
    }
    
    .lang-btn:hover {
        box-shadow: 0 4px 12px rgba(234, 75, 113, 0.2);
    }
    
    .lang-btn .lang-flag-icon {
        width: 20px;
        height: 15px;
    }
    
    .lang-code {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .lang-arrow {
        width: 10px;
        height: 10px;
    }
    
    /* Dropdown mobilde daha iyi görünsün */
    .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 150px;
        top: calc(100% + 0.4rem);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        border: 2px solid var(--light-border);
        background: white;
    }
    
    .lang-option {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .lang-option .lang-flag-icon {
        width: 24px;
        height: 18px;
    }
    
    .lang-option:hover {
        background: var(--light-secondary);
    }
    
    .lang-option.active {
        background: rgba(234, 75, 113, 0.1);
    }
}

/* Very Small Mobile (480px ve altı) */
@media (max-width: 480px) {
    .language-selector {
        right: 60px;
        top: 20px;
    }
    
    .lang-btn {
        padding: 0.45rem 0.65rem;
        gap: 0.3rem;
        font-size: 0.8rem;
    }
    
    .lang-btn .lang-flag-icon {
        width: 18px;
        height: 13px;
    }
    
    .lang-code {
        font-size: 0.75rem;
    }
    
    .lang-dropdown {
        min-width: 140px;
        font-size: 0.85rem;
        max-height: 250px;
        overflow-y: auto;
    }
    
    .lang-option {
        padding: 0.7rem 0.75rem;
    }
    
    .lang-option .lang-name {
        font-size: 0.85rem;
    }
    
    .lang-option .lang-flag-icon {
        width: 22px;
        height: 16px;
    }
}

/* Extra Small Mobile (360px ve altı) */
@media (max-width: 360px) {
    .language-selector {
        right: 55px;
        top: 18px;
    }
    
    .lang-btn {
        padding: 0.4rem 0.5rem;
        gap: 0.25rem;
    }
    
    .lang-btn .lang-flag-icon {
        width: 16px;
        height: 12px;
    }
    
    .lang-code {
        font-size: 0.7rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .language-selector {
        top: 15px;
        right: 65px;
    }
    
    .lang-btn {
        padding: 0.35rem 0.6rem;
        gap: 0.3rem;
    }
    
    .lang-btn .lang-flag-icon {
        width: 18px;
        height: 13px;
    }
    
    .lang-code {
        font-size: 0.75rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .lang-btn {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .lang-option {
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .lang-btn:active {
        background: var(--light-secondary);
    }
    
    .lang-option:active {
        background: var(--light-tertiary);
    }
}

