/* Genel Ayarlar ve Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Responsive tasarım için kritik */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* Ortalamak için */
}

a {
    text-decoration: none;
    color: #1a73e8; /* Mavi tonu */
}

/* Header ve Navigasyon */
header {
    background: #222; /* Koyu arka plan */
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 300; /* İnce font */
    letter-spacing: 2px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li a {
    color: white;
    padding: 0.5rem 1rem;
    display: block;
    transition: background 0.3s, color 0.3s;
}

header nav ul li a:hover {
    background: #333;
    color: #ff9900; /* Turuncu vurgu */
}

/* Hero Bölümü */

.hero {
    background-image: url(../images/cont.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.heromor {
    background-image: url(../images/mor.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}


.herogaleri {
    background-image: url(../images/logo.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #ff9900;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e68a00;
}

/* Genel Bölüm Stilleri */
section {
    padding: 4rem 0;
}

section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}

/* Galeri Bölümü (Responsive Grid) */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive Grid: En az 300px, eşit genişlik */
    gap: 20px;
}

.photo-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.photo-item img:hover {
    transform: scale(1.05); /* Hover efekti */
}

/* Hakkımda ve İletişim */
.about, .contact {
    text-align: center;
    background: white;
}

.about p {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.contact textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
.btn-whatsapp{
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
   
    justify-content: center;
    align-items: center;
    background: #25d366;
    color: var(--whitecolor);
    font-size: 40px;
    border-radius: 50%;
    padding: 25px;
    text-decoration: none;
    width: 0;
    height: 0;
    z-index: 5;
}

/* ******************************* */
/* RESPONSIVE AYARLAR (Media Queries) */
/* ******************************* */

@media (max-width: 768px) {
    /* Tablet ve küçük ekranlar */
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav {
        margin-top: 10px;
    }

    header nav ul {
        justify-content: center;
        width: 100%;
    }

    header nav ul li a {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Galeri Grid'i daha küçük sütunlara ayarla */
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    /* Mobil cihazlar */
    .hero {
        height: 60vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    /* Navigasyonu dikey yap veya küçült */
    header nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }

    header nav ul li a {
        padding: 0.3rem 0.5rem;
    }

    section {
        padding: 2rem 0;
    }

    section h3 {
        font-size: 1.5rem;
    }
}

/* Hakkımda Sayfası Detay Stilleri */
.about-detail {
    padding: 6rem 0;
    background: #ffffff;
}

.bio-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.bio-image {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Dairesel profil fotoğrafı */
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bio-text {
    flex: 2;
    text-align: left;
}

.bio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.bio-text h3 {
    font-size: 1.5rem;
    color: #ff9900;
    margin-top: 2rem;
    text-align: left;
}

.lead-text {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    border-left: 3px solid #ff9900;
    padding-left: 15px;
    margin-bottom: 1.5rem;
}

.bio-text ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.bio-text ul li {
    padding: 5px 0;
    font-size: 1.1rem;
}

/* CTA Alanı */
.cta-about {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cta-about p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #444;
}

/* Responsive Düzenleme */
@media (max-width: 992px) {
    .bio-content {
        flex-direction: column;
        text-align: center;
    }

    .bio-image {
        min-width: 200px;
        max-width: 200px;
        margin-bottom: 20px;
    }

    .bio-text {
        text-align: center;
    }

    .bio-text h3 {
        text-align: center;
    }
}


/* Genel Sayfa Başlığı (Hem Galeri hem İletişim için) */
.page-hero {
    background-size: cover !important;
    background-position: center !important;
    height: 40vh; /* Daha kısa hero alanı */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-hero h2 {
    font-size: 3rem;
    z-index: 1;
}

.page-hero p {
    font-size: 1.1rem;
    margin-top: 10px;
    z-index: 1;
}

/* Galeri Sayfası Stilleri */
.full-gallery {
    background: #f8f8f8;
}

.category-title {
    text-align: left !important;
    margin-top: 3rem;
    margin-bottom: 0.5rem !important;
    font-size: 1.8rem !important;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 5px;
    display: inline-block;
}

.category-desc {
    margin-bottom: 2rem;
    font-style: italic;
    color: #666;
}

/* İletişim Sayfası Stilleri */
.contact-detail {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form solda, bilgiler sağda */
    gap: 40px;
}

.contact-form-area h3, .contact-info-area h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-size: 1.2rem;
    color: #ff9900;
    margin-bottom: 5px;
}

.social-header {
    margin-top: 2rem !important;
}

.social-links a {
    margin-right: 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #ccc;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-style: italic;
}

/* Responsive İletişim Düzeni */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }
    
    .contact-form-area h3, .contact-info-area h3 {
        text-align: center;
    }
}