/* General Styles */
:root {
    --primary-color: #D72638;
    --secondary-color: #181818;
    --text-color: #222;
    --light-color: #fff;
    --gray-color: #f7f7f7;
    --accent-color: #D72638;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: var(--text-color);
    background: var(--gray-color);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

/* Header Styles */
.header, .glass-header {
    background: var(--secondary-color) !important;
    color: var(--light-color);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    border-bottom: 2px solid var(--primary-color);
}

.header .navbar-brand .logo {
    height: 54px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}

.text-gradient {
    background: linear-gradient(90deg, #D72638 0%, #181818 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Navbar link animasyonları */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    position: relative;
    transition: color 0.2s, background 0.2s;
    padding: 8px 18px !important;
    border-radius: 8px;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(215,38,56,0.08);
}

.navbar-nav .nav-link.nav-anim::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D72638, #181818);
    transition: width 0.3s;
    position: absolute;
    left: 18px;
    bottom: 6px;
    border-radius: 2px;
}
.navbar-nav .nav-link.nav-anim:hover::after,
.navbar-nav .nav-link.nav-anim.active::after {
    width: 60%;
}

/* Gradient animasyonlu buton */
.btn-gradient-anim, .btn-primary {
    background: linear-gradient(90deg, #D72638, #181818 90%);
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 12px 0 rgba(215,38,56,0.10);
    transition: background-position 0.5s, box-shadow 0.2s, transform 0.2s;
    background-size: 200% 200%;
    animation: gradientMove 3s linear infinite;
}
.btn-gradient-anim:hover, .btn-primary:hover, .btn-primary:focus {
    background-position: 100% 0;
    color: #fff !important;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 24px 0 rgba(215,38,56,0.18);
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Card Styles */
.card {
    border: 1.5px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(215,38,56,0.06);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1), box-shadow 0.3s, border 0.3s;
    background: #fff;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    border: 1.5px solid var(--primary-color);
    box-shadow: 0 8px 32px 0 rgba(215,38,56,0.13);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.card-body {
    padding: 1.5rem;
}
.card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Footer Styles */
.footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--primary-color);
}

.footer h5, .footer a {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .list-unstyled a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Animasyonlar ve hover efektleri */
.blog-card-anim { transition: transform 0.4s cubic-bezier(.77,0,.18,1), box-shadow 0.3s; }
.blog-card-anim:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 8px 32px 0 rgba(215,38,56,0.18); border-color: var(--primary-color); }
.gallery-img-anim { transition: transform 0.4s cubic-bezier(.77,0,.18,1), box-shadow 0.3s; }
.gallery-img-anim:hover { transform: scale(1.08) rotate(-2deg); box-shadow: 0 8px 32px 0 rgba(215,38,56,0.18); z-index:2; }

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #D72638, #181818);
    border-radius: 8px;
}
::-webkit-scrollbar {
    width: 8px;
    background: #eee;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 18px !important;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-categories-bar {
        flex-direction: column;
        gap: 8px !important;
        padding: 16px !important;
    }
    
    .feature-box {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container, .main-content, .section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    h1, h2, h3 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero {
        min-height: auto !important;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        letter-spacing: -1px !important;
    }
    
    .hero img {
        max-height: 300px !important;
        margin-top: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-collapse {
        background: var(--secondary-color);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .navbar-nav {
        gap: 0.5rem !important;
    }
    
    .sizden-gelenler-img-wrapper {
        margin-bottom: 1rem;
    }
    
    .hero-categories-bar {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px !important;
        padding: 12px !important;
        justify-content: center;
    }
    .hero-categories-bar span {
        font-size: 0.95rem;
        padding: 0 8px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    h1, h2, h3 {
        font-size: 1.2rem !important;
    }
    .modal-dialog {
        max-width: 99vw;
        margin: 1rem auto;
    }
    .display-4, .section .display-4, .section-title h2 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        word-break: keep-all;
        white-space: normal;
        text-align: center !important;
    }
    .section .display-4.mb-4 {
        margin-bottom: 1rem !important;
    }
    .hero h1 {
        font-size: 1.8rem !important;
    }
    .section {
        padding: 2rem 0;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
    
    .btn-gradient-anim {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .card:hover,
    .blog-card-anim:hover,
    .gallery-img-anim:hover {
        transform: none;
    }
    
    .btn-gradient-anim:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link.nav-anim::after {
        display: none;
    }
}

/* Mobile Menu Animation */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.collapsing {
    height: 0;
    overflow: hidden;
}

.navbar-collapse.show {
    height: auto;
}

/* Mobile Image Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Form Optimizations */
input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
}

/* Mobile Button Optimizations */
.btn {
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation Optimizations */
.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Mobile Footer Optimizations */
.footer {
    padding: 2rem 0 1rem;
}

.footer .col-md-4 {
    margin-bottom: 2rem;
}

/* Mobile Gallery Optimizations */
.sizden-gelenler-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sizden-gelenler-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Mobile Loading Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sizden-gelenler-img-wrapper {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sizden-gelenler-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Mobil Optimizasyon Başlangıç */
@media (max-width: 768px) {
    .container, .main-content, .section {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .card {
        margin-bottom: 16px !important;
        word-break: break-word;
    }
    h1, h2, h3 {
        font-size: 1.5rem !important;
    }
    .sidebar {
        min-height: auto;
        padding: 0.5rem;
    }
    .modal-dialog {
        max-width: 95vw;
        margin: 1.75rem auto;
    }
    .table-responsive {
        overflow-x: auto;
    }
    .table {
        font-size: 0.95rem;
    }
    .logo, img {
        max-width: 100%;
        height: auto;
    }
    .btn, .form-control {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    .category-filter ul.nav {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .category-filter .nav-link {
        margin-bottom: 6px;
    }
}
@media (max-width: 576px) {
    h1, h2, h3 {
        font-size: 1.2rem !important;
    }
    .modal-dialog {
        max-width: 99vw;
        margin: 1rem auto;
    }
}
/* Mobil Optimizasyon Sonu */ 