/* ========================================
   AppandCapital - Ana Stil Dosyası
   Teknoloji Tanıtım Sitesi
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS Değişkenleri
   ======================================== */
:root {
    /* Ana Renkler */
    --primary-navy: #0A1628;
    --primary-navy-light: #1E293B;
    --primary-gold: #C9A227;
    --primary-gold-light: #E5C76B;
    --primary-gold-dark: #9A7B1C;
    --accent-teal: #00A6A6;
    --accent-teal-light: #00D4D4;
    
    /* Nötr Renkler */
    --dark-slate: #1E293B;
    --warm-gray: #64748B;
    --cool-gray: #94A3B8;
    --light-gray: #E2E8F0;
    --off-white: #F8FAFC;
    --pure-white: #FFFFFF;
    
    /* Durum Renkleri */
    --success-green: #10B981;
    --danger-red: #EF4444;
    --warning-amber: #F59E0B;
    --info-blue: #3B82F6;
    
    /* Gradientler */
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    --gradient-navy: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    
    /* Tipografi */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Gölgeler */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Stiller
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-slate);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Tipografi
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--warm-gray);
}

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

a:hover {
    color: var(--primary-gold-dark);
}

/* ========================================
   Navbar
   ======================================== */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar-main.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--pure-white) !important;
    text-decoration: none;
}

.navbar-brand-custom .brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.navbar-nav-custom .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1.25rem !important;
    transition: var(--transition-base);
    position: relative;
}

.navbar-nav-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.navbar-nav-custom .nav-link:hover,
.navbar-nav-custom .nav-link.active {
    color: var(--pure-white) !important;
}

.navbar-nav-custom .nav-link:hover::after,
.navbar-nav-custom .nav-link.active::after {
    width: 70%;
}

.btn-cta-nav {
    background: var(--gradient-gold);
    color: var(--primary-navy) !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition-base);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.navbar-toggler-custom {
    border: none;
    padding: 0.5rem;
    background: transparent;
}

.navbar-toggler-custom .toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    margin: 5px 0;
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-navy);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .carousel-item {
    height: 100vh;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--pure-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .text-gold {
    color: var(--primary-gold);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 5;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev { left: 2rem; }
.hero-slider .carousel-control-next { right: 2rem; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--primary-gold);
}

.hero-slider .carousel-indicators {
    z-index: 5;
    margin-bottom: 2rem;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 0 5px;
    transition: var(--transition-base);
}

.hero-slider .carousel-indicators button.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* ========================================
   Butonlar
   ======================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom {
    background: var(--gradient-gold);
    color: var(--primary-navy);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--primary-navy);
}

.btn-outline-custom {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-custom:hover {
    background: var(--pure-white);
    color: var(--primary-navy);
    border-color: var(--pure-white);
}

.btn-dark-custom {
    background: var(--primary-navy);
    color: var(--pure-white);
}

.btn-dark-custom:hover {
    background: var(--primary-navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Section Stiller
   ======================================== */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--primary-navy);
    color: var(--pure-white);
}

.section-light {
    background: var(--off-white);
}

.section-white {
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary-gold);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-dark .section-title {
    color: var(--pure-white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--warm-gray);
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Hizmet Kartları
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(0, 166, 166, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--primary-gold);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ========================================
   Hakkımızda Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.about-feature h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   İstatistikler
   ======================================== */
.stats-section {
    background: var(--gradient-navy);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.stats-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--pure-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   İletişim Section
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--gradient-navy);
    padding: 3rem;
    color: var(--pure-white);
}

.contact-info h3 {
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.contact-item h5 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--pure-white);
    margin: 0;
    font-size: 1rem;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.contact-form-wrapper {
    padding: 3rem;
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label-custom {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--off-white);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: var(--pure-white);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-control-custom::placeholder {
    color: var(--cool-gray);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-navy);
    color: var(--pure-white);
    padding-top: 5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .navbar-brand-custom {
    margin-bottom: 1.5rem;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--primary-gold);
    margin-top: 3px;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--primary-gold);
}

/* ========================================
   Sayfa Header (İç Sayfalar)
   ======================================== */
.page-header {
    background: var(--gradient-navy);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header h1 {
    color: var(--pure-white);
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-custom .current {
    color: var(--primary-gold);
}

/* ========================================
   Alertler
   ======================================== */
.alert-custom {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success-custom {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success-green);
}

.alert-danger-custom {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger-red);
}

/* ========================================
   Modal
   ======================================== */
.modal-content-custom {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header-custom {
    background: var(--gradient-navy);
    color: var(--pure-white);
    padding: 1.5rem 2rem;
    border: none;
}

.modal-header-custom .modal-title {
    font-family: var(--font-heading);
    color: var(--pure-white);
}

.modal-header-custom .btn-close {
    filter: invert(1);
}

.modal-body-custom {
    padding: 2rem;
}

/* ========================================
   Admin Panel Stiller
   ======================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--gradient-navy);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.admin-nav {
    list-style: none;
    padding: 0 1rem;
}

.admin-nav-item {
    margin-bottom: 0.25rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-weight: 500;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-gold);
}

.admin-nav-link i {
    font-size: 1.125rem;
    width: 24px;
}

.admin-nav-link.danger {
    color: var(--danger-red);
}

.admin-nav-link.danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    background: var(--off-white);
    min-height: 100vh;
}

.admin-header {
    background: var(--pure-white);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-main {
    padding: 2rem;
}

.admin-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.admin-card-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
}

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

.dashboard-stat-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-base);
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.dashboard-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dashboard-stat-icon.gold {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary-gold);
}

.dashboard-stat-icon.teal {
    background: rgba(0, 166, 166, 0.1);
    color: var(--accent-teal);
}

.dashboard-stat-icon.navy {
    background: rgba(10, 22, 40, 0.1);
    color: var(--primary-navy);
}

.dashboard-stat-info h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0;
    line-height: 1;
}

.dashboard-stat-info p {
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* ========================================
   Login Sayfası
   ======================================== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-navy);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.login-header .brand-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-navy);
    margin: 0 auto 1.5rem;
}

.login-header h2 {
    margin-bottom: 0.5rem;
}

.login-header p {
    font-size: 0.95rem;
}

/* ========================================
   App Download Section
   ======================================== */
.app-download-section {
    background: linear-gradient(135deg, #0A1628 0%, #1a2d4a 50%, #0A1628 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.app-download-content {
    position: relative;
    z-index: 1;
}

.app-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--primary-gold);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.app-download-title {
    color: var(--pure-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.app-download-title .highlight {
    color: var(--primary-gold);
    position: relative;
}

.app-download-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--pure-white);
    color: var(--primary-navy);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-navy);
}

.app-store-btn.apple {
    background: #000;
    color: #fff;
}

.app-store-btn.apple:hover {
    background: #1a1a1a;
    color: #fff;
}

.app-store-btn.google {
    background: var(--pure-white);
    color: var(--primary-navy);
}

.app-store-btn i {
    font-size: 1.75rem;
}

.app-store-btn .btn-text {
    text-align: left;
    line-height: 1.2;
}

.app-store-btn .btn-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

.app-store-btn .btn-text span {
    display: block;
    font-size: 1rem;
}

.app-features-mini {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-feature-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.app-feature-mini i {
    color: var(--primary-gold);
}

.app-phone-mockup {
    position: relative;
    text-align: center;
}

.app-phone-mockup img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.app-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Floating App Banner (Sticky) */
.app-floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-navy);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    animation: slideInUp 0.5s ease;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.app-floating-banner.hidden {
    display: none;
}

.app-floating-banner .close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--danger-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-floating-banner .app-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-navy);
}

.app-floating-banner .app-info h6 {
    color: var(--pure-white);
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
}

.app-floating-banner .app-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.75rem;
}

.app-floating-banner .download-btn {
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.app-floating-banner .download-btn:hover {
    background: var(--primary-gold-light);
}

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

@media (max-width: 768px) {
    .app-floating-banner {
        left: 20px;
        right: 20px;
        bottom: 10px;
    }
    
    .app-phone-mockup img {
        max-width: 200px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .app-features-mini {
        justify-content: center;
    }
}

/* ========================================
   404 Sayfası
   ======================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-navy);
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.error-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

/* Delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================
   Responsive Tasarım
   ======================================== */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .admin-sidebar {
        width: 240px;
    }
    
    .admin-content {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: var(--transition-base);
        z-index: 1000;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .navbar-collapse-custom {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-navy);
        padding: 1rem;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        display: none;
    }
    
    .navbar-collapse-custom.show {
        display: block;
    }
    
    .navbar-nav-custom {
        flex-direction: column;
    }
    
    .navbar-nav-custom .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Desktop için sidebar her zaman görünür */
@media (min-width: 769px) {
    .admin-sidebar {
        transform: translateX(0) !important;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gold { color: var(--primary-gold) !important; }
.text-navy { color: var(--primary-navy) !important; }
.text-teal { color: var(--accent-teal) !important; }
.text-white { color: var(--pure-white) !important; }
.text-gray { color: var(--warm-gray) !important; }

.bg-gold { background-color: var(--primary-gold) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-teal { background-color: var(--accent-teal) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   Market Ticker Section
   ======================================== */
.market-ticker {
    background: var(--primary-navy);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.market-ticker .tradingview-widget-container {
    margin: 0 auto;
}

/* ========================================
   Market Overview Section
   ======================================== */
.market-overview-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 1;
}

.market-widget-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.market-widget-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.market-widget-card .tradingview-widget-container {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 1;
}

.market-widget-card .tradingview-widget-container > div[style*="position: absolute"] {
    position: relative !important;
}

.market-widget-card .tradingview-widget-container__widget {
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
}

.market-widget-card .tradingview-widget-container__widget > div {
    overflow: hidden !important;
    max-width: 100% !important;
}

.market-widget-card .tradingview-widget-container iframe {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 8px;
}

/* TradingView copyright link */
.market-widget-card .tradingview-widget-copyright {
    font-size: 11px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hide TradingView popups/modals that appear outside containers */
body > div[class*="tv-"] {
    display: none !important;
}

body > div[style*="position: fixed"] {
    z-index: 1 !important;
}

/* Ensure hero section stays on top */
.hero-section {
    z-index: 10;
}

.hero-overlay {
    z-index: 11;
}

.hero-content {
    z-index: 12;
}

.market-widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-widget-title i {
    font-size: 1.1rem;
}

/* ========================================
   Market Tabs
   ======================================== */
.market-tabs {
    background: var(--pure-white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.market-tabs .nav-link {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--warm-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
}

.market-tabs .nav-link:hover {
    color: var(--primary-navy);
    background: var(--off-white);
}

.market-tabs .nav-link.active {
    background: var(--gradient-gold);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.market-tabs .nav-link i {
    font-size: 0.9rem;
}

/* Market Page Header */
.page-header-modern {
    background: var(--gradient-navy);
    padding: 8rem 0 3rem;
    margin-top: -1px;
}

.page-header-content {
    text-align: center;
}

.page-header-modern .page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.page-header-modern .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.page-header-modern .breadcrumb-item {
    color: var(--cool-gray);
}

.page-header-modern .breadcrumb-item a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header-modern .breadcrumb-item a:hover {
    color: var(--primary-gold-light);
}

.page-header-modern .breadcrumb-item.active {
    color: var(--pure-white);
}

.page-header-modern .breadcrumb-item + .breadcrumb-item::before {
    color: var(--cool-gray);
}

/* Responsive Market Tabs */
@media (max-width: 768px) {
    .market-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .market-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .market-tabs .nav-link span {
        display: none;
    }
    
    .page-header-modern .page-title {
        font-size: 2rem;
    }
}

