/* Exact baris Clone CSS */
:root {
    --baris-gold: #BC8D4B;
    --baris-dark: #252525;
    --baris-gray: #777;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    transition: background 0.3s ease;
}

header.sticky {
    position: fixed;
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.sticky .reservation-info,
header.sticky .reservation-label {
    color: var(--baris-dark) !important;
}

header.sticky .logo-container img {
    filter: brightness(0) invert(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.reservation-info {
    text-align: right;
    color: #fff;
}

.reservation-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.reservation-number {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 15px;
    margin-top: 5px;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Icons Section */
.features-section {
    padding: 80px 0;
    background: #f4f4f4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4em;
    color: #252525;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0;
    /* Removing generic spacing for this specific heading */
}

.feature-desc {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    font-weight: 400;
}

/* Content Sections (Alternating) */
.content-section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .content-section {
        padding: 20px 0;
    }
}

.section-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.section-flex.reverse {
    flex-direction: row-reverse;
}

.section-flex.reverse .content-half {
    text-align: right;
}

.section-flex.reverse .section-title::after {
    left: auto;
    right: 0;
}

.content-half {
    flex: 1;
}

.image-half {
    flex: 1;
}

.image-half img {
    width: 100%;
    display: block;
}

.section-label {
    font-family: var(--font-heading);
    color: var(--baris-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 54px;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 420px;
    height: 10px;
    background: linear-gradient(to bottom, #252525 2px, transparent 2px, transparent 5px, #252525 5px);
}

.section-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 30px;
    font-weight: 400;
}

.section-italic {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 400;
}

/* List Style */
ul.baris-list {
    list-style: none;
    padding: 0;
}

ul.baris-list li {
    padding: 12px 0;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: none;
}

ul.baris-list li::after {
    content: '';
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 15px;
    height: 1px;
    order: 2;
}

ul.baris-list li span:last-child {
    order: 3;
    color: var(--baris-gold);
    font-family: var(--font-heading);
}

ul.baris-list li span:first-child {
    order: 1;
}

/* CTA */
.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--baris-gold);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--baris-dark);
}

/* Footer */
footer {
    background: #f5f5f5f5;
    padding: 90px 0;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
}

.footer-social {
    margin: 20px 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    color: #252525;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.instagram-link i {
    width: 18px;
    height: 18px;
}

.instagram-link:hover {
    transform: translateY(-2px);
    color: #E1306C;
}

.copyright {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
    margin-top: 40px;
}

/* Mobile */
@media (max-width: 991px) {

    .section-flex,
    .section-flex.reverse {
        flex-direction: column;
        gap: 50px;
    }

    .section-flex.reverse .content-half {
        text-align: right;
    }

    .section-flex.reverse .section-title::after {
        left: auto;
        right: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 30px;
    }

    .logo-container img {
        height: 30px;
    }
}

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header CTA Button */
.header-cta {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 0;
    text-transform: uppercase;
}

header.sticky .header-cta {
    color: var(--baris-dark);
}

.header-cta:hover {
    color: var(--baris-gold) !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--baris-dark);
}

.handwritten {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--baris-gold);
    display: block;
    margin-bottom: 5px;
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
    transform: translateY(-50%);
}

.step {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--baris-gold);
    border-color: var(--baris-gold);
    color: #fff;
}

/* Form Parts */
.form-part {
    display: none;
}

.form-part.active {
    display: block;
}

.part-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--baris-gold);
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fcfcfc;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--baris-gold);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff4d4d;
    background: #fff8f8;
}

.form-nav {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-nav button,
.next-part,
.submit-button {
    flex: 1;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.next-part,
.submit-button {
    background: var(--baris-dark);
    color: #fff;
}

.prev-part {
    background: #eee;
    color: #666;
}

.next-part:hover,
.submit-button:hover {
    background: var(--baris-gold);
}

.prev-part:hover {
    background: #ddd;
}

/* Forms Section */
.forms-section {
    padding: 100px 0;
    background: #fff;
}

.application-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.application-logos img {
    width: auto;
    object-fit: contain;
}

.application-logos .meb-logo {
    height: 75px;
}

.application-logos .black-logo {
    height: 45px;
    filter: brightness(0);
}

.logo-separator {
    width: 1px;
    height: 50px;
    background: #ccc;
}

@media (max-width: 768px) {
    .application-logos {
        gap: 20px;
        margin-bottom: 20px;
    }

    .application-logos .meb-logo {
        height: 50px;
    }

    .application-logos .black-logo {
        height: 30px;
    }

    .logo-separator {
        height: 35px;
    }
}

.forms-section .section-title {
    display: inline-block;
    margin-bottom: 60px;
}

.forms-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.forms-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-box {
    border: 3px solid #252525;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-box:hover {
    background: #f9f9f9;
}

.form-box-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: #252525;
    letter-spacing: 1px;
}

.form-box-content i {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

@media (max-width: 768px) {
    .form-box-content {
        font-size: 18px;
    }

    .form-box {
        padding: 15px 20px;
    }
}

/* Accordion Styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    border-left: 3px solid #252525;
    border-right: 3px solid #252525;
    border-bottom: 3px solid #252525;
    background: #fff;
    opacity: 0;
}

.accordion-content.active {
    max-height: 2000px;
    opacity: 1;
}

.form-wrapper {
    padding: 50px;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

.radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--baris-dark);
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }

    .radio-group {
        gap: 15px;
    }

    /* User Requested Mobile Changes */

    /* 1. Layout: Fix horizontal scroll and fit screen */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* 2. Hero Height: 30% of viewport */
    .hero {
        height: 30vh !important;
        min-height: 200px;
        /* Safety minimum */
    }

    /* 3. Title Underline: Match text width */
    .section-title {
        display: inline-block;
        width: auto;
    }

    .section-title::after {
        width: 100%;
    }

    .content-half {
        width: 100%;
    }

    /* 4. Features Section: Icons above text, centered */
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .feature-icon {
        margin-bottom: 5px;
    }

    /* 5. Typography: Decrease all text (except titles) by 2px */
    body,
    .section-text,
    .feature-desc,
    .section-italic,
    .section-label,
    .form-group label,
    .form-box-content span,
    .copyright,
    .header-cta,
    .step,
    .part-title,
    .handwritten,
    .footer-links a,
    .feature-title,
    .instagram-link {
        font-size: calc(100% - 2px);
        /* Fallback */
    }

    /* Explicit reductions for hardcoded px values */
    .instagram-link {
        font-size: 11px !important;
        padding: 8px 15px;
    }

    .section-text {
        font-size: 16px !important;
    }

    .feature-desc {
        font-size: 16px !important;
    }

    .section-italic {
        font-size: 22px !important;
    }

    .section-label {
        font-size: 10px !important;
    }

    .form-group label {
        font-size: 12px !important;
    }

    .copyright {
        font-size: 9px !important;
    }

    .header-cta {
        font-size: 11px !important;
    }

    .step {
        font-size: 10px !important;
    }

    .part-title {
        font-size: 9px !important;
    }

    .form-box-content {
        font-size: 22px !important;
    }

    .feature-title {
        font-size: 22px !important;
    }

    .reservation-label {
        font-size: 9px !important;
    }

    .reservation-number {
        font-size: 13px !important;
    }

    .footer-links a {
        font-size: 10px !important;
    }

    .handwritten {
        font-size: 14px !important;
    }

    .baris-list li {
        font-size: 13px !important;
    }

    input,
    select,
    textarea {
        font-size: 12px !important;
    }
}

/* Social Media Feed */
.social-feed {
    padding: 80px 0;
    overflow: hidden;
    background: #fff;
}

.social-feed .section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 300px;
    height: 400px;
    /* 3:4 ratio based on 300px width */
    margin-right: 20px;
    overflow: hidden;
    border-radius: 0;
    /* Sharp edges */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 7));
        /* 300px width + 20px margin * 7 images */
    }
}

@media (max-width: 768px) {
    .social-feed {
        padding: 40px 0;
    }

    .marquee-item {
        width: 140px;
        height: 186px;
        /* 3:4 ratio based on 140px width */
        margin-right: 10px;
    }

    @keyframes marquee-scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 7));
            /* 140px width + 10px margin * 7 images */
        }
    }
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}