/*
 * Davul Zurna Web Sitesi - Ana Stil Dosyası
 * 
 * Bu dosya, web sitesinin tüm stil tanımlamalarını içerir.
 * Bootstrap ile uyumlu olarak özelleştirilmiş stiller burada tanımlanır.
 */

/* Global Stiller */
:root {
    --primary-color: #B76E79; /* Gül kurusu tonu */
    --secondary-color: #1D3557; /* Koyu mavi */
    --light-color: #F1FAEE;
    --dark-color: #1D3557;
    --accent-color: #ffc107; /* Altın/sarı ton - davul motiflerini yansıtıyor */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --white: #ffffff;
    --gradient: linear-gradient(145deg, var(--primary-color), #d88c96);
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

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

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

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

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.section {
    padding: 5rem 0;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Top Bar Stili - Yeni Eklendi */
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-info li {
    margin-right: 20px;
}

.top-info li a {
    color: white;
    display: inline-flex;
    align-items: center;
}

.top-info li span.info-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.top-info li a:hover {
    color: var(--accent-color);
}

.top-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.top-social li {
    margin-left: 15px;
}

.top-social li a {
    color: white;
    font-size: 14px;
}

.top-social li a:hover {
    color: var(--accent-color);
}

/* Header Stili - Güncellendi */
.navbar {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.navbar-scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
}

.navbar-brand {
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.brand-text {
    color: var(--primary-color);
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 50px;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 1.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-nav .nav-link {
    padding: 1.2rem 1rem;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

/* Offcanvas Mobil Menü Stili - Yeni */
.offcanvas {
    background-color: var(--light-color);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-title {
    color: white;
    font-family: var(--font-secondary);
}

.btn-close {
    filter: brightness(0) invert(1);
}

.offcanvas-body .nav-link {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-link::after {
    display: none;
}

.mobile-contact-info {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    margin-top: 1rem;
}

.mobile-contact-info a {
    color: var(--primary-color);
}

.mobile-social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hero Section Stili */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-color);
}

.hero-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Hizmetlerimiz Section Stili */
.services-card {
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.services-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.services-card-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.services-card-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 32px;
    display: inline-block;
    text-align: center;
}

/* Hizmet kartları için resim stilleri */
.service-img-container {
    height: 200px;
    overflow: hidden;
}

.service-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-card:hover .service-img {
    transform: scale(1.05);
}

/* Hakkımızda Section Stili */
.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding: 2rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* İletişim Section Stili */
.contact-info {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-color);
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Harita Stili */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Footer Stili */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact a {
    color: white;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--dark-color);
    padding: 1.5rem 0;
    text-align: center;
}

/* Animasyon Stilleri */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Ayarlamalar */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }
    
    .navbar-nav .nav-link::after {
        bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-img {
        margin-bottom: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    /* Üst bilgi çubuğu stilini düzenle */
    .top-bar {
        text-align: left;
        padding: 8px 0;
    }
    
    .top-bar .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .top-info, 
    .top-social {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .top-social {
        justify-content: flex-end;
        margin-top: 0;
    }
    
    /* Mobil için telefon numarasını göster ama yazı boyutunu küçült */
    .top-info li span.info-text {
        display: inline-block;
        font-size: 12px;
    }
    
    /* Mobilde telefon ikonunu belirgin yap */
    .top-info li i.fas.fa-phone {
        font-size: 14px;
        padding: 3px;
        margin-right: 2px !important;
    }
    
    /* Sosyal medya ikonlarını mobil için uygun boyutlandır */
    .top-social li {
        margin-left: 8px;
    }
    
    .top-social li a {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .brand-text {
        font-size: 1.2rem;
        max-width: 160px;
    }
    
    /* Çok küçük ekranlar için üst bilgi çubuğundaki telefon yazı boyutunu düzenle */
    .top-info li span.info-text {
        font-size: 11px;
    }
    
    /* Çok küçük ekranlarda sosyal medya ikonlarını daha sık yerleştir */
    .top-social li {
        margin-left: 6px;
    }
    
    /* WhatsApp ikonunu her zaman görünür yap */
    .top-social li:nth-child(3) {
        display: inline-block !important;
    }
}

/* Eski fixed-top navbar stilini kaldırıyoruz */
.body-with-fixed-nav { 
    padding-top: 0; 
}

/* Hakkımızda ve İletişim Bölümleri Arası Düzenleme */
#hakkimizda.section {
    padding-bottom: 0;
}
#iletisim.section {
    padding-top: 2rem;
}
