:root {
    --primary-color: #d4af37;
    --dark-color: #121212;
    --light-color: #ffffff;
    --header-font: 'Anton', sans-serif;
    --body-font: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body-font); background-color: var(--dark-color); color: var(--light-color); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER VE NAVİGASYON */
#main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent); }
#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--header-font); font-size: 1.8rem; color: var(--light-color); text-decoration: none; letter-spacing: 2px; }
#main-nav { display: flex; align-items: center; gap: 30px; }
#main-nav ul { list-style: none; display: flex; gap: 30px; }
#main-nav ul a { color: var(--light-color); text-decoration: none; font-weight: 400; position: relative; padding-bottom: 5px; }
#main-nav ul a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
#main-nav ul a:hover::after { width: 100%; }
.btn-nav { background-color: var(--primary-color); color: var(--dark-color); padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.btn-nav:hover { background-color: #fff; color: var(--dark-color); }
.hamburger-menu { display: none; cursor: pointer; z-index: 1001; }
.hamburger-menu span { display: block; width: 25px; height: 3px; background-color: var(--light-color); margin: 5px 0; transition: all 0.3s ease; }

/* ANA SAYFA BÖLÜMLERİ */
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
main { display: block; }
.full-screen-section { min-height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; position: relative; padding: 80px 40px; overflow: hidden; }
.content { text-align: center; position: relative; z-index: 3; }
#hero::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 15vh; background: linear-gradient(to top, var(--dark-color), transparent); z-index: 2; pointer-events: none; }
#hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18, 18, 18, 0.4); z-index: 2; pointer-events: none; }
#hero .content { z-index: 4; }
#hero h1, #hero h2 { font-family: var(--header-font); letter-spacing: 5px; margin: 0; line-height: 1; color: var(--light-color); }
#hero h1 { font-size: 8rem; }
#hero h2 { font-size: 6rem; color: var(--primary-color); }
#hero p { font-size: 1.5rem; font-weight: 300; letter-spacing: 1px; }
.scroll-down-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--light-color); z-index: 4; }
.scroll-down-indicator span { font-size: 0.8rem; letter-spacing: 2px; }
.arrow { width: 2px; height: 30px; background: var(--light-color); margin: 10px auto 0; animation: scroll-bob 2s infinite ease-in-out; }
@keyframes scroll-bob { 0% { transform: translateY(0); } 50% { transform: translateY(10px); } 100% { transform: translateY(0); } }
#journey { justify-content: flex-start; text-align: left; }
#journey::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18, 18, 18, 0.3); z-index: 2; pointer-events: none; }
.journey-text { max-width: 500px; }
#journey h3 { font-family: var(--header-font); font-size: 5rem; color: var(--primary-color); }
#journey p { font-size: 1.2rem; font-weight: 300; margin-bottom: 30px; }
.btn { display: inline-block; background: var(--primary-color); color: var(--dark-color); padding: 15px 35px; font-weight: 700; text-decoration: none; border-radius: 5px; transition: transform 0.3s ease; }
.btn:hover { transform: scale(1.05); }
#roasting { background-color: #f4f4f4; color: var(--dark-color); }
.split-content { display: flex; align-items: center; gap: 50px; width: 100%; max-width: 1200px; }
.text-part, .image-part { flex: 1; }
.text-part { text-align: left; }
#roasting h3 { font-family: var(--header-font); font-size: 5rem; color: var(--dark-color); }
.image-part img { width: 100%; height: auto; border-radius: 10px; object-fit: cover; max-height: 80vh; }

/* KAHVELERİMİZ SAYFASI */
.page-content { padding-top: 100px; }
.page-header { text-align: center; padding: 60px 20px; background-color: #1a1a1a; }
.page-header h1 { font-family: var(--header-font); font-size: 4rem; color: var(--primary-color); margin-bottom: 10px; }
.page-header p { font-size: 1.1rem; color: #ccc; max-width: 600px; margin: 0 auto; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 80px 20px; }

/* 3D KARTLAR VE MODAL */
.product-card-container { background-color: transparent; width: 100%; height: 450px; perspective: 1000px; position: relative; }
.product-card { position: relative; width: 100%; height: 100%; transition: all 0.6s ease-in-out; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; }
.product-card-container:hover .card-inner { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 10px; overflow: hidden; }
.card-front { background-color: #222; background-size: cover; background-position: center; }
.card-back { background-color: var(--primary-color); color: var(--dark-color); transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.card-back h3 { font-family: var(--header-font); font-size: 2rem; margin: 0; }
.card-back .tasting-notes { font-size: 1rem; font-style: italic; margin: 10px 0; }
.card-back .details-link { margin-top: 20px; padding: 10px 20px; border: 2px solid var(--dark-color); border-radius: 5px; font-weight: 700; cursor: pointer; position: relative; z-index: 2; }
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1010; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.modal-backdrop.is-visible { opacity: 1; visibility: visible; }
.product-card-container.is-expanded { z-index: 1020; }
.product-card-container.is-expanded .product-card { position: fixed; top: 50%; left: 50%; width: 90vw; max-width: 600px; height: 70vh; transform: translate(-50%, -50%); }
.product-card-container.is-expanded .card-inner { transform: rotateY(180deg) !important; box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 2.5rem; color: var(--dark-color); cursor: pointer; line-height: 1; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; transform: scale(0.5); z-index: 5; }
.product-card-container.is-expanded .close-btn { opacity: 1; transform: scale(1); }
.close-btn:hover { transform: scale(1.2) rotate(90deg) !important; }
.card-details-content { opacity: 0; position: absolute; text-align: center; padding: 20px 40px; transition: opacity 0.3s ease 0.3s; pointer-events: none; z-index: 1; }
.product-card-container.is-expanded .card-details-content { opacity: 1; pointer-events: auto; }
.product-card-container.is-expanded .card-back-content { opacity: 0; visibility: hidden; }

/* AKADEMİ VE FOOTER */
.academy { min-height: auto; padding: 100px 20px; display: flex; flex-direction: column; align-items: center; }
.academy h2 { font-family: var(--header-font); font-size: 5rem; color: var(--light-color); text-align: center; margin-bottom: 60px; }
.academy-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; width: 100%; max-width: 1200px; }
.academy-card { text-decoration: none; flex: 1; min-width: 300px; max-width: 350px; border-radius: 10px; overflow: hidden; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.academy-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.academy-card img { width: 100%; height: 100%; object-fit: cover; }
.academy-card .card-title { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 20px; text-align: center; font-family: var(--header-font); font-size: 1.8rem; letter-spacing: 1px; }
#main-footer { min-height: auto; padding: 60px 20px 20px 20px; background-color: #000; color: #ccc; display: flex; flex-direction: column; align-items: center; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; width: 100%; max-width: 1200px; }
.footer-col h4 { font-family: var(--header-font); color: var(--light-color); font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 1px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; font-weight: 300; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--primary-color); }
.newsletter-form { display: flex; margin-top: 15px; }
.newsletter-form input { flex-grow: 1; border: 1px solid #555; background: #222; padding: 10px; color: #fff; border-radius: 5px 0 0 5px; }
.newsletter-form button { background: var(--primary-color); border: none; padding: 10px 15px; color: var(--dark-color); font-weight: 700; cursor: pointer; border-radius: 0 5px 5px 0; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 0.9rem; color: #888; width: 100%; max-width: 1200px;}

/* ================================== */
/* MARKA HİKAYESİ SAYFASI STİLLERİ */
/* ================================== */

/* Sayfa başlığı bölümü (kahvelerimiz sayfasıyla ortak) */
.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    color: var(--light-color);
}
.page-header p {
    color: #ddd;
}

/* Hikayemiz Bölümü */
.story-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
}
.story-image {
    flex: 1;
}
.story-image img {
    width: 100%;
    border-radius: 10px;
}
.story-text {
    flex: 2;
}
.story-text h2 {
    font-family: var(--header-font);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Değerlerimiz Bölümü */
.values-section {
    background-color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
}
.values-section h2 {
    font-family: var(--header-font);
    font-size: 3rem;
    margin-bottom: 50px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.value-card .value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.value-card h3 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Zaman Tüneli Bölümü */
.timeline-section {
    padding: 80px 20px;
    text-align: center;
}
.timeline-section h2 {
    font-family: var(--header-font);
    font-size: 3rem;
    margin-bottom: 60px;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after { /* Ortadaki dikey çizgi */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item::after { /* Çizgi üzerindeki noktalar */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -12px;
    background-color: var(--dark-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
/* Kutuları sağa ve sola yerleştir */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline-item:nth-child(even)::after {
    left: -8px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: #1a1a1a;
    border-radius: 6px;
}
.timeline-content h3 {
    font-family: var(--header-font);
    color: var(--primary-color);
}

/* Ekip Bölümü */
.team-section {
    background-color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
}
.team-section h2 {
    font-family: var(--header-font);
    font-size: 3rem;
    margin-bottom: 50px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-card img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 4px solid var(--dark-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}
.team-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.team-card p {
    font-size: 1rem;
    color: #ccc;
}
/* Hikayemiz bölümündeki videoyu şekillendirme */
.story-image video {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ================================== */
/* İLETİŞİM SAYFASI STİLLERİ */
/* ================================== */

.contact-section {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form 2 birim, bilgi 1 birim yer kaplasın */
    gap: 50px;
    padding: 80px 20px;
    align-items: flex-start;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-family: var(--header-font);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: var(--light-color);
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.contact-info-container .info-item {
    margin-bottom: 25px;
}

.contact-info-container .info-item strong {
    font-weight: 700;
    color: var(--light-color);
}

.contact-info-container .info-item p {
    color: #ccc;
    line-height: 1.6;
    margin: 5px 0 0 0;
}

.map-container {
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
}

/* İletişim sayfasını mobil için düzenle */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}

/* İletişim sayfasındaki tam genişlik harita bölümü */
.map-full-width-section {
    width: 100vw; /* Ekranın tam genişliği */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    line-height: 0; /* iframe altındaki istenmeyen boşluğu kaldırır */
}

.map-full-width-section .map-container {
    margin-top: 0;
}

.map-full-width-section iframe {
    width: 100%;
    height: 450px; /* Haritanın yüksekliğini artıralım */
}

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    #main-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: rgba(18, 18, 18, 0.98); flex-direction: column; justify-content: center; align-items: center; transition: right 0.5s ease-in-out; }
    #main-nav.nav-active { right: 0; }
    #main-nav ul { flex-direction: column; text-align: center; }
    #main-nav ul li a { font-size: 1.5rem; }
    .btn-nav { margin-top: 20px; font-size: 1.2rem; }
    .hamburger-menu { display: block; }
    .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    #hero h1 { font-size: 4rem; }
    #hero h2 { font-size: 3rem; }
    #journey h3, #roasting h3, .academy h2 { font-size: 3rem; }
    .split-content { flex-direction: column; }
}