/* ================================
   BIREBIR EĞİTİM — GLOBAL CSS v2
   Palette: #071F51, #FD4680, #FFF, #F9F9FB
   Font: Manrope, Dancing Script
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Dancing+Script:wght@400;600;700&display=swap');

/* ── Smooth Scroll ── */
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ================================
   HERO OVERLAY  — Dark tint on bg image
   ================================ */
.elementor-top-section:first-child {
    position: relative;
}
.elementor-top-section:first-child > .elementor-background-overlay,
.elementor-top-section:first-child::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,31,81,0.88) 0%, rgba(7,31,81,0.72) 100%) !important;
    z-index: 0;
    pointer-events: none;
}
.elementor-top-section:first-child > .elementor-container {
    position: relative;
    z-index: 1;
}

/* ================================
   HEADER
   ================================ */
.elementor-location-header .elementor-section {
    background: #071F51 !important;
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 9998;
    transition: all 0.3s ease;
}
.elementor-location-header .elementor-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.elementor-location-header .elementor-column {
    width: auto !important;
    flex: none !important;
}
.elementor-location-header .elementor-widget-image img,
.elementor-location-header .elementor-widget-theme-site-logo img {
    max-height: 50px !important;
    width: auto !important;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item {
    color: #FFFFFF !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 14px !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item:hover {
    color: #FD4680 !important;
    background: rgba(253,70,128,0.1) !important;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
    color: #FD4680 !important;
}
.elementor-menu-toggle { color: #FFFFFF !important; }

/* ================================
   CARDS & ICON BOXES
   ================================ */
.elementor-widget-icon-box .elementor-icon-box-wrapper,
.elementor-widget-image-box .elementor-image-box-wrapper {
    background: #FFFFFF;
    border-radius: 15px !important;
    padding: 30px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 15px rgba(7,31,81,0.06);
}
.elementor-widget-icon-box .elementor-icon-box-wrapper:hover,
.elementor-widget-image-box .elementor-image-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(7,31,81,0.12);
}
.elementor-widget-icon-box .elementor-icon-box-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    color: #071F51 !important;
}
.elementor-widget-icon-box .elementor-icon-box-description {
    font-family: 'Manrope', sans-serif !important;
    color: #55575C !important;
    line-height: 1.7 !important;
}

/* ================================
   IMAGES
   ================================ */
.elementor-widget-image img {
    border-radius: 15px !important;
    transition: all 0.4s ease !important;
}
.elementor-widget-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(7,31,81,0.15);
}

/* ================================
   BUTTONS
   ================================ */
.elementor-button {
    border-radius: 12px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(253,70,128,0.3) !important;
}
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg {
    padding: 14px 32px !important;
    font-size: 15px !important;
}

/* ================================
   COUNTER
   ================================ */
.elementor-counter .elementor-counter-number-wrapper {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 48px !important;
    color: #FD4680 !important;
}
.elementor-counter .elementor-counter-number-suffix { font-size: 36px !important; color: #FD4680 !important; }
.elementor-counter .elementor-counter-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    color: #071F51 !important;
    font-size: 16px !important;
    margin-top: 10px;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1,h2,h3,h4,h5,h6 { font-family: 'Manrope', sans-serif !important; color: #071F51; }
.elementor-heading-title { font-family: 'Manrope', sans-serif !important; }
.elementor-widget-text-editor {
    font-family: 'Manrope', sans-serif !important;
    line-height: 1.8 !important;
    color: #55575C !important;
}
.elementor-widget-text-editor h3 { color: #071F51 !important; font-weight: 700 !important; margin: 24px 0 12px; }
.elementor-widget-text-editor ul, .elementor-widget-text-editor ol { padding-left: 20px; }
.elementor-widget-text-editor li { margin-bottom: 8px; line-height: 1.7; }
.elementor-widget-text-editor a { color: #FD4680; text-decoration: none; transition: color 0.3s; }
.elementor-widget-text-editor a:hover { color: #071F51; text-decoration: underline; }

/* ================================
   FOOTER
   ================================ */
.elementor-location-footer .elementor-section:first-child { background: #071F51 !important; }
.elementor-location-footer .elementor-section:first-child * { color: #FFFFFF !important; }
.elementor-location-footer .elementor-section:first-child a { color: #94A3C4 !important; transition: color 0.3s; }
.elementor-location-footer .elementor-section:first-child a:hover { color: #FD4680 !important; }
.elementor-location-footer .elementor-section:last-child { background: #051A40 !important; padding: 15px 0 !important; }
.elementor-location-footer .elementor-section:last-child * { color: #94A3C4 !important; font-size: 13px !important; }

/* ================================
   GOOGLE MAPS & BLOCKQUOTE
   ================================ */
.elementor-widget-google_maps iframe { border-radius: 15px !important; }
blockquote {
    border-left: 4px solid #FD4680;
    padding: 15px 20px;
    margin: 20px 0;
    background: #F9F9FB;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #55575C;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes birebir-fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.elementor-widget-icon-box, .elementor-widget-counter {
    animation: birebir-fadeInUp 0.6s ease forwards;
}

/* Gallery overflow */
.elementor-widget-image { overflow: hidden; border-radius: 15px; }

/* ========================================================================
   MOBILE RESPONSIVE — Best Practices
   ======================================================================== */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    /* Header: wrap for hamburger */
    .elementor-location-header .elementor-container {
        flex-wrap: wrap !important;
    }
    .elementor-nav-menu--dropdown .elementor-item {
        color: #071F51 !important;
        font-family: 'Manrope', sans-serif !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .elementor-nav-menu--dropdown {
        background: #FFFFFF !important;
        border-radius: 0 0 15px 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }
    
    /* Sections padding reduce */
    .elementor-section > .elementor-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* 2-col → stack on tablet (hero excluded) */
    .elementor-section:not(:first-child) .elementor-column.elementor-col-50 {
        width: 100% !important;
    }
    
    /* Counter smaller */
    .elementor-counter .elementor-counter-number-wrapper { font-size: 40px !important; }
    .elementor-counter .elementor-counter-number-suffix { font-size: 30px !important; }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
    /* Header */
    .elementor-location-header .elementor-container {
        min-height: 60px;
        padding: 0 16px;
    }
    .elementor-location-header .elementor-widget-image img,
    .elementor-location-header .elementor-widget-theme-site-logo img {
        max-height: 40px !important;
    }
    .elementor-menu-toggle {
        padding: 8px !important;
    }
    
    /* Hero section — full width, less padding */
    .elementor-top-section:first-child {
        padding: 50px 0 !important;
        min-height: auto !important;
    }
    .elementor-top-section:first-child .elementor-container {
        flex-direction: column !important;
    }
    .elementor-top-section:first-child .elementor-column {
        width: 100% !important;
        text-align: center !important;
    }
    .elementor-top-section:first-child .elementor-widget-image {
        display: none !important; /* Hide hero side image on mobile */
    }
    
    /* Headings */
    h1.elementor-heading-title,
    .elementor-widget-heading h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    h2.elementor-heading-title,
    .elementor-widget-heading h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    h3.elementor-heading-title,
    .elementor-widget-heading h3 {
        font-size: 18px !important;
    }
    
    /* All columns stack vertically */
    .elementor-column {
        width: 100% !important;
        margin-bottom: 20px;
    }
    .elementor-column:last-child {
        margin-bottom: 0;
    }
    
    /* Sections padding */
    .elementor-section {
        padding: 40px 0 !important;
    }
    .elementor-section > .elementor-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* Icon boxes — full width, compact */
    .elementor-widget-icon-box .elementor-icon-box-wrapper {
        padding: 20px;
        margin-bottom: 12px;
    }
    .elementor-widget-icon-box .elementor-icon-box-icon {
        margin-bottom: 10px !important;
    }
    
    /* Counter row → 2x2 grid */
    .elementor-section[data-settings*="40"] .elementor-column,
    .elementor-section[data-settings*="structure"] .elementor-col-25 {
        width: 50% !important;
        margin-bottom: 20px;
    }
    .elementor-counter .elementor-counter-number-wrapper {
        font-size: 32px !important;
    }
    .elementor-counter .elementor-counter-number-suffix {
        font-size: 24px !important;
    }
    .elementor-counter .elementor-counter-title {
        font-size: 13px !important;
    }
    
    /* Buttons — full width on mobile */
    .elementor-button-wrapper {
        text-align: center !important;
    }
    .elementor-button.elementor-size-md,
    .elementor-button.elementor-size-lg {
        padding: 12px 28px !important;
        font-size: 14px !important;
        width: auto;
        display: inline-block;
    }
    
    /* Text content */
    .elementor-widget-text-editor {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    /* Images — full width, smaller radius */
    .elementor-widget-image img {
        border-radius: 12px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Gallery — 2 columns */
    .elementor-section[data-settings*="40"] .elementor-column {
        width: 50% !important;
    }
    
    /* Footer — single column */
    .elementor-location-footer .elementor-column {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 25px;
    }
    .elementor-location-footer .elementor-widget-text-editor {
        text-align: center !important;
    }
    .elementor-location-footer .elementor-widget-heading {
        text-align: center !important;
    }
    
    /* CTA section */
    .elementor-section[style*="FD4680"],
    .elementor-section[data-settings*="FD4680"] {
        padding: 30px 0 !important;
    }
    
    /* Google Maps */
    .elementor-widget-google_maps {
        height: 250px !important;
    }
    .elementor-widget-google_maps iframe {
        height: 250px !important;
    }
    
    /* Sticky buttons — smaller on mobile */
    .birebir-sticky-cta {
        bottom: 16px !important;
        right: 16px !important;
    }
    .birebir-sticky-btn {
        width: 48px !important;
        height: 48px !important;
    }
    .birebir-sticky-btn .btn-icon {
        width: 22px !important;
        height: 22px !important;
    }
    .birebir-branch-popup {
        min-width: 190px !important;
        right: -8px !important;
    }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
    .elementor-location-header .elementor-container {
        padding: 0 12px;
    }
    .elementor-location-header .elementor-widget-image img,
    .elementor-location-header .elementor-widget-theme-site-logo img {
        max-height: 36px !important;
    }
    
    h1.elementor-heading-title,
    .elementor-widget-heading h1 {
        font-size: 22px !important;
    }
    h2.elementor-heading-title,
    .elementor-widget-heading h2 {
        font-size: 20px !important;
    }
    
    /* Counter → still 2x2 but tighter */
    .elementor-counter .elementor-counter-number-wrapper {
        font-size: 28px !important;
    }
    
    /* Sections even tighter padding */
    .elementor-section {
        padding: 30px 0 !important;
    }
    .elementor-section > .elementor-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Gallery — single column */
    .elementor-section[data-settings*="40"] .elementor-column {
        width: 100% !important;
    }
}

/* ── Landscape phone fix ── */
@media (max-width: 767px) and (orientation: landscape) {
    .elementor-top-section:first-child {
        padding: 30px 0 !important;
        min-height: auto !important;
    }
}

/* ================================
   PRINT
   ================================ */
@media print {
    .birebir-sticky-cta,
    .elementor-location-header,
    .elementor-location-footer {
        display: none !important;
    }
}
