/* --- Variables --- */
:root {
    --color-sand: #F4F1DE;      /* Zemin - Parşömen */
    --color-terra: #E07A5F;     /* Kiremit / Toprak */
    --color-dark: #3D405B;      /* Gece Mavisi / Koyu Taş */
    --color-gold: #F2CC8F;      /* Altın Sarısı */
    --color-white: #ffffff;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lora', serif;
    
    --shadow: 0 4px 15px rgba(61, 64, 91, 0.15);
    
    /* Etnik desen hissi veren border */
    --pattern-border: repeating-linear-gradient(45deg, var(--color-terra), var(--color-terra) 10px, var(--color-sand) 10px, var(--color-sand) 20px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-sand);
    color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 2px; }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* --- Motif Borders --- */
.motif-border { height: 10px; background: var(--pattern-border); width: 100%; position: fixed; top: 0; z-index: 1001; }
.motif-border-bottom { height: 10px; background: var(--pattern-border); width: 100%; }

/* --- Header --- */
.ancient-header {
    padding: 30px 0;
    position: sticky; top: 0; z-index: 1000;
    background-color: rgba(244, 241, 222, 0.95);
    border-bottom: 1px solid rgba(61, 64, 91, 0.1);
    backdrop-filter: blur(5px);
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-dark); letter-spacing: 2px; }
.terra-text { color: var(--color-terra); }
.symbol { font-size: 1.5rem; margin-left: 5px; }

.culture-nav ul { display: flex; gap: 30px; align-items: center; }
.culture-nav a { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--color-dark); text-transform: uppercase; }
.culture-nav a:hover, .culture-nav a.active { color: var(--color-terra); border-bottom: 2px solid var(--color-terra); }

.btn-terra { background-color: var(--color-terra); color: var(--color-white) !important; padding: 10px 25px; border-radius: 2px; border-bottom: none !important; }
.btn-terra:hover { background-color: var(--color-dark); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; gap: 4px; }
.dot { width: 6px; height: 6px; background-color: var(--color-dark); border-radius: 50%; display: block; margin: 3px; }

/* --- Mobile Drawer --- */
.mobile-drawer {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background-color: var(--color-sand); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: 0.5s ease; border-left: 10px solid var(--color-terra);
}
.mobile-drawer.active { right: 0; }
.close-btn { position: absolute; top: 30px; right: 30px; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--color-terra); }
.mobile-drawer a { font-family: var(--font-heading); font-size: 2rem; margin: 15px 0; color: var(--color-dark); }

/* --- Hero --- */
.hero-ancient {
    position: relative; height: 650px;
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(61, 64, 91, 0.4); z-index: 1; }

.hero-content { position: relative; z-index: 2; color: var(--color-white); border: 2px solid rgba(255,255,255,0.3); padding: 40px; background: rgba(0,0,0,0.2); backdrop-filter: blur(2px); }
.era-tag { font-family: var(--font-heading); letter-spacing: 3px; border-bottom: 1px solid var(--color-gold); padding-bottom: 5px; display: inline-block; margin-bottom: 20px; color: var(--color-gold); }
.hero-content h1 { font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.3rem; margin-bottom: 30px; max-width: 600px; font-style: italic; }
.btn-scroll { color: var(--color-white); border-bottom: 1px solid var(--color-white); padding-bottom: 5px; font-family: var(--font-heading); font-weight: bold; }

/* --- Content Grid --- */
.section-padding { padding: 80px 0; }
.ornament-divider { text-align: center; font-size: 1.5rem; color: var(--color-terra); margin-bottom: 20px; letter-spacing: 10px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-dark); }

.ancient-grid { display: flex; flex-direction: column; gap: 80px; }
.ancient-card { display: flex; align-items: center; gap: 50px; }
.ancient-card.reverse { flex-direction: row-reverse; }
.card-img { flex: 1; position: relative; }
.card-img img { box-shadow: 15px 15px 0 var(--color-terra); filter: sepia(20%); transition: 0.5s; }
.card-img:hover img { filter: sepia(0%); transform: translate(-5px, -5px); box-shadow: 20px 20px 0 var(--color-dark); }

.card-text { flex: 1; }
.card-text h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 10px; color: var(--color-dark); }
.loc { color: var(--color-terra); font-weight: bold; font-style: italic; margin-bottom: 20px; display: block; font-family: var(--font-heading); }
.card-text p { font-size: 1.1rem; margin-bottom: 20px; color: #555; }
.link-terra { font-family: var(--font-heading); font-weight: bold; color: var(--color-dark); border-bottom: 2px solid var(--color-terra); }

/* --- About Timeline --- */
.page-header { text-align: center; margin-bottom: 60px; }
.page-header h1 { font-family: var(--font-heading); font-size: 3rem; color: var(--color-dark); }

.timeline-vertical { max-width: 800px; margin: 0 auto; border-left: 2px solid var(--color-terra); padding-left: 40px; }
.timeline-item { margin-bottom: 60px; position: relative; }
.timeline-item::before { content: '♦'; position: absolute; left: -49px; top: 0; font-size: 1.5rem; color: var(--color-dark); background: var(--color-sand); padding: 5px 0; }
.date { font-family: var(--font-heading); font-weight: bold; color: var(--color-terra); display: block; margin-bottom: 5px; }
.timeline-item h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 15px; }

/* --- Testimonials --- */
.memoir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.memoir-card { background-color: var(--color-white); padding: 40px; box-shadow: var(--shadow); border-top: 5px solid var(--color-dark); text-align: center; }
.quote-icon { font-size: 3rem; color: var(--color-terra); font-family: serif; line-height: 1; margin-bottom: 20px; }
.memoir-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.writer strong { display: block; font-family: var(--font-heading); color: var(--color-dark); }

/* --- Contact & Banner --- */
.kilim-banner { background-color: var(--color-terra); color: var(--color-white); padding: 80px 0; text-align: center; margin-top: 50px; background-image: radial-gradient(var(--color-dark) 1px, transparent 1px); background-size: 20px 20px; }
.banner-content h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 10px; background: var(--color-terra); display: inline-block; padding: 0 10px; }

.contact-parchment { background-color: var(--color-white); padding: 60px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; border: 1px solid #ddd; }
.parchment-content h2 { font-family: var(--font-heading); color: var(--color-dark); text-align: center; margin-bottom: 20px; }
.info-lines { text-align: center; margin-bottom: 40px; font-family: var(--font-heading); color: var(--color-terra); font-weight: bold; }

.history-form .input-wrap { margin-bottom: 20px; }
.history-form label { display: block; margin-bottom: 5px; font-family: var(--font-heading); font-size: 0.9rem; color: var(--color-dark); }
.history-form input, .history-form select, .history-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background-color: var(--color-sand); font-family: var(--font-body); }
.history-form input:focus { border-color: var(--color-terra); outline: none; }
.btn-submit { width: 100%; background-color: var(--color-dark); color: var(--color-white); padding: 15px; border: none; font-family: var(--font-heading); font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background-color: var(--color-terra); }

/* --- Legal --- */
.info-sheet { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 50px; box-shadow: var(--shadow); }
.info-sheet h1 { font-family: var(--font-heading); text-align: center; color: var(--color-dark); }
.ornament-line { text-align: center; color: var(--color-terra); margin: 20px 0 40px; font-weight: bold; }
.info-sheet h3 { font-family: var(--font-heading); color: var(--color-terra); margin-top: 30px; margin-bottom: 10px; }

/* --- Footer --- */
.ancient-footer { background-color: var(--color-dark); color: var(--color-sand); padding: 50px 0 0 0; text-align: center; }
.f-logo { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 20px; }
.f-nav a { color: #ccc; margin: 0 10px; font-family: var(--font-heading); font-size: 0.9rem; }
.copyright { padding: 30px 0; font-size: 0.8rem; opacity: 0.7; }

@media (max-width: 992px) {
    .culture-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-content h1 { font-size: 2.5rem; }
    .ancient-card, .ancient-card.reverse { flex-direction: column; }
    .timeline-vertical { border-left: none; padding-left: 0; text-align: center; }
    .timeline-item::before { display: none; }
    .timeline-item { border-bottom: 1px solid var(--color-terra); padding-bottom: 20px; }
}