:root {
    --brand-navy: #1E293B;
    --brand-gold: #006AFF;
    --brand-light: #F8FAFC;
    --brand-gray: #64748B;
}

/* BASE RESETS */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--brand-gold);
    color: white;
}

body {
    font-family: 'Outfit', sans-serif;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-navy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold);
}

/* ANIMATIONS */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* UTILITIES */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #334155 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #D4AF37 100%);
    box-shadow: 0 10px 20px -10px rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* CARD HOVER EFFECTS */
.hover-card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
}

/* TESTIMONIALS CUSTOM STYLES */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--brand-gold);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-left-width: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.star-rating {
    color: #FFB800;
    filter: drop-shadow(0 1px 2px rgba(255, 184, 0, 0.3));
}

/* FAQ CUSTOM STYLES */
.faq-item summary {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-item summary:hover {
    background-color: #f8fafc;
}

.faq-item[open] summary {
    color: var(--brand-gold);
    border-bottom: 2px solid var(--brand-gold);
}

.faq-item details[open] {
    animation: fadeInUp 0.3s ease-out;
}

/* NEIGHBORHOOD GRID */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .neighborhood-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-cta-fixed {
        padding-bottom: 70px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
}

/* PROSE ENHANCEMENTS FOR DYNAMIC ARTICLES */
.prose-enhanced {
    color: #475569;
}

.prose-enhanced h2 {
    color: var(--brand-navy);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--brand-gold);
    position: relative;
}

.prose-enhanced h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
}

.prose-enhanced h3 {
    color: var(--brand-navy);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.prose-enhanced h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--brand-gold);
    border-radius: 2px;
}

.prose-enhanced p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #475569;
}

.prose-enhanced strong {
    color: var(--brand-navy);
    font-weight: 600;
}

.prose-enhanced ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.prose-enhanced ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.prose-enhanced ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: bold;
    font-size: 1.2em;
}

.prose-enhanced a {
    color: var(--brand-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.prose-enhanced a:hover {
    color: var(--brand-navy);
}

/* LOADING SKELETON */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* TRUST BADGES */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 160, 89, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-navy);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(197, 160, 89, 0.2);
    transform: translateY(-2px);
}

.trust-badge i {
    color: var(--brand-gold);
}

/* SCHEMA ENHANCEMENT VISUAL CUES */
.schema-optimized {
    position: relative;
}

.schema-optimized::after {
    content: "SEO Optimize";
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-gold);
    color: white;
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.schema-optimized:hover::after {
    opacity: 1;
}

/* SMOOTH TRANSITIONS */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

a, button, input, select, textarea {
    transition-duration: 0.2s;
}

/* FOCUS STATES */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* PRINT STYLES */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* CUSTOM SCROLLBAR FOR SIDEBAR */
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 3px;
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* IMAGE OPTIMIZATION */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* PERFORMANCE OPTIMIZATIONS */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* CUSTOM ANIMATIONS FOR CTAs */
@keyframes bounce-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce-gentle {
    animation: bounce-gentle 2s ease-in-out infinite;
}

/* WHATSAPP BUTTON PULSE */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

a[href*="wa.me"] {
    animation: whatsapp-pulse 2s infinite;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* DARK MODE SUPPORT (Optional) */
@media (prefers-color-scheme: dark) {
    /* Dark mode desteği eklenebilir */
}