@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #1a3c34;
    --primary-light: #2a5a4e;
    --accent: #d4af37;
    --accent-dark: #b8962d;
    --bg-cream: #f9f7f2;
    --text-dark: #2d3436;
    --text-light: #353d40;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(26, 60, 52, 0.95);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.4rem;
}

section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: var(--nav-bg);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-right {
    display: none;
}

.nav-logo-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.nav-logo-mobile .logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.nav-logo-mobile .logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.navbar.scrolled-logo .nav-logo-mobile {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.nav-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Toggle Animation */
.menu-toggle.toggle-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.toggle-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.toggle-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
        position: relative;
        left: 0;
    }

    .nav-container {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: 40px;
    }

    .nav-right {
        display: block;
    }

    .nav-logo-mobile {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2.5rem 100px 5rem;
        gap: 1.5rem;
        z-index: 1050;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .nav-links.nav-active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a {
        font-size: 1.5rem;
        width: 100%;
        text-align: left;
        padding: 0.8rem 0;
        display: block;
        font-family: 'Playfair Display', serif;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Reusable Components */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    background: var(--accent);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 60, 52, 0.7), rgba(26, 60, 52, 0.7)), url('kudus_kasgar_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    min-height: 480px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.hero-main-title {
    display: block;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.hero-sub-title {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.8;
}

/* Taha Kılınç Section */
.tahakilinc {
    background: var(--bg-cream);
}

.bio-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.bio-top {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.bio-main {
    text-align: left;
}

.bio-lead {
    font-size: 1.3rem !important;
    color: var(--primary) !important;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem !important;
}

.bio-main p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.bio-main strong {
    color: var(--primary);
    font-weight: 600;
}

.bio-books {
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.bio-books h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.books-grid-minimal {
    column-count: 3;
    column-gap: 3rem;
    list-style: none;
    margin-top: 2rem;
}

.books-grid-minimal li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.2rem;
    break-inside: avoid;
}

.books-grid-minimal li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (max-width: 992px) {
    .books-grid-minimal {
        column-count: 2;
        column-gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .books-grid-minimal {
        column-count: 1;
    }
}

@media (max-width: 992px) {
    .bio-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .bio-main {
        text-align: center;
    }

    .bio-image {
        max-width: 300px;
        margin: 0 auto;
    }

}

/* Program Content */
.program {
    background: var(--white);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.program-card .time {
    display: block;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Schedule Section */
.schedule {
    background: var(--primary);
    color: var(--white);
}

.schedule h2 {
    color: var(--white);
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.schedule-item .date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.schedule-item .city {
    font-size: 1.8rem;
    margin-top: 0.5rem;
}

.schedule-item .schedule-time {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Gifts & Rewards */
.rewards {
    background: var(--white);
}

.reward-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.reward-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.reward-list {
    list-style: none;
}

.reward-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reward-list li::before {
    content: '★';
    color: var(--accent);
}

.reward-note {
    grid-column: span 2;
    margin-top: 3rem;
    padding: 1.5rem 0 3rem 0;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.5;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.book-item {
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 10px;
    font-weight: 500;
}

/* Registration Form */
.registration {
    background: var(--bg-cream);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.registration-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.registration-form button {
    grid-column: span 2;
    margin-top: 2rem;
}

.form-message {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Participation Conditions */
.conditions {
    background: var(--bg-cream);
}

.condition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.condition-box {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 20px;
}

.condition-box h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.condition-box ul {
    list-style: none;
}

.condition-box li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.condition-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

/* Contact / İletişim Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #25D366;
    text-decoration: none;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #25D366;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.2);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.08);
    transform: scale(1.1);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.35);
}

footer {

    padding: 50px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s ease both;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-main-title {
        font-size: 4rem;
    }

    .about-grid,
    .reward-types,
    .condition-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {

    .reward-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .reward-section {
        padding: 0.5rem;
    }

    .hero {
        height: auto;
    }

    .hero-content {
        margin: 150px auto 100px auto;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }

    .hero-sub-title {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .registration-form {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .registration-form button {
        grid-column: auto;
    }

    .form-container {
        padding: 2rem;
    }


    .program-card {
        padding: 2rem;
    }

    .condition-box {
        padding: 0;
    }
}