/* ========================================
   ÇOK YAKIN ÇEKİCİ - DESIGN SYSTEM v2
   Consistent Color Palette - Only Yellow & Dark Gray
   ======================================== */

/* ===== STRICT COLOR PALETTE ===== */
:root {
    /* Brand Colors - ONLY THESE TWO */
    --brand-yellow: #FFD700;
    --brand-yellow-dark: #FFC700;
    --brand-dark: #1c2023;
    --brand-dark-light: #2d3238;
    
    /* Neutral Colors */
    --text-primary: #1c2023;
    --text-secondary: #6c757d;
    --text-on-dark: rgba(255,255,255,0.9);
    --text-muted: rgba(255,255,255,0.6);
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1c2023;
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-yellow: 0 10px 30px rgba(255,215,0,0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL OVERRIDES - Ensure Consistency ===== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove any green, blue, or other colors */
.text-success,
.text-primary,
.text-info,
.text-green,
.bg-success,
.bg-primary,
.bg-info {
    color: var(--brand-yellow) !important;
    background-color: transparent !important;
}

/* Force all check icons to be yellow */
.fa-check,
.fa-check-circle,
.fas.fa-check,
.fas.fa-check-circle {
    color: var(--brand-yellow) !important;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    background: var(--bg-white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: var(--text-primary) !important;
    margin-bottom: 1rem;
    display: block !important;
}

.card-body h3,
.card-body h4 {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* White text on dark backgrounds */
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
section[style*="background: linear-gradient(135deg, #1c2023"] h1,
section[style*="background: linear-gradient(135deg, #1c2023"] h2,
section[style*="background: linear-gradient(135deg, #1c2023"] h3 {
    color: var(--text-on-dark) !important;
}

/* Yellow accent text */
.text-yellow,
.text-brand {
    color: var(--brand-yellow) !important;
}

/* ===== BUTTONS - Consistent Styling ===== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-warning,
.btn-primary,
.btn-yellow {
    background-color: var(--brand-yellow) !important;
    color: #000 !important;
    border: none !important;
}

.btn-dark,
.btn-secondary {
    background-color: var(--brand-dark) !important;
    color: #fff !important;
    border: none !important;
}

.btn-outline-dark {
    background: transparent !important;
    color: var(--brand-dark) !important;
    border: 2px solid var(--brand-dark) !important;
}

/* Hover effects - Desktop only */
@media (hover: hover) and (min-width: 768px) {
    .btn-warning:hover,
    .btn-yellow:hover {
        background-color: var(--brand-yellow-dark) !important;
        transform: translateY(-3px);
        box-shadow: var(--shadow-yellow) !important;
    }
    
    .btn-dark:hover {
        background-color: var(--brand-dark-light) !important;
        transform: translateY(-2px);
    }
    
    .btn-outline-dark:hover {
        background: var(--brand-dark) !important;
        color: #fff !important;
    }
}

/* ===== LINKS ===== */
a {
    color: var(--brand-yellow);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--brand-yellow-dark);
}

/* Links on dark backgrounds */
.bg-dark a,
section[style*="background: linear-gradient"] a {
    color: var(--text-on-dark);
}

.bg-dark a:hover {
    color: var(--brand-yellow);
}

/* ===== ICONS ===== */
.fa, .fas, .far, .fal, .fab {
    color: inherit;
}

/* Yellow icons */
.icon-yellow,
[style*="color: #FFD700"],
[style*="color:#FFD700"] {
    color: var(--brand-yellow) !important;
}

/* ===== CARDS ===== */
.card {
    border: none;
    background: var(--bg-white);
    border-radius: 18px;
}

@media (hover: hover) and (min-width: 768px) {
    .card {
        transition: var(--transition-smooth);
    }
}

/* ===== BADGES ===== */
.badge,
.section-badge {
    background-color: var(--brand-yellow) !important;
    color: #000 !important;
    font-weight: 700;
    border: none;
}

/* ===== BACKGROUNDS ===== */
.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark,
.bg-dark-brand {
    background-color: var(--brand-dark) !important;
}

.bg-yellow,
.bg-brand {
    background-color: var(--brand-yellow) !important;
}

/* ===== BORDERS ===== */
.border-yellow,
.border-brand {
    border-color: var(--brand-yellow) !important;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card-img-top {
    width: 100%;
    object-fit: cover;
    background: #f0f0f0;
}

/* ===== STICKY CALL BUTTON (Mobile) ===== */
#stickyCallBtn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1025;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
    padding: 15px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out;
}

#stickyCallBtn a {
    color: #000 !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#stickyCallBtn:active {
    transform: scale(0.98);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    body {
        padding-bottom: 70px !important;
    }
}

/* ===== SCROLL TO TOP (Desktop) ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--brand-yellow);
    color: #000;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 1020;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--brand-yellow-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-yellow);
}

/* ===== GALLERY ===== */
.gallery-item {
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.gallery-overlay {
    background: rgba(255, 215, 0, 0.9) !important;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 991px) {
    h1 { font-size: clamp(1.75rem, 5vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem) !important; }
    h3 { font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important; }
}

@media (max-width: 575px) {
    body { font-size: 14px; }
    h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
    h2 { font-size: clamp(1.3rem, 5vw, 1.75rem) !important; }
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    overflow: hidden;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* ===== UTILITIES ===== */
.text-yellow { color: var(--brand-yellow) !important; }
.bg-yellow { background-color: var(--brand-yellow) !important; }
.border-yellow { border-color: var(--brand-yellow) !important; }

/* ===== PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT ===== */
@media print {
    header, footer, .btn, #stickyCallBtn, #backToTop {
        display: none !important;
    }
    body {
        padding: 0 !important;
        background: white !important;
        color: black !important;
    }
}
