/* =========================================
   VARIABLES & BRAND COLORS (Aesthetic Update)
   ========================================= */
:root {
    --primary-green: #113D2F;   /* Deep elegant emerald/forest green */
    --accent-gold: #D4AF37;     /* Metallic/warm aesthetic gold */
    --accent-gold-hover: #F1C644; 
    --bg-white: #FFFFFF;        /* Pure white */
    --bg-offwhite: #FAFAFA;     /* Very subtle off-white for contrast */
    --text-dark: #1A1A1A;       /* Almost black for elegant contrast */
    --text-light: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   LANGUAGE TOGGLE LOGIC
   ========================================= */
body.tr .nl { display: none !important; }
body.nl .tr { display: none !important; }

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; }

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 6rem 0; }
.page-top-padding { padding-top: 7rem; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-2 { margin-top: 1rem; }
.pt-4 { padding-top: 2rem; }
.border-top { border-top: 1px solid #EAEAEA; }

/* Colors */
.bg-green { background-color: var(--primary-green); color: var(--text-light); }
.bg-white { background-color: var(--bg-white); }
.bg-offwhite { background-color: var(--bg-offwhite); }
.text-gold { color: var(--accent-gold) !important; }
.text-white { color: var(--text-light) !important; }
.text-green { color: var(--primary-green) !important; }

/* =========================================
   TYPOGRAPHY & MOTIFS
   ========================================= */
.subtitle-accent {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 500;
    display: block;
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--primary-green);
    border-left: 2px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    line-height: 1.5;
}

.italic-serif {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.motif-divider {
    text-align: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 0px; /* Sharp, elegant edges */
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--text-light);
}
.btn-gold:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.btn-outline-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--text-light);
}

.btn-outline-green {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}
.btn-outline-green:hover {
    background: var(--primary-green);
    color: var(--text-light);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   HEADER & NAV
   ========================================= */
#main-header {
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05); /* very subtle line instead of heavy shadow */
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-green);
    font-weight: 600;
    letter-spacing: -0.02em;
}
.logo img {
    height: 45px; 
    margin-right: 10px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

#nav-links {
    display: flex;
    align-items: center;
}
#nav-links a {
    margin-left: 1.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}
#nav-links a:hover, #nav-links a.active {
    color: var(--accent-gold);
}

.lang-btn {
    margin-left: 1.8rem;
    background: transparent;
    border: 1px solid #EAEAEA;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 50px;
}
.lang-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.motif-bg {
    position: absolute;
    font-size: 45vw;
    color: rgba(212, 175, 55, 0.03); /* Super subtle gold infinity */
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================================
   HOME PAGE — LOGO ONLY
   ========================================= */
.home-hero {
    flex-direction: column;
    gap: 2.5rem;
}
.home-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
}
.home-logo {
    width: min(480px, 70vw);
    height: auto;
}
.home-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--primary-green);
    letter-spacing: 0.02em;
    text-align: center;
}

/* =========================================
   HAKKIMIZDA (ABOUT) PAGE
   ========================================= */
.about-page {
    max-width: 820px;
    margin: 0 auto;
}
.about-page .subtitle-accent {
    text-align: center;
}
.about-page h1 {
    text-align: center;
    margin-bottom: 3rem;
}
.about-page p {
    color: #333;
    font-size: 1.08rem;
    margin-bottom: 1.6rem;
}
.about-page .pull-quote {
    text-align: center;
    border-left: none;
    border-top: 1px solid var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold);
    padding: 2rem 1rem;
    margin: 3rem 0;
}

/* =========================================
   NELER YAPTIK PAGE + FLOWER MOTIFS
   ========================================= */
.flower-hero {
    text-align: center;
    position: relative;
}
.flower-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.flower-row svg {
    width: 70px;
    height: 70px;
}
.flower-row svg.narcissus { width: 64px; height: 64px; }
.flower-row svg.lavender { width: 54px; height: 90px; }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.activity-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-offwhite);
    border: 1px solid #EAEAEA;
    position: relative;
    transition: var(--transition);
}
.activity-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}
.activity-card i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
}
.activity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}
.activity-card p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.flower-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 4rem 0;
    opacity: 0.9;
}
.flower-divider svg {
    width: 40px;
    height: 40px;
}
.flower-divider .line {
    height: 1px;
    width: 80px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.closing-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #444;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-style: italic;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    border-top: 1px solid #EAEAEA;
    background-color: var(--bg-white);
    color: #888;
    padding: 4rem 0;
    text-align: center;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}
.footer-links {
    margin-bottom: 1.5rem;
}
.footer-links a {
    color: #888;
    margin: 0 0.8rem;
    font-size: 1.1rem;
}
.footer-links a:hover {
    color: var(--accent-gold);
}
.footer-contact {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.footer-contact a {
    color: #888;
}
.footer-contact a:hover {
    color: var(--accent-gold);
}

/* =========================================
   BOOK ANNOUNCEMENT (YAKLAŞAN ETKİNLİKLER)
   ========================================= */
.book-announce {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.book-cover-placeholder {
    aspect-ratio: 2/3;
    background: var(--bg-offwhite);
    border: 1px dashed #D8D8D8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-align: center;
    gap: 0.8rem;
    padding: 2rem;
}
.book-announce .img-edit-wrap {
    aspect-ratio: 2/3;
}
.book-cover-placeholder i {
    font-size: 2.2rem;
    color: var(--accent-gold);
}
.book-cover-placeholder span {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.book-text h1 {
    font-size: 2.6rem;
}
.book-text p {
    margin-bottom: 1.1rem;
    color: #333;
    font-size: 1.05rem;
}
.book-text .book-emphasis {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* =========================================
   SERBEST İÇERİK BLOKLARI (BLOCK GROUPS)
   ========================================= */
.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}
.content-block {
    position: relative;
}
.content-block-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}
.content-block-text .block-body {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}
.content-block-event {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 1.5rem;
    background: var(--bg-offwhite);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
}
.event-date {
    flex-shrink: 0;
    min-width: 110px;
    text-align: center;
    padding-right: 1.3rem;
    border-right: 1px solid rgba(212, 175, 55, 0.4);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 0.3px;
}
.event-title {
    flex: 1;
    font-size: 1.05rem;
    color: #333;
}
body.edit-mode .event-date,
body.edit-mode .event-title {
    outline: 1px dashed rgba(212, 175, 55, 0.6);
    outline-offset: 4px;
    cursor: text;
    border-radius: 2px;
    padding: 0.15rem 0.3rem;
}
body.edit-mode .event-date:focus,
body.edit-mode .event-title:focus {
    outline: 2px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}
@media (max-width: 600px) {
    .content-block-event {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .event-date {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.4);
        padding-right: 0;
        padding-bottom: 0.5rem;
        width: 100%;
        text-align: left;
    }
}
body.edit-mode .content-block-text .block-body {
    outline: 1px dashed rgba(212, 175, 55, 0.6);
    outline-offset: 6px;
    cursor: text;
    border-radius: 2px;
    padding: 0.2rem;
}
body.edit-mode .content-block-text .block-body:focus {
    outline: 2px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}
body.edit-mode .content-block-image img {
    outline: 1px dashed rgba(212, 175, 55, 0.6);
    outline-offset: 6px;
}
.block-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 5;
}
.content-block-text .block-controls {
    top: -14px;
    right: -14px;
}
.block-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    border: 2px solid var(--bg-white);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.block-controls button:hover {
    background: var(--accent-gold);
}
.block-controls button[data-action="delete"] {
    background: #A33;
}
.block-controls button[data-action="delete"]:hover {
    background: #C44;
}
.add-block-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    border: 2px dashed rgba(212, 175, 55, 0.5);
    border-radius: 6px;
    background: var(--bg-offwhite);
}
.add-block-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--primary-green);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}
.add-block-btn:hover {
    background: var(--accent-gold);
    color: #fff;
}
@media (max-width: 600px) {
    .content-block-text .block-controls {
        top: -12px;
        right: -8px;
    }
    .block-controls button {
        width: 26px;
        height: 26px;
    }
}

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-offwhite);
    border: 1px solid #EAEAEA;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #B0B0B0;
    gap: 0.6rem;
}
.gallery-placeholder i {
    font-size: 1.8rem;
    color: var(--accent-gold);
}
.gallery-caption {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #EAEAEA;
    background: var(--bg-white);
}

/* =========================================
   ADMIN / EDIT MODE
   ========================================= */
#admin-toggle-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}
#admin-toggle-btn:hover {
    background: var(--accent-gold);
}
#admin-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-green);
    color: #fff;
    padding: 0.9rem 1.5rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1999;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}
#admin-bar.active {
    display: flex;
}
#admin-bar .admin-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
#admin-bar .admin-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
#admin-bar button {
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 3px;
    font-family: var(--font-body);
}
#admin-bar button.danger {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}
#admin-bar button:hover {
    opacity: 0.85;
}
body.edit-mode [data-edit-id] {
    outline: 1px dashed rgba(212, 175, 55, 0.6);
    outline-offset: 4px;
    cursor: text;
    border-radius: 2px;
}
body.edit-mode [data-edit-id]:focus {
    outline: 2px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}
.img-edit-wrap {
    position: relative;
}
.img-edit-wrap img[data-edit-id] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.edit-mode .img-edit-wrap::after {
    content: "\f030";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-green);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: none;
}
body.edit-mode .img-edit-wrap {
    cursor: pointer;
    outline: 1px dashed rgba(212, 175, 55, 0.6);
    outline-offset: 4px;
}
.admin-toast {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    background: var(--primary-green);
    color: #fff;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 4px;
    z-index: 2001;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
}
.admin-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .book-announce {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .book-cover-placeholder, .book-announce .img-edit-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
}
@media (max-width: 1024px) {
    .hamburger { display: block; }
    
    #nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        display: none; 
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    #nav-links.show {
        display: flex;
    }
    #nav-links a {
        margin: 0;
        padding: 1rem 2rem;
        border-bottom: 1px solid #EAEAEA;
        width: 100%;
        text-align: center;
    }
    .lang-btn {
        margin: 1rem 0;
    }
    
    h1 { font-size: 2.8rem; }
    .home-tagline { font-size: 1.4rem; }
    .flower-row { gap: 1rem; }
    .flower-row svg { width: 46px; height: 46px; }
    #admin-bar { flex-direction: column; align-items: flex-start; }
}
