/* Platform Project - Main Stylesheet */
:root {
    --navy: #3D3A8C;
    --navy-dark: #2D2A6C;
    --cyan: #50C8E8;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}
.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}
.nav.scrolled .nav-logo img { height: 60px; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav.scrolled .nav-links a { color: var(--gray-700); }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-cta {
    background: var(--cyan);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--navy); transform: translateY(-2px); }

/* Language Toggle */
.lang-toggle { display: flex; align-items: center; gap: 0.25rem; }
.lang-btn {
    padding: 0.4rem 0.7rem;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav.scrolled .lang-btn { border-color: var(--gray-300); color: var(--gray-600); }
.lang-btn.active { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.lang-btn:hover:not(.active) { border-color: var(--cyan); color: var(--cyan); }

/* Bilingual Content */
[data-lang-tr] { display: none; }
body.lang-tr [data-lang-en] { display: none; }
body.lang-tr [data-lang-tr] { display: block; }
body.lang-tr span[data-lang-tr], body.lang-tr a[data-lang-tr] { display: inline; }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--white); transition: all 0.3s ease; }
.nav.scrolled .mobile-menu-btn span { background: var(--navy); }
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 1.5rem; font-weight: 600; }

/* FULL SCREEN HERO */
.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background: url('../images/hero/bosphorus.jpg') center center / cover no-repeat;
}
.hero-fullscreen::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}
.hero-fullscreen-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    margin-top: 18vh;
}
.hero-fullscreen h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: none;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}
.hero-fullscreen h1 span {
    display: block;
}
.hero-fullscreen .btn {
    margin-top: 0.75rem;
    padding: 0.6rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}
.hero-fullscreen .btn:hover { background: var(--white); color: var(--navy); }

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

/* Page Hero */
.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 80%; height: 150%;
    background: radial-gradient(circle, rgba(80, 200, 232, 0.15) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; }

/* Sections */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
    display: inline-block;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--navy); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* Stats Section */
.stats-section { padding: 4rem 0; background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.stat-number { font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.5rem; }
.stat-number span { color: var(--cyan); }
.stat-label { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); font-weight: 500; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Cards */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(61, 58, 140, 0.15); }
.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.1); }
.card-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--cyan);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.card-content { padding: 1.5rem; }
.card-location { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 0.5rem; }
.card-location svg { width: 16px; height: 16px; fill: var(--cyan); }
.card-content h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 0.75rem; }
.card-content p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(61, 58, 140, 0.1); }
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--navy) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--white); }
.service-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 1rem; }
.service-card p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.service-stat {
    display: inline-block;
    background: var(--gray-100);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #128C7E; }

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}
.project-modal.active { display: block; }
.modal-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 44px; height: 44px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.modal-close svg { width: 24px; height: 24px; fill: var(--gray-700); }
.modal-gallery { position: relative; height: 450px; background: var(--gray-900); }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.gallery-nav:hover { background: var(--cyan); }
.gallery-nav svg { width: 24px; height: 24px; fill: var(--navy); }
.gallery-nav:hover svg { fill: var(--white); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-100);
    overflow-x: auto;
}
.gallery-thumb {
    width: 80px; height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; box-shadow: 0 0 0 3px var(--cyan); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 2rem; }
.modal-info h2 { font-size: 2rem; color: var(--navy); margin-bottom: 0.5rem; }
.modal-location { display: flex; align-items: center; gap: 0.5rem; color: var(--cyan); font-weight: 500; margin-bottom: 1.5rem; }
.modal-location svg { width: 18px; height: 18px; fill: var(--cyan); }
.modal-description { color: var(--gray-600); font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }
.modal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.modal-feature { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--gray-50); border-radius: 12px; }
.modal-feature svg { width: 24px; height: 24px; fill: var(--cyan); }
.modal-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; color: var(--gray-700); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(80, 200, 232, 0.1);
}

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.footer h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; }
.footer-contact-item svg { width: 20px; height: 20px; fill: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; }
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
    .nav-links, .nav-cta, .lang-toggle { display: none; }
    .mobile-menu-btn { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-fullscreen h1 { letter-spacing: 0.15em; }
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-gallery { height: 300px; }
    .hero-fullscreen h1 { font-size: 2.5rem; }
}
