/* BEUS additions — the Bahama theme files are not modified, only overridden. */

/* SVG logo (tools/brand/build.py). Right half of the E is yellow, left half of the U is coral; colors come from variables. */
.beus-logo {
    --logo-base: #0e101b;
    --logo-hl: #a9c400;
    --logo-coral: #fa8185;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}
/* Same size as the old 42px text logo: viewBox height 0.718em → 30px */
.beus-logo svg { height: 30px; width: auto; display: block; }
/* Aligns to the old text logo's baseline in the navbar */
.navbar-area .beus-logo svg { position: relative; top: 2px; }

/* Dark backgrounds: header (#242733; desktop, mobile and sticky), footer and dark theme */
.navbar-area .beus-logo,
.bahama-mobile-nav .beus-logo,
.mean-container .beus-logo,
.footer-area .beus-logo,
.theme-dark .beus-logo {
    --logo-base: #ffffff;
    --logo-hl: #e1ff19;
}

/* Top bar language switcher */
.top-header .beus-lang a {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-left: 18px;
}
.top-header .beus-lang a:hover { color: #e1ff19; }
.top-header-right .beus-lang { display: inline-block; }

/* Top bar: email separate from phone, with its own label */
.top-header-left p .beus-mail { display: inline-block; margin-left: 18px; }
.top-header-left p .beus-mail i { margin-right: 3px; }
@media only screen and (max-width: 575px) {
    .top-header-left p .beus-mail { display: block; margin: 6px 0 0; }
}

/* Images with width/height attributes keep their aspect ratio */
.banner-image img,
.about-image img,
.shape-img1 img,
.single-features-box .image-box img,
.error-content img { height: auto; }

/* Home page process steps: the theme's light feature box, with a step number instead of an icon */
.beus-process .step-number {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
}
.beus-process .back-icon .step-number { font-size: 200px; }

/* Boxes in the same row have equal height */
.features-area .row > [class*="col-"],
.beus-services > [class*="col-"] { display: flex; }
.features-area .single-features-box,
.beus-services .single-services-box { width: 100%; }

/* Home page featured service: wide card */
.beus-services .beus-featured {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 50px;
    border-color: #e1ff19;
}
.beus-services .beus-featured .icon i::before { font-size: 56px; }
.beus-services .beus-featured h3 { font-size: 30px; }
.beus-services .beus-featured p + p { margin-top: 12px; }
@media only screen and (max-width: 767px) {
    .beus-services .beus-featured { padding: 20px; }
    .beus-services .beus-featured h3 { font-size: 22px; }
}

/* Page title: the theme uses h2; h1 is used for SEO with the theme's h2 style applied as is. */
.page-title-content h1 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
}
@media only screen and (max-width: 767px) { .page-title-content h1 { font-size: 25px; } }
@media only screen and (min-width: 768px) and (max-width: 991px) { .page-title-content h1 { font-size: 30px; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) { .page-title-content h1 { font-size: 34px; } }

/* Service detail body (HTML from the database) */
.services-details-desc ul { padding-left: 20px; margin-bottom: 20px; }
.services-details-desc ul li { margin-bottom: 8px; }

/* Fixed WhatsApp button */
.beus-whatsapp {
    position: fixed;
    right: 20px;
    bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.beus-whatsapp:hover { color: #ffffff; transform: translateY(-2px); }

/* Dark theme: process boxes are black; section background matches the theme's dark feature area */
.theme-dark .beus-process { background-color: #0e0e0e; }

/* Call-to-action box at the end of blog posts */
.beus-post-cta { margin-top: 40px; padding: 30px; border-radius: 10px; background: #0e101b; color: #fff; text-align: center; }
.beus-post-cta p { color: #fff; font-size: 18px; margin-bottom: 15px; }
.blog-details .article-content h2 { font-weight: 700; font-size: 26px; margin: 30px 0 15px; }
.blog-details .article-content h3 { font-weight: 700; font-size: 21px; margin: 25px 0 12px; }
.theme-dark .beus-post-cta { background: #20222E; }

/* Contact form */
.beus-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.beus-kvkk { display: flex; gap: 10px; align-items: flex-start; }
.beus-kvkk input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.beus-kvkk a { text-decoration: underline; }
.contact-area .help-block { color: #e74c3c; font-size: 14px; margin-top: 6px; }
.beus-form-success, .beus-form-error { border-radius: 10px; padding: 25px 30px; margin-bottom: 25px; }
.beus-form-success { background: #0e101b; color: #fff; text-align: center; }
.beus-form-success h3 { color: #e1ff19; }
.beus-form-success p { color: #fff; margin: 0; }
.beus-form-error { background: #fdecea; color: #b3261e; }
.theme-dark .beus-form-error { background: #3a1f1f; color: #ffb4ab; }
.beus-kvkk label { display: block; margin: 0; }
.beus-kvkk label a { display: inline; }
.contact-area .nice-select { float: none; width: 100%; height: 50px; line-height: 48px; border-radius: 0; padding: 0 20px; font-size: 15px; }
.contact-area .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.contact-area textarea.form-control { height: auto; min-height: 180px; }

/* Footer: business details (MERSIS, tax) */
.beus-legal-bits { font-size: 13px; opacity: .75; margin-top: 6px; }

/* Contact map: loads on click */
.beus-map { height: 400px; }
.beus-map iframe { width: 100%; height: 400px; margin-bottom: -10px; border: none; display: block; }
.beus-map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px 20px; text-align: center; background: #0e101b; color: #fff; }
.beus-map-placeholder .icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(225, 255, 25, 0.12); color: #e1ff19; font-size: 32px; }
.beus-map-placeholder .icon i::before { margin: 0; font-size: 32px; }
.beus-map-address { color: #fff; font-size: 17px; margin: 0; }
.beus-map-note { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin: 0; max-width: 520px; }
.beus-map-link { color: #e1ff19; text-decoration: underline; font-size: 15px; }
.beus-map-link:hover { color: #fff; }
.theme-dark .beus-map-placeholder { background: #20222E; }

/* Cookie notice banner */
.beus-cookie-notice { position: fixed; left: 20px; right: 90px; bottom: 20px; z-index: 999; max-width: 640px; display: flex; gap: 15px; align-items: center; background: #0e101b; color: #fff; padding: 15px 20px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.beus-cookie-notice[hidden] { display: none; }
.beus-cookie-notice p { color: #fff; margin: 0; font-size: 14px; }
.beus-cookie-notice a { color: #e1ff19; text-decoration: underline; }
.beus-cookie-notice .btn { flex: none; padding: 8px 18px; }
@media (max-width: 575px) { .beus-cookie-notice { right: 20px; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; } }
.theme-dark .beus-cookie-notice { background: #20222E; }

/* Performance: animate.css is not loaded; the sticky header only needs this keyframe */
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -100%, 0); }
    to { opacity: 1; transform: translateZ(0); }
}

/* Performance: WebP versions of the theme's background images (same pixels, lossless) */
.page-title-area { background-image: url(../img/page-title-bg.webp); }
.cta-area { background-image: url(../img/black-bg3.webp); }

/* Accessibility: FAQ titles are buttons; keep the theme's link look */
.faq-accordion .accordion .accordion-item .accordion-title { width: 100%; text-align: left; background: transparent; font-family: inherit; line-height: inherit; cursor: pointer; }

/* Service body headings are h2 (heading order after the page h1); same look as the theme's h3 */
.services-details .services-details-desc h2 { margin-bottom: 15px; line-height: 1.5; font-size: 24px; font-weight: 700; }
.services-details .services-details-desc h2:not(:first-child) { margin-top: 20px; }
@media only screen and (max-width: 767px) {
    .services-details .services-details-desc h2 { margin-bottom: 10px; font-size: 19px; }
    .services-details .services-details-desc h2:not(:first-child) { margin-bottom: 8px; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .services-details .services-details-desc h2 { line-height: 1.4; font-size: 22px; }
}

/*
 * Accessibility: coral contrast (WCAG AA 4.5:1).
 * The brand coral #fa8185 stays for the logo, shapes, illustrations, decorative icons and bars.
 * Coral text on light surfaces uses a darker coral tone (--beus-coral-on-light, 5.16:1 on #fff,
 * 5.03:1 on #fcfcfc, 4.61:1 on #f2f2f2). On dark surfaces the brand coral already passes
 * (8.54:1 on #000, 6.05:1 on #242733), so it is kept there. Filled coral buttons and states keep the
 * brand coral background and use dark text (#0e101b, 7.71:1), as the theme's own coral hover states do.
 */
:root {
    --beus-coral: #fa8185;
    --beus-coral-on-light: #c13f46;
    --beus-coral-on-dark: #fa8185;
    --beus-coral-text: var(--beus-coral-on-light);
    --beus-on-coral: #0e101b;
}
/* Dark theme and dark surfaces of the light theme: the brand coral passes as text */
.theme-dark,
.top-header,
.navbar-area,
.main-banner,
.services-area.bg-image,
.cta-area,
.page-title-area,
.footer-area,
.single-services-box,
.beus-post-cta,
.beus-map-placeholder,
.beus-cookie-notice,
.beus-form-success {
    --beus-coral-text: var(--beus-coral-on-dark);
}
.theme-dark { --beus-on-coral: #000000; }
/* The mobile menu panel is white inside the dark navbar (dark #111 in the dark theme) */
.navbar-area .mean-container .mean-nav { --beus-coral-text: var(--beus-coral-on-light); }
.theme-dark .navbar-area .mean-container .mean-nav { --beus-coral-text: var(--beus-coral-on-dark); }

/* Coral text: section subtitles, links, active menu items, step numbers */
a:hover,
.section-title span,
.about-content span,
.why-choose-us-content span,
.coverage-area-content span,
.pricing-about-content span,
.offer-content .sub-title,
.beus-process .single-features-box .icon,
.bahama-mobile-nav.mean-container .mean-nav ul li a.active,
.single-blog-post .blog-post-content ul li a:hover,
.blog-details .article-content .entry-meta ul li a:hover,
.blog-details .article-footer .article-tags a:hover,
.comments-area .comment-metadata a:hover,
.services-details .services-details-desc .services-details-faq .accordion .accordion-item .accordion-title:hover,
.services-details .services-details-desc .services-details-faq .accordion .accordion-item .accordion-title.active {
    color: var(--beus-coral-text);
}
.theme-dark a:hover { color: var(--beus-coral-text); }
/* Decorative icons inside coral subtitles keep the brand coral */
.section-title span .icon,
.about-content span i { color: var(--beus-coral); }
/* Focus ring of form fields (non-text contrast, 3:1) */
.form-control:focus,
.widget-area .widget_search form .search-field:focus { border-color: var(--beus-coral-text); }

/* Coral buttons: brand coral background, dark text */
.main-banner-content .btn-box .btn-primary,
.why-choose-us-content .btn-primary,
.offer-content .btn-primary,
.pricing-about-content .btn-primary { color: var(--beus-on-coral); }
/* Primary button hover fills with coral: dark text instead of white */
.btn-primary:hover,
.btn-primary:focus,
.theme-dark .btn-primary:hover,
.theme-dark .btn-primary:focus { color: var(--beus-on-coral) !important; }

/* Filled coral states: dark text and icons */
.services-sidebar .services-list ul li a:hover,
.services-sidebar .services-list ul li a.active,
.theme-dark .services-sidebar .services-list ul li a:hover,
.theme-dark .services-sidebar .services-list ul li a.active,
.pagination-area .page-numbers.current,
.pagination-area .page-numbers:hover,
.pagination-area .page-numbers:focus,
.theme-dark .pagination-area .page-numbers.current,
.theme-dark .pagination-area .page-numbers:hover,
.theme-dark .pagination-area .page-numbers:focus,
.widget-area .tagcloud a:hover,
.widget-area .tagcloud a:focus,
.widget-area .widget_search form button,
.details-btn:hover,
.single-footer-widget .newsletter-form button:hover,
.go-top:hover,
.go-top:focus { color: var(--beus-on-coral); }

/* Contact info cards turn coral on hover: dark text */
.single-contact-info:hover h3,
.single-contact-info:hover p,
.single-contact-info:hover h3 a,
.single-contact-info:hover p a,
.theme-dark .single-contact-info:hover h3,
.theme-dark .single-contact-info:hover p,
.theme-dark .single-contact-info:hover p a { color: var(--beus-on-coral); }
.single-contact-info:hover p a:hover { color: var(--beus-on-coral) !important; text-decoration: underline; }

/* FAQ toggle icons are part of a control: dark glyph on the brand coral square (7.71:1) */
.faq-accordion .accordion .accordion-item .accordion-title i,
.theme-dark .faq-accordion .accordion .accordion-item .accordion-title i { color: #0e101b; }
