/* ==========================================
   MAIN CSS - Mobile Only Design
   ========================================== */

/* CSS Variables - Sade Renk Paleti */
:root {
    /* Colors - Minimal ve Sade */
    --primary-color: #2C3E50;
    --accent-color: #3498db;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Borders */
    --border-radius: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    max-width: 480px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9375rem;
}

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

img:not(.carousel-image) {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    padding: 0 var(--spacing-md);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:active {
    background: #1a252f;
    box-shadow: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    z-index: 10001;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

/* Logo white when navbar is transparent */
.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.navbar.scrolled .logo img {
    filter: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
    margin: -15px 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ==========================================
   MOBILE NAVIGATION - Completely Independent
   ========================================== */

/* Hamburger Menu */
.hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

.hamburger.active span {
    background: white !important;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed !important;
    display: block !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
}

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

/* Mobile Menu */
.nav-menu {
    position: fixed !important;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    padding: 0;
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    gap: 0 !important;
}

.nav-menu.active {
    left: 0;
}

.nav-menu-links {
    padding: 100px 2rem 2rem !important;
    flex: 1;
    list-style: none;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
}

.nav-menu-links li {
    list-style: none;
    margin-bottom: 0.75rem;
    display: block !important;
}

.nav-link {
    position: relative;
    display: block !important;
    padding: 1rem 0 !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    color: white !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease;
    overflow: visible;
    text-decoration: none;
    background: none !important;
}

.nav-link::before {
    display: none !important;
}

.nav-link:active,
.nav-link:hover {
    background: none !important;
    transform: translateX(5px);
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Nav Menu Footer */
.nav-menu-footer {
    padding: 2rem !important;
    border-top: none !important;
    background: transparent !important;
    display: block !important;
}

.nav-social {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem;
    justify-content: center;
}

.social-link {
    width: 56px;
    height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.social-link:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.nav-contact {
    text-align: center;
    display: block !important;
}

.nav-contact p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0.5rem 0;
    font-weight: 400;
}

/* Image Carousel - Mobile */
.image-carousel-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.image-carousel-section .carousel-container {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 70vh;
}

.carousel-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #f0f0f0;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    z-index: 0;
}

.carousel-card.active {
    transform: translateX(0);
    z-index: 1;
}

.carousel-card.prev {
    transform: translateX(-100%);
    z-index: 0;
}

.carousel-pattern {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 50px;
    height: 50px;
    opacity: 0.7;
    z-index: 2;
}

/* Carousel Caption */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.80) 70%, transparent 100%);
    padding: 50px 20px 20px;
    z-index: 3;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.carousel-card.active .carousel-caption {
    transform: translateY(0);
    transition-delay: 0.3s;
}

.carousel-caption h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* Carousel Toast - Mobile */
.carousel-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2C3E50 0%, #34495e 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 14px;
    font-weight: 500;
    max-width: 90%;
    text-decoration: none;
    cursor: pointer;
}

.carousel-toast:active {
    background: linear-gradient(135deg, #34495e 0%, #2C3E50 100%);
    transform: translateX(-50%) scale(0.95);
}

.carousel-toast.show {
    bottom: 100px;
}

.carousel-toast svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.carousel-toast span {
    white-space: nowrap;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    margin-top: var(--spacing-sm);
}

.about-text h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.about-text p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.stat-item {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

/* Footer - Mobile */
.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-main {
    max-width: 100%;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    margin: 0 auto 12px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.footer-social-mobile {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.footer-social-mobile a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition-base);
}

.footer-social-mobile a:active {
    transform: scale(0.95);
}

.footer-social-mobile svg {
    width: 28px;
    height: 28px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
}
