/* ═══════════════════════════════════════ */
/* ISTANBUL TRIP - PROFESSIONAL STYLING */
/* ═══════════════════════════════════════ */

:root {
    --primary-teal: #20B2AA;
    --primary-navy: #001A4D;
    --accent-light: #E0F7F6;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --border-light: #e0e0e0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════ */
/* HEADER */
/* ═══════════════════════════════════════ */

.header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-teal);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.header-left {
    flex-shrink: 0;
}

.logo-horizontal {
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.header-nav {
    display: flex;
    gap: 25px;
    flex: 1;
    align-items: center;
}

.nav-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

.nav-link:hover {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.header-languages {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.lang-flag {
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: transparent;
}

.lang-flag:hover {
    transform: scale(1.15);
    background-color: var(--accent-light);
}

.header-cta {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: #1fa153;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ═══════════════════════════════════════ */
/* HERO SECTION */
/* ═══════════════════════════════════════ */

.hero {
    background-image: linear-gradient(135deg, rgba(0, 26, 77, 0.85) 0%, rgba(13, 46, 102, 0.85) 100%), url('../images/ayasofya.jpg');
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-teal);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-primary-large {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-navy);
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary-large:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

/* ═══════════════════════════════════════ */
/* SECTIONS - GENERAL */
/* ═══════════════════════════════════════ */

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════ */
/* PROBLEM & OPPORTUNITY SECTION */
/* ═══════════════════════════════════════ */

.problem-opportunity {
    background-color: #f9f9f9;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background-color: var(--white);
    padding: 30px;
    border-left: 4px solid var(--primary-teal);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.problem-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 18px;
}

.problem-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.opportunity-box {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(32, 178, 170, 0.05) 100%);
    border: 2px solid var(--primary-teal);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.opportunity-box h2 {
    color: var(--primary-navy);
    font-size: 28px;
    margin-bottom: 20px;
}

.opportunity-box p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ═══════════════════════════════════════ */
/* FULL WIDTH IMAGE */
/* ═══════════════════════════════════════ */

.fullwidth-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.fullwidth-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Safari image optimization */
@supports (-webkit-appearance: none) {
    .fullwidth-image img {
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ═══════════════════════════════════════ */
/* CAROUSEL */
/* ═══════════════════════════════════════ */

.carousel-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.carousel-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 0 15px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-teal);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background-color: var(--primary-navy);
}

/* ═══════════════════════════════════════ */
/* VALUE, PROOF & HISTORY */
/* ═══════════════════════════════════════ */

.value-proof {
    background-color: var(--white);
}

.value-section {
    margin-bottom: 60px;
}

.value-section h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
}

.value-list li {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-teal);
    font-size: 15px;
    line-height: 1.6;
}

.value-list strong {
    color: var(--primary-navy);
    display: block;
    margin-bottom: 8px;
}

/* TESTIMONIALS */

.testimonials {
    margin-bottom: 50px;
}

.testimonials h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.testimonial-card strong {
    display: block;
    margin-top: 15px;
    font-style: normal;
    color: var(--primary-navy);
}

/* HISTORY */

.history-box {
    background-color: var(--accent-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.history-box h2 {
    color: var(--primary-navy);
    font-size: 28px;
    margin-bottom: 20px;
}

.history-box p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ═══════════════════════════════════════ */
/* PRODUCT & OFFER SECTION */
/* ═══════════════════════════════════════ */

.product-offer {
    background-color: #f9f9f9;
}

.product-box {
    margin-bottom: 60px;
}

.product-box h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.itinerary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.itinerary-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-teal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.itinerary-item h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 18px;
}

.itinerary-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

.details-box {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-navy);
    margin-bottom: 40px;
}

.details-box h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-size: 20px;
}

.details-box ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.details-box li {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.details-box li:last-child {
    border-bottom: none;
}

.details-box strong {
    color: var(--primary-navy);
}

.extras-box {
    background-color: #f0f8fa;
    border-left: 4px solid var(--primary-teal);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.extras-box h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 20px;
}

.extras-box p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.extras-box ul {
    list-style: none;
    padding: 0;
}

.extras-box li {
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.extras-box li strong {
    color: var(--primary-navy);
}

/* PRICING */

.pricing-section {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-section h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 40px;
}

.pricing-card {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(32, 178, 170, 0.1) 100%);
    border: 2px solid var(--primary-teal);
    padding: 50px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.price-note {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.pricing-details {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
}

.pricing-details li {
    font-size: 16px;
    padding: 10px 0;
    color: var(--text-dark);
}

.free-note {
    color: var(--primary-teal);
    font-weight: 600;
}

.payment-info {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.payment-info p {
    margin-bottom: 10px;
    font-size: 15px;
}

.payment-info strong {
    color: var(--primary-navy);
}

/* WARRANTY */

.warranty-box {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    margin-top: 40px;
}

.warranty-box h2 {
    color: var(--primary-navy);
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.warranty-box p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.warranty-box strong {
    color: var(--primary-navy);
}

/* ═══════════════════════════════════════ */
/* FUTURE & OBJECTIONS */
/* ═══════════════════════════════════════ */

.future-objections {
    background-color: var(--white);
}

.future-box {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 50px;
    border-top: 4px solid var(--primary-teal);
}

.future-box h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 25px;
}

.future-box p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.objections {
    margin-top: 50px;
}

.objections h2 {
    color: var(--primary-navy);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.objection-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-teal);
}

.objection-item h3 {
    color: var(--primary-navy);
    font-size: 18px;
    margin-bottom: 15px;
}

.objection-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ═══════════════════════════════════════ */
/* FAQ */
/* ═══════════════════════════════════════ */

.faq {
    background-color: #f9f9f9;
}

.faq h2 {
    color: var(--primary-navy);
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
}

.faq > .container > p {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-teal);
}

.faq-item h3 {
    color: var(--primary-navy);
    font-size: 16px;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ═══════════════════════════════════════ */
/* FINAL CTA */
/* ═══════════════════════════════════════ */

.final-cta {
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.9) 0%, rgba(13, 46, 102, 0.9) 100%),
                url('https://images.unsplash.com/photo-1613395877303-13d7450e8be0?w=1200&q=80') center/cover;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ═══════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════ */

.footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-teal);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-content + p {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ═══════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════ */

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 400px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-left {
        width: 100%;
    }

    .header-nav {
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        order: 3;
    }

    .header-cta {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    .logo-horizontal {
        max-height: 40px;
    }

    .nav-link {
        font-size: 14px;
    }

    .problems-grid,
    .testimonials-grid,
    .itinerary,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 42px;
    }

    .btn-whatsapp {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-whatsapp span {
        display: inline;
    }

    .btn-whatsapp::before {
        content: none;
    }

    /* Tablet Carousel Fix */
    .carousel-wrapper {
        height: 300px;
    }

    .carousel-caption {
        font-size: 16px;
    }

    /* Tablet image optimization */
    .carousel-item img {
        height: 300px;
    }

    .fullwidth-image img {
        max-height: 300px;
    }

    .final-cta {
        background-attachment: scroll;
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 24px;
    }

    section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    /* Mobile Carousel Fix */
    .carousel-wrapper {
        height: 250px;
    }

    .carousel-caption {
        font-size: 14px;
        padding: 15px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .details-box ul {
        grid-template-columns: 1fr;
    }

    /* MOBILE BOTTOM NAV */
    .header {
        position: fixed;
        bottom: 0;
        width: 100%;
        top: auto;
        border-bottom: none;
        border-top: 2px solid var(--primary-teal);
        padding: 0;
        background-color: var(--white);
    }

    .header .container {
        flex-wrap: wrap;
        padding: 0;
        gap: 0;
    }

    .header-left {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .logo-horizontal {
        max-height: 35px;
    }

    .header-nav {
        flex: 1;
        min-width: 0;
        order: 2;
        gap: 0;
        border-right: 1px solid var(--border-light);
    }

    .nav-link {
        flex: 1;
        text-align: center;
        padding: 12px 0;
        font-size: 13px;
        border: none;
        border-bottom: 3px solid transparent;
    }

    .nav-link:hover {
        border-bottom-color: var(--primary-teal);
    }

    .header-cta {
        flex: 1;
        justify-content: center;
        order: 3;
        width: auto;
    }

    .btn-whatsapp {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 20px;
        width: auto;
    }

    .btn-whatsapp span {
        display: inline;
    }

    .btn-whatsapp::before {
        content: "📱";
        font-size: 20px;
    }

    /* Mobile image optimization */
    .carousel-item img {
        height: 250px;
        -webkit-user-select: none;
        user-select: none;
    }

    .fullwidth-image {
        margin-left: -20px;
        width: calc(100% + 40px);
    }

    .fullwidth-image img {
        max-height: 250px;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Hero mobile optimization */
    .hero {
        background-attachment: scroll;
        min-height: 350px;
        padding: 40px 0;
    }

    .final-cta {
        background-attachment: scroll;
        padding: 50px 0;
    }

    .pricing-card {
        padding: 20px 15px;
    }

    .price-amount {
        font-size: 36px;
    }

    section {
        padding: 30px 0;
    }
}

/* Ultra-small screens (under 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 20px;
    }

    .carousel-item img {
        height: 180px;
    }

    .fullwidth-image img {
        max-height: 180px;
    }

    .price-amount {
        font-size: 32px;
    }
}

/* ═══════════════════════════════════════ */
/* MOBILE WHATSAPP FAB */
/* ═══════════════════════════════════════ */

.whatsapp-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-fab:hover {
    background-color: #1fa153;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@media (max-width: 480px) {
    .whatsapp-fab {
        display: block !important;
        position: fixed !important;
        bottom: 75px !important;
        right: 15px !important;
        left: auto !important;
    }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        display: block;
    }
}