/* styles.css */

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-top: 80px; /* Navbar yüksekliği için boşluk */
}

/* Navbar */
.navbar {
    background-color: #D4AF37; /* Altın rengi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background-color: #b89c2c; /* Scroll edildiğinde biraz koyu altın rengi */
    transition: background-color 0.3s;
}

.navbar .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand i {
    margin-right: 8px;
    font-size: 1.5rem;
}

.navbar .nav-link {
    color: #fff !important;
    font-size: 0.95rem;
    margin-right: 10px;
    transition: color 0.3s;
}

.navbar .nav-link:hover {
    color: #333 !important;
}

/* Dropdown Menü Ayarları */
.dropdown-menu {
    background-color: #D4AF37;
}

.dropdown-menu .dropdown-item {
    color: #fff;
    transition: background 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hero Bölümü */
.hero {
    position: relative;
    background-image: url('https://1903bjk.com.tr/ad.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 520px; /* Sabit yükseklik */
    max-width: 1305px; /* Sabit genişlik */
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    animation: fadeIn 2s ease-in-out;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0.4); /* Altın renginde yarı şeffaf katman */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
    animation: slideInUp 1.5s ease-in-out;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
}

/* Ana İçerik */
.main-content {
    padding: 60px 0;
}

.main-content h1 {
    color: #D4AF37;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInDown 1s ease-in-out;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-in-out;
}

/* Hizmetler Bölümü */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.service-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.service-item i {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.service-item:hover i {
    color: #b89c2c;
}

.service-item h5 {
    margin-bottom: 10px;
    font-weight: bold;
}

.service-item p {
    color: #666;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0;
}

.footer a {
    color: #D4AF37;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Sosyal Medya İkonları */
.social-icons a {
    color: #fff;
    margin-right: 15px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #D4AF37;
}

/* SEO ve Tasarım Bağlantısı */
.footer .seo-link {
    margin-top: 20px;
}

.footer .seo-link a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: bold;
}

.footer .seo-link a:hover {
    text-decoration: underline;
}

/* Responsive Ayarlar */
@media (max-width: 1305px) {
    .hero {
        width: 100%;
        height: auto;
        padding-top: 39.96%; /* 520 / 1305 ≈ 0.3996 oranı */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar .nav-link {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .footer {
        padding: 20px 0;
    }

    .service-item i {
        font-size: 2.5rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translate(-50%, 60%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* İletişim Bilgileri İkon ve Metin Düzenlemesi */
.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    color: #D4AF37;
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-detail p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

/* İletişim Bilgileri Arka Plan */
.footer .contact-info {
    background-color: transparent;
}

/* İletişim Bilgileri Metin Rengi */
.footer .contact-info p {
    color: #fff;
}

/* WhatsApp İletişim Butonu */
.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* WhatsApp yeşili */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Hover rengi */
    transform: scale(1.1);
}

.whatsapp-button i {
    margin: 0;
}