/* 
* Ayselin Turşuları - Ana CSS Dosyası
* Tasarım: Estetik, Profesyonel, Modern
*/

/* =========== GENEL STILLER =========== */
:root {
    /* Ana Renkler */
    --primary-color: #2F5233;       /* Koyu yeşil - Ana marka rengi */
    --secondary-color: #E5853D;     /* Turuncu - Vurgu rengi */
    --tertiary-color: #EADBCB;      /* Krem - Yumuşak arkaplan */
    --text-color: #333333;          /* Metin rengi */
    --light-color: #F8F9FA;         /* Beyaz tonu */
    --dark-color: #3D2C17;          /* Kahverengi - Koyu vurgu */
    --accent-color: #D15757;        /* Kırmızı - Aksan rengi */
    
    /* Geçiş Süreleri */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-weight: 700;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width var(--transition-medium);
}

.section-title:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* =========== ÜST BİLGİ ÇUBUĞU =========== */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
}

.top-bar small {
    margin-right: 15px;
}

.social-icon {
    color: white;
    font-size: 0.9rem;
    margin-left: 15px;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* =========== NAVBAR =========== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand img.logo {
    height: 50px;
}

/* Yuvarlak Logo Çerçevesi */
.rounded-circle-logo {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    border: 3px solid #E5853D !important;
    object-fit: contain !important;
    background-color: white !important;
    padding: 5px !important;
    display: inline-block !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.brand-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-left: 10px;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    position: relative;
}

.brand-text:after {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

.navbar .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 80%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

/* =========== HERO BÖLÜMÜ =========== */
.hero-section {
    background-color: var(--tertiary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-medium);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Karusel görselleri için sabit boyut */
#heroCarousel {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

#heroCarousel .carousel-inner {
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========== ÖNE ÇIKAN ÜRÜNLER =========== */
.featured-products {
    padding: 80px 0;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-medium);
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    font-weight: 500;
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-text {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: auto;
}

.product-weight {
    color: var(--dark-color);
    font-weight: 500;
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 3px 12px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
}

.product-more {
    color: var(--secondary-color);
    font-weight: 600;
}

/* =========== HAKKIMIZDA BÖLÜMÜ =========== */
.about-section {
    padding: 80px 0;
    background-color: var(--tertiary-color);
    position: relative;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.about-content {
    padding: 30px;
}

.mission-vision-box {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.mission-vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-vision-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-vision-text {
    font-size: 0.95rem;
}

/* =========== ÜRÜNLER SAYFASI =========== */
.products-section {
    padding: 80px 0;
}

.product-filter {
    margin-bottom: 40px;
}

.filter-button {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--primary-color);
    color: white;
}

/* =========== İLETİŞİM SAYFASI =========== */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    background-color: var(--tertiary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text h5 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(47, 82, 51, 0.2);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* =========== FOOTER =========== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-text {
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-quote {
    font-style: italic;
    opacity: 0.8;
    border-left: 2px solid var(--secondary-color);
    padding-left: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-social .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 0;
}

.footer-social .social-icon:hover {
    background-color: var(--secondary-color);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========== BACK TO TOP BUTTON =========== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 99;
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* =========== DUYARLILIĞA GÖRE UYARLAMA =========== */
@media (max-width: 992px) {
    .hero-section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .about-content {
        padding: 15px 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-section {
        text-align: center;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .filter-button {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-img-container {
        height: 200px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* =========== ANİMASYONLAR =========== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========== ÖZEL EFEKTLER =========== */
.premium-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.bg-pattern {
    background-color: var(--tertiary-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232f5233' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Sosyal Paylaşım Butonları */
.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

.social-share-btn.facebook {
    background-color: #3b5998;
}

.social-share-btn.twitter {
    background-color: #1da1f2;
}

.social-share-btn.whatsapp {
    background-color: #25d366;
}

/* Gramaj Seçenekleri */
.gramaj-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.gramaj-option {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: default;
}

.gramaj-option:hover {
    background-color: #f5f5f5;
}

.gramaj-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Ürün Sekmeleri Stili */
.nav-tabs {
    border-bottom: none;
    margin-bottom: 0;
}

.nav-tabs .nav-item {
    margin-right: 5px;
}

.nav-tabs .nav-link {
    color: var(--text-color);
    font-weight: 500;
    border: 1px solid #e9e9e9;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: white;
    border-color: #ddd;
    border-bottom: 1px solid white;
    position: relative;
    z-index: 2;
}

.tab-content {
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    top: -1px;
    z-index: 1;
} 

/* =========== İLETİŞİM BÖLÜMLERİ =========== */
.contact-item {
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    display: block;
} 

/* Sosyal Medya İkonları - Mobil Uyumluluk */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon-link:hover {
    background: white;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 133, 61, 0.3);
}

/* Mobil cihazlarda daha büyük ikonlar */
@media (max-width: 768px) {
    .social-icon-link {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .social-icons {
        gap: 20px;
        justify-content: center;
    }
    
    .contact-social {
        text-align: center;
    }
} 