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

:root {
    --primary-color: #0d7c83;
    --primary-light: #1a9ca5;
    --secondary-color: #f7f9fa;
    --accent-color: #00b4c5;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --border-color: #e1e8ed;
    --white: #ffffff;
    --dark-bg: #0a2e32;
    --gradient-teal: linear-gradient(135deg, #0d7c83 0%, #1a9ca5 100%);
    --gradient-dark: linear-gradient(135deg, #0a2e32 0%, #0d7c83 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 5rem 0;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
    transition: all 0.3s ease;
}

.header.with-banner {
    top: 60px;
    transition: top 0.3s ease;
}

/* Mobile Header Fix */
@media (max-width: 768px) {
    .header {
        z-index: 1003;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .header.with-banner {
        top: 0;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

/* Login Link - masaüstünde görünür */
.nav-link.login-link {
    background: linear-gradient(135deg, #0d7c83 0%, #1a9ca5 100%);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-left: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 124, 131, 0.2);
}

.nav-link.login-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 124, 131, 0.3);
}

.nav-link.login-link::after {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 1rem 0;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

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

.dropdown-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.dropdown-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* New Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    background: none;
    border: 1px solid rgba(13, 124, 131, 0.2);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-btn:hover {
    background: rgba(13, 124, 131, 0.1);
    border-color: var(--primary-color);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(13, 124, 131, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    z-index: 1001;
}

.language-switcher:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(13, 124, 131, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(13, 124, 131, 0.05);
    color: var(--primary-color);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.lang-switcher:hover {
    background: var(--secondary-color);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 120px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.lang-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.current-lang {
    margin-right: 0.5rem;
    font-weight: 500;
}

/* Contact Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Country Selection Popup */
.country-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(13,63,71,0.95) 0%, rgba(26,107,122,0.95) 50%, rgba(10,77,104,0.95) 100%),
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.country-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.country-popup {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.country-popup-overlay.active .country-popup {
    transform: translateY(0);
}

.country-popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.country-popup-header h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.country-popup-header p {
    color: var(--text-muted);
    margin: 0;
}

.country-tabs {
    display: flex;
    background: var(--secondary-color);
    border-radius: 0.5rem;
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.country-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.country-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.country-option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.country-option:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.country-option.selected {
    border-color: var(--primary-color) !important;
    background: var(--secondary-color) !important;
    box-shadow: 0 4px 15px rgba(13, 124, 131, 0.2);
}

.country-flag {
    font-size: 1.5rem;
}

.country-name {
    font-weight: 500;
    color: var(--text-dark);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-continue {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-continue:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.popup-continue:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* Welcome Banner */
.welcome-banner {
    background: var(--gradient-teal);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.welcome-banner.show {
    transform: translateY(0);
}

.welcome-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

.welcome-banner a:hover {
    color: rgba(255,255,255,0.8);
}

/* Mobile Welcome Banner */
@media (max-width: 768px) {
    .welcome-banner {
        font-size: 0.8rem;
        padding: 0.75rem 0;
        z-index: 1000;
        position: relative;
        transform: none;
    }
    
    .welcome-banner.show {
        transform: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d3f47 0%, #1a6b7a 50%, #0a4d68 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(13,124,131,0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.07)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding-top: 2rem;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Masaüstünde hero login butonunu gizle - üçüncü butonu hedefle */
@media (min-width: 769px) {
    .hero-buttons .btn-mobile-login,
    .hero-buttons a:nth-child(3) {
        display: none !important;
    }
    
    .btn-mobile-login {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(247,249,250,0.8) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(13,124,131,0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(13,124,131,0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.service-card {
    text-align: center;
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-3px);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.portfolio-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #0d7c83 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0 !important;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(255,255,255,0.9) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 10%, rgba(26,156,165,0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 90%, rgba(13,124,131,0.06) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(13,124,131,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26,156,165,0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .founder-card {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Tablet'te login butonunu kesinlikle gizle */
    .btn-mobile-login {
        display: none !important;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0.8rem 0;
    }
    
        /* Mobile Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        z-index: 1001;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        justify-content: space-between;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Mobile Navigation'da login butonunu gizle - hero'da var zaten */
    .nav-link.login-link {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0.5rem;
        background: var(--secondary-color);
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Mobile Dropdown Functionality */
    .nav-item.dropdown-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: relative;
        box-shadow: none;
        border: none;
        background: rgba(247, 249, 250, 0.7);
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        max-height: 300px;
        overflow-y: auto;
    }

    .nav-item.dropdown .nav-link::after {
        content: '▼';
        font-size: 0.8rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .nav-item.dropdown-open .nav-link::after {
        transform: rotate(180deg);
    }

    .nav-item.dropdown .dropdown-item {
        background: rgba(255, 255, 255, 0.9);
        margin: 2px 0;
        border-radius: 0.25rem;
        border-bottom: none;
    }

    .nav-item.dropdown .dropdown-item:hover {
        background: rgba(13, 124, 131, 0.1);
        color: var(--primary-color);
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .mobile-menu-btn.active {
        color: var(--primary-color);
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 7rem 0 2rem;
        min-height: 40vh;
        margin-top: 0;
    }
    
    .hero-content {
        padding-top: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    /* Login butonunu ortada konumlandır */
    .hero-buttons .btn-mobile-login {
        order: 3; /* En sona koy */
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile Login Button - sadece mobilde görünür */
    .btn-mobile-login {
        background: transparent;
        color: var(--white);
        border: 2px solid var(--white);
        margin-top: 0.5rem;
        display: none !important; /* Masaüstünde kesinlikle gizli */
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-mobile-login:hover {
        background: var(--white);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }
    
    .btn-mobile-login i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }
    
    /* Sadece mobilde görünür */
    @media (max-width: 768px) {
        .btn-mobile-login {
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: static !important;
            left: auto !important;
        }
    }
    
    /* Sections Mobile */
    .section {
        padding: 3rem 0;
    }
    
    /* Grids Mobile */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards Mobile */
    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .award-card {
        padding: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    /* Typography Mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        padding: 2rem 0 1.5rem;
        min-height: 25vh;
    }
    
    .hero-content {
        padding-top: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    /* Buttons Small Mobile */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 0.5rem;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Small Mobile Login Button */
    .btn-mobile-login {
        max-width: 100%;
        margin-top: 0.75rem;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    /* Cards Small Mobile */
    .card,
    .contact-info,
    .award-card,
    .benefit-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Stats Small Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    /* Typography Small Mobile */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; margin-bottom: 1rem; }
    h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
    h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    
    p { font-size: 0.95rem; line-height: 1.5; }
    
    /* Sections Small Mobile */
    .section {
        padding: 2.5rem 0;
    }
    
    /* Service Icons Small Mobile */
    .service-icon,
    .award-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Forms Small Mobile */
    .form-control {
        padding: 0.875rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Country Popup Small Mobile */
    .country-popup {
        padding: 1.5rem;
        margin: 0.5rem;
        border-radius: 0.75rem;
    }
    
    .country-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .country-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .country-option {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Founder Cards Small Mobile */
    .founder-card {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .founder-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
        margin: 0 auto 1rem;
    }
    
    .founder-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .founder-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .founder-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.85rem;
    }
    
    /* Optimize animations for mobile */
    .fade-in {
        transform: translateY(15px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    
    .fade-in:nth-child(n) {
        transition-delay: 0.05s;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .section {
        padding: 2rem 0;
    }
}

/* Touch-friendly mobile optimization */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .card:hover,
    .award-card:hover,
    .benefit-card:hover,
    .portfolio-item:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(13, 124, 131, 0.3);
    }
    
    /* Desktop Login Button Fix - Updated 2024-12-27 */
    
    /* Make buttons more touch-friendly */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem;
    }
    
    /* Larger touch targets for navigation */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-item {
        min-height: 44px;
        padding: 0.875rem 1rem;
    }
    
    /* Form controls touch-friendly */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .service-icon,
    .award-icon,
    .benefit-icon,
    .founder-avatar {
        border: 1px solid rgba(255,255,255,0.1);
    }
}

/* Landscape orientation mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e5e5e5;
        --text-light: #b0b0b0;
        --text-muted: #888888;
        --light-bg: #1a1a1a;
        --white: #2d2d2d;
        --border-color: #404040;
        --secondary-color: #242424;
    }
    
    .header {
        background: rgba(45, 45, 45, 0.95);
    }
    
    .card,
    .award-card,
    .benefit-card,
    .founder-card {
        background: var(--white);
        border: 1px solid var(--border-color);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none;
    }
    
    .fade-in:nth-child(n) {
        transition-delay: 0s;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Still allow opacity changes but remove transforms */
    .card:hover,
    .award-card:hover,
    .benefit-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .hero,
    .header,
    .footer,
    .mobile-menu-btn,
    .country-popup-overlay {
        display: none;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card,
    .award-card,
    .founder-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
        color: #000;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for groups */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }
.fade-in:nth-child(6) { transition-delay: 0.6s; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Company Story Section */
.company-story {
    background: var(--light-bg);
    padding: 5rem 0;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Awards Section */
.awards {
    background: var(--white);
    padding: 5rem 0;
}

.award-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.award-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.award-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.award-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Founders Section */
.founders {
    background: var(--light-bg);
    padding: 5rem 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.founder-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.founder-image {
    text-align: center;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.founder-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.founder-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.founder-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.founder-details p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.german-team-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

/* Private Equity Education Section */
.pe-education {
    background: var(--white);
    padding: 5rem 0;
}

.pe-content {
    max-width: 1000px;
    margin: 0 auto;
}

.pe-main-info {
    text-align: center;
    margin-bottom: 3rem;
}

.pe-main-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pe-main-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.pe-benefits {
    margin-top: 2rem;
}

.benefit-card {
    background: var(--secondary-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive for New Sections */
@media (max-width: 1024px) {
    .company-story,
    .awards,
    .founders,
    .pe-education {
        padding: 4rem 0;
    }
    
    .award-card {
        padding: 2rem;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pe-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .company-story,
    .awards,
    .founders,
    .pe-education {
        padding: 3rem 0;
    }
    
    /* Company Story Mobile */
    .story-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .story-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    /* Awards Mobile */
    .award-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .award-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .award-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    /* Founders Mobile */
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .founder-avatar {
        margin: 0 auto 1rem;
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .founder-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .founder-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .founder-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .founder-details p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .german-team-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    /* PE Education Mobile */
    .pe-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .pe-main-info {
        margin-bottom: 2rem;
    }
    
    .pe-main-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .pe-main-info p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .pe-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .company-story,
    .awards,
    .founders,
    .pe-education {
        padding: 2.5rem 0;
    }
    
    /* Story Text Small Mobile */
    .story-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    /* Awards Small Mobile */
    .award-card {
        padding: 1.25rem;
    }
    
    .award-card h3 {
        font-size: 1.1rem;
    }
    
    .award-card p {
        font-size: 0.9rem;
    }
    
    /* Founders Small Mobile */
    .founder-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .founder-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }
    
    .founder-content h3 {
        font-size: 1.25rem;
    }
    
    .founder-content h4 {
        font-size: 1rem;
    }
    
    .founder-tagline {
        font-size: 0.95rem;
    }
    
    .founder-details p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* PE Education Small Mobile */
    .pe-main-info h3 {
        font-size: 1.2rem;
    }
    
    .pe-main-info p {
        font-size: 0.95rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .benefit-card h4 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
} 