html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .1rem #fff, 0 0 0 .25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background: var(--main-light);
    color: var(--main-dark);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.navbar {
    box-shadow: 0 2px 12px rgba(220, 53, 69, .08);
}

.navbar-brand span {
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 1px 2px 8px #b71c1c44;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color .2s;
}

.nav-link:hover {
    color: #ffe082 !important;
}

section {
    padding: 80px 0 60px 0;
}

h1,
h2,
h3,
h4 {
    color: #b71c1c;
    font-weight: bold;
}

.btn-primary,
.btn-danger {
    background: #d32f2f;
    border: none;
    border-radius: 30px;
    padding: 10px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px #d32f2f22;
}

.btn-primary:hover,
.btn-danger:hover {
    background: #b71c1c;
}

footer {
    background: var(--main-red);
    color: #fff;
    font-size: 1.1rem;
}

::-webkit-scrollbar-thumb {
    background: #d32f2f;
    border-radius: 8px;
}

::-webkit-scrollbar {
    width: 8px;
    background: #fff8f8;
}

/* Animasyonlar */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px #d32f2f33;
    transition: .3s;
}

.carousel-item img {
    object-fit: cover;
    height: 420px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 32px #d32f2f22;
}

.navbar.shrink {
    padding-top: .2rem;
    padding-bottom: .2rem;
    transition: padding .3s;
}

footer .fa-brands {
    font-size: 1.7rem;
    margin: 0 .5rem;
    color: #fff;
    transition: color .2s;
}

footer .fa-brands:hover {
    color: #ffe082;
}

/* Galeri lightbox için overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .85);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 32px #0008;
}

.lightbox.active {
    display: flex;
}

:root {
    --main-red: #8d5524;
    --main-dark: #3e2723;
    --main-light: #f7f3ef;
    --main-brown: #a47551;
    --main-brown-dark: #5d4037;
}

.text-shadow {
    text-shadow: 0 2px 16px #000a, 0 1px 0 #fff2;
}

.card {
    border-radius: 18px;
    transition: box-shadow .2s, transform .2s;
}

.card:hover {
    box-shadow: 0 8px 32px #d32f2f33;
    transform: scale(1.04);
}

footer.bg-dark {
    background: #18191a !important;
}

footer h5 {
    color: #fff;
}

footer a,
footer .text-white-50 {
    color: var(--main-brown) !important;
}

footer a:hover {
    color: #ffe082 !important;
}

footer .form-control {
    background: #232323;
    color: #fff;
    border: none;
}

footer .form-control:focus {
    background: #232323;
    color: #fff;
    border: 1px solid #ffe082;
}

footer .btn-warning {
    background: #ffe082;
    color: #222;
    border: none;
    font-weight: bold;
}

footer .btn-warning:hover {
    background: #ffd54f;
}

footer .fs-4 {
    transition: color .2s;
}

footer .fs-4:hover {
    color: #ffe082 !important;
}

@media (max-width: 991px) {
    .admin-sidebar {
        min-height: auto;
        padding: 1rem;
    }

    .admin-content {
        padding: 1rem;
    }

    footer .row>div {
        margin-bottom: 2rem;
    }
}

.footer-social-icon {
    color: var(--main-light) !important;
    font-size: 1.7rem;
    background-color: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    align-items: normal;
    justify-content: normal;
    transition: color .2s, transform .2s;
    box-shadow: none !important;
}

.footer-social-icon:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
    transform: scale(1.12);
}

@media (max-width: 991px) {
    .footer-social-icon {
        font-size: 1.5rem;
        width: auto !important;
        height: auto !important;
    }
}

.footer-form .form-control,
.footer-form textarea {
    background: #232323;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
}

.footer-form .form-control:focus,
.footer-form textarea:focus {
    background: #232323;
    color: #fff;
    border: 1px solid #ffe082;
    box-shadow: 0 0 0 2px #ffe08244;
}

.footer-form .btn-warning {
    background: #ffe082;
    color: #222;
    border: none;
    font-weight: bold;
    border-radius: 8px;
}

.footer-form .btn-warning:hover {
    background: #ffd54f;
}

@media (max-width: 991px) {
    .footer-social-icon {
        font-size: 1.5rem;
        width: 38px;
        height: 38px;
    }

    .footer-form .btn-warning {
        width: 100%;
    }
}

.animate__animated {
    animation-duration: 1s;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__zoomIn {
    animation-name: zoomIn;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

.animate__delay-3s {
    animation-delay: 3s;
}

.animate__delay-4s {
    animation-delay: 4s;
} 