/* 
 * Meleni Köy Evi - Ana Stil Dosyası
 * Karadeniz bölgesindeki otantik köy evi tanıtım sitesi
 */

:root {
    --primary-color: #2E7D32;
    --secondary-color: #795548;
    --accent-color: #FF9800;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-primary: 'Rubik', sans-serif;
    --font-secondary: 'Spectral', serif;
}

/* Genel Stil Ayarları */
body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h2.display-4 {
    font-size: 3rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
}

.lead.fs-4 {
    font-size: 1.4rem !important;
}

.divider {
    display: inline-block;
    margin: 1rem 0;
}

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

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
}

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

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

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

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

/* Header Stilleri */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
}

/* Logo metin stili */
.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text .fw-light {
    font-weight: 300;
}

.logo-text .fw-bold {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
}

.navbar-toggler {
    border: none;
}

/* Ana Sayfa Slider */
#homeSlider {
    margin-top: -1px;
}

.carousel-item {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

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

/* Tam boyutlu slider resmi için */
.slider-full img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center center;
}

/* Slider.jpeg için özel stil - artık kullanılmıyor */
.slider-item {
    background-color: rgba(0,0,0,0.03);
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.slider-item img {
    object-fit: contain;
    max-height: 65vh;
    max-width: 90%;
    width: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.carousel-caption {
    bottom: 30%;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    max-width: 800px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Özellikler Bölümü */
.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Galeri */
.gallery-item {
    display: block;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 10px;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0;
}

.footer-links {
    list-style-type: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #ddd;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: #fff;
}

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

/* WhatsApp Butonu */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* İçerik Sayfaları */
.page-header {
    padding: 6rem 0;
    background-color: var(--light-color);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Responsive Ayarlar */
@media (max-width: 991.98px) {
    .carousel-caption {
        bottom: 25%;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .carousel-item {
        height: 85vh;
        min-height: 550px;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 75vh;
        min-height: 450px;
    }
    
    .slider-item img {
        max-height: 50vh;
        max-width: 95%;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .page-header {
        padding: 4rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-preview .gallery-item img {
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Yardımcı Sınıflar */
.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

/* Zaman Çizelgesi (Timeline) Stilleri */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:after {
    content: "";
    display: table;
    clear: both;
}

.timeline-item .timeline-content {
    width: 45%;
    padding: 20px 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    float: left;
    transition: all 0.3s ease;
}

.timeline-item .timeline-content.right {
    float: right;
}

.timeline-item .timeline-content h3 {
    margin: 0 0 15px;
    color: var(--primary-color);
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 8px;
}

.timeline-item .timeline-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.timeline-item .timeline-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.timeline-item .timeline-content:before {
    content: "";
    position: absolute;
    top: 20px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.05);
}

.timeline-item .timeline-content.right:before {
    right: auto;
    left: -15px;
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.05);
}

.timeline-dot {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 20px;
    margin-left: -15px;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.timeline-item .timeline-content img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Zaman Çizelgesi Mobil Düzenlemeler */
@media only screen and (max-width: 767px) {
    .timeline:before {
        left: 40px;
    }
    
    .timeline-item .timeline-content {
        width: calc(100% - 90px);
        float: right;
    }
    
    .timeline-item .timeline-content.right {
        float: right;
    }
    
    .timeline-item .timeline-content:before {
        left: -15px;
        right: auto;
        box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.05);
    }
    
    .timeline-dot {
        left: 40px;
    }
    
    .timeline-item .timeline-content img {
        height: 180px;
    }
}

/* Ekip Üyeleri Stilleri */
.team-img {
    height: 260px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.card-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Gelişmiş Galeri Stilleri */
.gallery-item {
    display: block;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 10px;
}

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

.gallery-preview .gallery-item img {
    height: 220px;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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