/* Global Stiller */
:root {
    --primary-color: #2e1a47;
    --secondary-color: #4a3166;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --grey-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
    padding-top: 76px;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

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

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

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

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

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

.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);
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Navbar Stili */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.navbar .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

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

/* Ana Sayfa Bölümü */
header.bg-primary {
    padding-top: 160px;
    padding-bottom: 160px;
    position: relative;
}

header.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.masthead-heading {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.masthead-subheading {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.masthead-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #fff;
    border-radius: 1rem;
}

.divider-custom .divider-custom-line:first-child {
    margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
    margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
    font-size: 2rem;
}

/* Bölüm Stilleri */
.page-section {
    padding: 6rem 0;
}

.page-section-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    position: relative;
    margin-bottom: 3rem;
}

.page-section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* Hakkımızda Bölümü */
.about-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img-container img {
    transition: transform 0.5s ease;
}

.about-img-container:hover img {
    transform: scale(1.05);
}

/* Ürünler Bölümü */
.product-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-item:hover .product-img-container img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    background-color: #fff;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-info p {
    color: var(--grey-color);
    margin-bottom: 1rem;
}

/* İletişim Bölümü */
.contact-info {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
}

.btn-social {
    border-radius: 100%;
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    padding: 2rem 0;
}

/* WhatsApp Butonu */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.whatsapp-button i {
    font-size: 32px;
}

/* WhatsApp butonunun animasyonu */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-button {
    animation: pulse 1.5s infinite;
}

/* Medya Sorguları */
@media (max-width: 992px) {
    .masthead-heading {
        font-size: 2.5rem;
    }
    
    .masthead-subheading {
        font-size: 1.5rem;
    }
    
    .page-section {
        padding: 4rem 0;
    }
    
    .page-section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header.bg-primary {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    
    .masthead-heading {
        font-size: 2rem;
    }
    
    .masthead-subheading {
        font-size: 1.25rem;
    }
    
    .masthead-description {
        font-size: 1rem;
    }
    
    .page-section {
        padding: 3rem 0;
    }
    
    .page-section-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .masthead-heading {
        font-size: 1.75rem;
    }
    
    .btn-xl {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}