/**
 * Nisa Pastanesi - Ana CSS Dosyası
 * Geliştirici: Vedat Ardil - www.vedatardil.com.tr
 */

/* Global Stiller */
:root {
    --primary-color: #F8C8DC; /* Pastel pembe */
    --secondary-color: #F9E4D4; /* Krem */
    --accent-color: #A67C52; /* Kahverengi */
    --text-color: #5D4037; /* Koyu kahverengi (metin için) */
    --light-color: #FFF9F5; /* Çok açık krem (arka plan için) */
    --dark-color: #3E2723; /* Çok koyu kahverengi */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

/* Pastane stili için el yazısı fontunu kullan */
.script-font, .logo-text, .hero-title, .section-title {
    font-family: 'Dancing Script', cursive;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Navbar Stilleri */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.8rem 1rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.navbar-light .navbar-nav .nav-link.active:after,
.navbar-light .navbar-nav .nav-link:hover:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0.5rem;
    left: 25%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Bölümü */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Öne Çıkan Ürünler */
.featured-product {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Hakkımızda Bölümü */
.about-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Yorumlar Bölümü */
.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial:after {
    content: "\201D";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.rating {
    color: #FFD700;
}

/* Galeri */
.gallery-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

/* İletişim Formu */
.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.8rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 200, 220, 0.25);
}

/* Footer */
footer {
    background-color: #2d1f1a; /* var(--dark-color) değeri yerine biraz daha açık ton */
}

footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
}

footer h5:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--primary-color);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Stiller */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar .col-md-6:last-child {
        margin-top: 0.5rem;
    }
}

/* Slider Stilleri */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-position: center;
    background-size: cover;
}

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

.hero-slider .carousel-caption {
    bottom: 100px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-slider .carousel-caption.text-dark {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-slider .slider-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-slider .carousel-caption.text-dark .slider-title {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-slider .carousel-indicators {
    bottom: 30px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-slider .carousel-control-prev {
    left: 20px;
}

.hero-slider .carousel-control-next {
    right: 20px;
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-slider .carousel-caption {
        bottom: 50px;
        padding: 20px;
    }
    
    .hero-slider .slider-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-slider .carousel-caption {
        bottom: 30px;
        padding: 15px;
    }
    
    .hero-slider .slider-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero-slider .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Icon Box Stilleri */
.icon-box {
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #f8f9fa;
}

.icon-box .icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

.icon-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.icon-box p {
    color: #6c757d;
    margin-bottom: 0;
}

.icon-box.lg .icon {
    font-size: 4rem;
}

.icon-box.sm {
    padding: 1.5rem;
}

.icon-box.sm .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
} 