/* General site styles (minimal baseline) */

/* 1. CSS Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; line-height: 1.6; color: #222; background: #fff; }
img, svg, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

/* 2. Typography */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin: 0 0 .5rem; font-family: "Noto Serif Display", serif; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: #0d6efd; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
small { color: #666; }

/* 3. Layout scaffolding */
.container { padding-left: 12px; padding-right: 12px; }
@media (min-width: 768px) { .container { padding-left: 16px; padding-right: 16px; } }
.content-wrap { padding: 0px 0; }

/* 4. Header */
.site-header { border-bottom: 1px solid #eee; background: #fafafa; }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.site-header .brand img { display: block; height: 40px; width: auto; }
.site-header .menu { font-size: 14px; }
.site-header .menu .lang a { padding: 4px 6px; border-radius: 4px; color: #333; }
.site-header .menu .lang a.active { color: #0d6efd; font-weight: 600; }

/* 5. Footer */
.site-footer { position:relative; border-top: 1px solid #eee; background: #fafafa;overflow: hidden;}
.site-footer .footer-bottom { padding: 14px 0; font-size: 14px; color: #555; }
.site-footer .footer-logo{
    position: absolute;
    width: 500px;
    height: auto;
  margin-top: -150px;
    right: -30px;
    opacity: 0.1;
    z-index: 1;

}

/* 6. Utilities */
.text-center { text-align: center !important; }
.text-md-start { text-align: left !important; }
@media (max-width: 767.98px) { .text-md-start { text-align: center !important; } }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }

/* 7. Forms (basic) */
label { display: inline-block; margin-bottom: .25rem; }
input[type="text"], input[type="email"], input[type="password"], textarea, select { width: 100%; padding: .5rem .625rem; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #222; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.15); }


button, .btn { display: inline-block; padding: .5rem .875rem; border:none; color: #fff; border-radius: 4px; cursor: pointer; }
button.btn-outline, .btn.btn-outline { background: transparent; color: #0d6efd; }
button:disabled { opacity: .65; cursor: not-allowed; }
.btn-sm { padding: .3rem .5rem; font-size: .875rem; line-height: 1.5; border-radius: 3px; }
.btn-light { background: #f8f9fa; color: #212529; }



/* 9. Font utility classes for Noto Serif Display */
.tinos-regular { font-family: "Noto Serif Display", serif; font-weight: 400; font-style: normal; }
.tinos-bold { font-family: "Noto Serif Display", serif; font-weight: 500; font-style: normal; }
.tinos-regular-italic { font-family: "Noto Serif Display", serif; font-weight: 400; font-style: italic; }
.tinos-bold-italic { font-family: "Noto Serif Display", serif; font-weight: 700; font-style: italic; }


/* Link color override: use terracotta instead of blue */
a { color: #E2725B; }
.site-header .menu .lang a.active { color: #E2725B; }


/* Header primary menu enhancements */
.site-header .menu { font-size: 14px; display: flex; align-items: center; gap: 16px; }
.site-header .menu .primary a { padding: 6px 8px; color: #333; }
.site-header .menu .primary a:hover { text-decoration: none; color: #000; }


/*TREBUIE CURATAT PAOI*/
.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Enforce maximum 15px radius on buttons */
button,
.btn,
input[type="button"],
input[type="submit"] {
    border-radius: 5px !important;
}

/* === Overrides for Lato and header/menu per issue === */

/* Use Lato globally */
/*body { font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }*/

/* Headings in Lato with updated sizes */
h1, h2, h3, h4, h5, h6 { font-family: "Lato", sans-serif; font-weight: 700; }
h1 { font-size: 45px; }
h2 { font-size: 45px !important; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Header letter spacing and logo font */
.site-header { letter-spacing: 3px; }
.site-header .brand, .site-header .brand .brand-text { font-family: "Lato", sans-serif; font-weight: 500; }

/* Make the textual logo visually 90% height */
.site-header .brand { font-size: 20px; transform: none; transform-origin: left center; display: inline-flex; align-items: center; gap: 8px; }
/* If an image logo is used, keep it within 90% of header area */
.site-header .brand img { height: 90%; width: auto; }
/* Inline SVG logo sizing */
.site-header .brand .brand-logo svg { width: 40px; height: auto; display: block;margin-right: 20px }


/* Center the primary menu and make it slightly larger */
.site-header .nav { position: relative; }
.site-header .menu { font-size: 18px; /* was ~14px */ position: relative; display: flex; align-items: center; gap: 30px; }
.site-header .menu .primary {  display: flex; align-items: center; gap: 30px; }
.site-header .menu .primary a { font-weight: 400; }

/* Ensure language switch remains readable */
.site-header .menu .lang a { font-size: 16px; }


/* Logo uppercase and wider letter-spacing */
.site-header .brand .brand-text { text-transform: uppercase; letter-spacing: 6px; }


/* === Custom additions for pre-hero, footer dark, and utilities === */

/* Footer dark theme per request */
.site-footer { background: #1d1d1d; color: #fff; border-top: none;margin-top:3rem }
.site-footer a { color: #fff; }
.site-footer .footer-bottom { padding: 16px 0; font-size: 14px; color: #fff; background-image: url('/media/p3_cleanup.jpg'); border-top: 1px solid #222; }

/* Text end utility for md+ */
.text-md-end { text-align: right !important; }
@media (max-width: 767.98px) { .text-md-end { text-align: center !important; } }

/* Pre-hero (two columns) */
.pre-hero { margin-top: 16px; margin-bottom: 24px; }
.pre-hero .row { gap: 16px 0; }
.pre-hero-cta, .pre-hero-contact { padding: 20px; border-radius: 10px; }
.pre-hero-cta { background: #A3B18A; color: #111; }
.pre-hero-cta h2, .pre-hero-cta h3 { color: #111; margin: 0 0 10px; }
.pre-hero-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pre-hero-cta .btn { background: #1d1d1d; border-color: #1d1d1d; color: #fff; }
.pre-hero-cta .btn.btn-outline { background: transparent; color: #1d1d1d; border-color: #1d1d1d; }

.pre-hero-contact { background: #fff; color: #222; border: 1px solid #eee; }
.pre-hero-contact .contact-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pre-hero-contact .label { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: .5px; }
.pre-hero-contact .value { font-weight: 600; }
.pre-hero-contact .socials { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pre-hero-contact .socials a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ccc; color: #333; }
.pre-hero-contact .socials a:hover { text-decoration: none; background: #f4f4f4; }

@media (min-width: 768px) {
  .pre-hero .row { align-items: stretch; }
}

/* About-style section with image right */
.about-alt { padding: 24px 0 8px; }
.about-alt .about-text { padding: 12px; }
.about-alt .about-media { padding: 12px; }
.about-alt .about-media img { width: 100%; height: auto; display: block; border-radius: 12px; }


/* === Pre-footer stacked + fullwidth CTA (per request) === */
.pre-footer-cta { background: #A3B18A; padding: 24px 0; }
.pre-footer-cta .pre-hero-cta { background: transparent; color: #111; padding: 0; border-radius: 0; }
.pre-footer-contact {background-image: url('/media/p3_cleanup.jpg'); color: #fff; padding: 50px 0; position: relative; overflow: hidden; }
.pre-footer-contact a { color: #E2725B; }
.pre-footer-contact .pre-hero-contact { background: transparent; border: 1px solid #333; border-radius: 10px; padding: 20px; color: inherit; position: relative; z-index: 1; }

/* Background watermark text in pre-footer-contact */
/*.pre-footer-contact::before {*/
/*    content: "DIANA SANDI";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-family: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';*/
/*    font-weight: 400;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 0.12em;*/
/*    font-size: clamp(48px, 12vw, 220px);*/
/*    line-height: 1;*/
/*    color: #3d3d3d;*/
/*    opacity: 0.05;*/
/*    pointer-events: none;*/
/*    user-select: none;*/
/*    z-index: 0;*/
/*}*/


/* === Pre-footer contact layout refinements (match design) === */
.pre-footer-contact .contact-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 992px) { .pre-footer-contact .contact-wrap { grid-template-columns: 2fr 1fr; } }
.pre-footer-contact .pf-title { margin: 0 0 14px; line-height: 1.2; }
.pre-footer-contact .contact-grid.three { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .pre-footer-contact .contact-grid.three { grid-template-columns: repeat(3, 1fr); } }
.pre-footer-contact .right h3 { margin: 0 0 8px; }
.pre-footer-contact .right .muted { color: #bbb; margin: 0 0 12px; }
.pre-footer-contact .socials a { width: 40px; height: 40px; border-color: #bbb; color: #ddd; }

/* Global: remove underline from all links site-wide per requirement */
a, a:hover, a:focus, a:active { text-decoration: none; }


/* === Moved from resources/css/app.css: base and utilities === */
/* Global default border color to match Tailwind base */
*,
::after,
::before,
::backdrop,
::file-selector-button {
    border-color: currentColor;
}

/* Brand color CSS variables */
:root {
    --color-bejcald: #e6d5c3;
    --color-teracota: #E2725B;
    --color-caramel: #a6694c;
    --color-verde: #7d9a88;
    --color-albastru: #2f4e6d;
    --color-alb: #ffffff; /* fff */
}

/* Text color utilities */
.c-bejcald { color: var(--color-bejcald) }
.c-teracota { color: var(--color-teracota) }
.c-caramel { color: var(--color-caramel) }
.c-verde { color: var(--color-verde) }
.c-albastru { color: var(--color-albastru) }
.c-alb { color: var(--color-alb) }

/* Background color utilities */
.bg-bejcald { background-color: var(--color-bejcald) }
.bg-teracota { background-color: var(--color-teracota) }
.bg-caramel { background-color: var(--color-caramel) }
.bg-verde { background-color: var(--color-verde) }
.bg-albastru { background-color: var(--color-albastru) }
.bg-alb { background-color: var(--color-alb) }


/* Footer bottom centered menu styles */
.site-footer .footer-bottom .footer-menu { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .footer-bottom .footer-menu a { color: inherit; padding: 4px 6px; text-decoration: none; }
.site-footer .footer-bottom .footer-menu a:hover, .site-footer .footer-bottom .footer-menu a:focus { text-decoration: none; opacity: .85; }


/* === Home page styles (migrated from resources\\views\\ark\\home.blade.php @section('page_css')) === */
/* Home hero video */
.hero { position: relative; height: 100vh; min-height: 520px; color: #fff; overflow: hidden; }
.hero .poster, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero video { opacity: 0; transition: opacity .6s ease; background: #000; }
.hero video.is-loaded { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65) 10%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }
.hero .inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 64px); margin-bottom: .75rem; }
.hero p { max-width: 720px; font-size: 1.0625rem; opacity: .95; }
.hero .cta-group { margin-top: 1rem; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: #E2725B; border-color: #E2725B; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hero .btn-primary:hover, .hero .btn-primary:focus { background: #be6c54; border-color: #be6c54; box-shadow: 0 8px 20px rgba(0,0,0,.25); transform: translateY(-1px); text-decoration: none; }
/* Services bar at bottom */
.hero .services-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero .services { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.25); color: #fff; }
.hero .service { display: flex; align-items: center; gap: 10px; color: #fff; opacity: .95; }
.hero .tick { width: 18px; height: 18px; color: #fff; flex: 0 0 18px; }
/* Header overlay just for this page */
.header-overlay.site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: rgba(255,255,255,.15); z-index: 10; }
.header-overlay .brand, .header-overlay .menu .lang a, .header-overlay .menu .primary a { color: #fff !important; }
.header-overlay .menu .lang a.active { color: #fff !important; }
/* Remove default main padding on home so hero touches edges */
.page-home .content-wrap { padding: 0; }

/* About split section (two photos left, text/services right) */
.about-split { padding: clamp(48px, 9vw, 110px) 0; background: #fff; color: #222; }
.about-split .eyebrow { letter-spacing: .18em; text-transform: uppercase; opacity: .7; font-size: .825rem; margin-bottom: .25rem; }
.about-split h2 { font-size: clamp(28px, 4.2vw, 52px); margin-bottom: .5rem; }
.about-split .lead { max-width: 720px; color: #444; }
.about-split .photos { position: relative; padding-right: 2rem }
.about-split .stack { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.about-split .photo { border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.1); height: 100%; margin: 20px; }
.about-split .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-split .note { position: absolute; top: 20px; right: 20px; left: auto; background: #fff; border-radius: 0; padding: 14px 16px; box-shadow: 0 14px 36px rgba(0,0,0,.12); font-size: 20px; line-height: 1.4; max-width: 76%; }
.about-split .list { display: grid; gap: 10px; margin-top: 16px; }
.about-split .list .item { display: flex; gap: 10px; align-items: flex-start; }
.about-split .tick { width: 18px; height: 18px; color: #111; flex: 0 0 18px; }
.about-split .cta-group { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.about-split .btn-terracotta { background: #E2725B; border: 1px solid #E2725B; color: #fff; border-radius: 10px; padding: .6rem 1rem; }
.about-split .btn-terracotta:hover, .about-split .btn-terracotta:focus { background: #be6c54; border-color: #be6c54; text-decoration: none; }
.about-split .btn-outline-dark { background: transparent; border: 1px solid #000; color: #000; border-radius: 10px; padding: .6rem 1rem; }
.about-split .btn-outline-dark:hover, .about-split .btn-outline-dark:focus { background: #000; color: #fff; text-decoration: none; }
@media (max-width: 767.98px) {
  .about-split .stack { grid-template-columns: 1fr; }
  .about-split .note { position: static; margin-bottom: 12px; max-width: none; }
}

/* Blog teasers section */
.blog-teasers { background: transparent; padding: clamp(40px, 6vw, 80px) 0; color: #111; }
.blog-teasers .eyebrow { letter-spacing: .18em; text-transform: uppercase; opacity: .7; font-size: .825rem; margin-bottom: .25rem; }
.blog-teasers h2 { font-size: clamp(28px, 4vw, 52px); margin: 0 0 10px; }
.blog-teasers .lead { color: #444; max-width: 760px; }
.blog-teasers .cta-right { text-align: right; }
.blog-teasers .cta-right .btn { background: var(--color-teracota); border: 0; color: #fff; border-radius: 999px; padding: .6rem 1rem; }
.blog-teasers .cta-right .btn:hover { filter: brightness(0.95); text-decoration: none; }
.blog-teasers .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
@media (max-width: 991.98px) { .blog-teasers .cards { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 575.98px) { .blog-teasers .cta-right { text-align: left; margin-top: 12px;} .blog-teasers .cards { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: flex; flex-direction: column; height: 100%; }
.blog-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.blog-card .body { padding: 18px; }
.blog-card .title { font-size: 20px; margin: 0 0 6px; }
.blog-card .excerpt { color: #555; margin: 0 0 10px; }
.blog-card .link { color: #111; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.blog-card .link:hover { text-decoration: none; }

/* Variant: About split single image on right */
.about-split--single-right .stack { grid-template-columns: 1fr; }
.about-split--single-right .photo { margin: 0; height: auto; }
.about-split--single-right .photo img { height: auto; }

/* Variant: About split single image on left */
.about-split--single-left .stack { grid-template-columns: 1fr; }
.about-split--single-left .photo { margin: 0; height: auto; }
.about-split--single-left .photo img { height: auto; }

/* Green book callout variant */
.about-split--green-book { background: var(--color-verde); }
.about-split.about-split--green-book { padding-top: 0; padding-bottom: 0; }
.about-split--green-book .green-box { background: transparent; color: #fff; border-radius: 0; padding: 20px clamp(20px, 4.5vw, 48px); margin:0 }
.about-split--green-book .eyebrow, .about-split--green-book .lead { color: #fff; opacity: .95; }
.about-split--green-book h2 { color: #fff; }
.about-split--green-book .btn-book { background: #fff; color: #111; border: 0; border-radius: 12px; padding: .75rem 1.25rem; font-weight: 600; }
.about-split--green-book .btn-book:hover, .about-split--green-book .btn-book:focus { background: #f3f3f3; color: #000; text-decoration: none; }
.about-split--green-book .photo { box-shadow: none; border-radius: 14px; overflow: hidden; }
.about-split--green-book .photo img { max-height: 300px; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; }
/* Right align content in green box on desktop */
.about-split--green-book .align-right { text-align: right; }
.about-split--green-book .align-right .cta-group { justify-content: flex-end; }
@media (max-width: 575.98px) { .about-split--green-book .align-right { text-align: left; } }

/* Services showcase (beige grid of cards) */
.services-showcase { padding: clamp(40px, 9vw, 110px) 0; background: #e6d5c3; color: #111; }
.services-showcase .eyebrow { letter-spacing: .18em; text-transform: uppercase; opacity: .7; font-size: .825rem; margin-bottom: .25rem; }
.services-showcase h2 { font-size: clamp(26px, 3.6vw, 44px); }
.services-showcase .btn-terracotta { background: #E2725B; border: 1px solid #E2725B; color: #fff; border-radius: 10px; padding: .6rem 1rem; }
.services-showcase .btn-terracotta:hover, .services-showcase .btn-terracotta:focus { background: #be6c54; border-color: #be6c54; text-decoration: none; }
.services-showcase .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1199.98px) { .services-showcase .cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .services-showcase .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .services-showcase .cards-grid { grid-template-columns: 1fr; } }
.svc-card { position: relative; display: block; border-radius: 8px; overflow: hidden; min-height: 260px; }

/* Variant: card with background-image instead of <img> */
.svc-card--bg { background-size: cover; background-position: center; background-repeat: no-repeat; }

.svc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card .overlay { position: absolute; inset: 0; background: linear-gradient(
    180deg,
    rgba(60, 60, 60, 0.1) 0%,
    rgba(40, 40, 40, 0.3) 50%,
    rgba(0, 0, 0, 0.55) 100%
); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.svc-card .title { font-size: 18px; line-height: 1.3; max-width: 80%; text-transform: lowercase; }
.svc-card .read { align-self: flex-start; background: rgba(255,255,255,.15); padding: 6px 10px; border-radius: 999px; font-size: 14px; backdrop-filter: blur(2px); }
.svc-card:hover .read { background: rgba(255,255,255,.25); text-decoration: none; }
.svc-card .svc-logo {
    position: absolute;
    bottom: 0px;
    right: -149px;
    margin-bottom: -94px;
    width: 400px;
    height: auto;
    z-index: 1;
    opacity: 0.2;
    max-width: none!important;
}

.cards-grid .svc-card .overlay .cta-group{

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/*Banner pagini secundare ex:coaching*/
section.banner{
    margin-bottom: 2rem;
}
.banner {

    position: relative; /* foarte important */
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner-logo {
    position: absolute;
    right: 0px;
    margin-top:250px;
    width: 800px;
    height: auto;
    z-index: 1;
    margin-right: -200px;
    opacity: 0.2;

}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;

}
.banner h1 {
    font-family: "Noto Serif Display", serif;
    position: relative;
    z-index: 1;
    font-size: 3rem;
    text-align: center;
}
.banner p{
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    text-align: center;
}


/* 10. Side Cart (fixed sidebar) */
#side-cart {
    position: fixed;
    top: 0;
    right: 350px;
    height: 100vh; /* full viewport height */
    /* Width rules: minimum 400px, maximum 80vw */
    max-width: 80vw;
    width: 350px; /* occupy available width within min/max */
    background: #fff;
    box-shadow: -12px 0 24px rgba(0,0,0,0.12);
    z-index: 1050; /* above page content, below any modal if needed */
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#side-cart.open { transform: translateX(0); }

/* Optional inner structure helpers if present */
#side-cart .cart-header { position: sticky; top: 0; background: #fff; padding: 12px 16px; border-bottom: 1px solid #eee; z-index: 1; display: flex;
    justify-content: space-between;
    align-items: center;       }
#side-cart .cart-footer { position: sticky; bottom: 0; background: #fff; padding: 12px 16px; border-top: 1px solid #eee; }
#side-cart .cart-items { padding: 12px 16px; margin: 0; list-style: none;margin-bottom: 10px; }
#side-cart .cart-items li:last-child{border-bottom: none;}

#side-cart .cart-footer a {
    margin: 2rem;
    justify-content: center;
    align-items: flex-end;
    display: flex;
    background: none;
    color: #000;
    border: 1px solid #111;
    box-shadow: none;

}
.cart-item .details .link {
    color: #000;
    font-weight: 600;
    padding: 0;
    padding-bottom: 5px;
    background: none;
    border: 1px solid black;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
/* Global primary button overrides */
.btn.btn-primary, button, .btn {
  background: #E2725B;
  border-color: #E2725B;
  color: #fff;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus{
  background: #be6c54;
  border-color: #be6c54;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transform: translateY(-1px);
  text-decoration: none;
}


/* === Header (normal) colors: black links + black home SVG; exclude overlay header === */
/* Only apply on the normal header, not on .site-header.header-overlay */
.site-header:not(.header-overlay) .brand,
.site-header:not(.header-overlay) .menu .primary a,
.site-header:not(.header-overlay) .menu .lang a {
  color: #000;
}

/* Keep hover/focus black and remove underline for consistency */
.site-header:not(.header-overlay) .menu .primary a:hover,
.site-header:not(.header-overlay) .menu .primary a:focus,
.site-header:not(.header-overlay) .menu .lang a:hover,
.site-header:not(.header-overlay) .menu .lang a:focus {
  color: #000;
  text-decoration: none;
}

/* Make the brand/home SVG black on the normal header only */
.site-header:not(.header-overlay) .brand .brand-logo svg,
.site-header:not(.header-overlay) .brand .brand-logo svg g,
.site-header:not(.header-overlay) .brand .brand-logo svg path {
  fill: #000;
}

/** Cart toggle badge bubble */
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
    cursor: pointer;
}
.cart-toggle .count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #E2725B; /* terracotta */
  color: #fff;
  border-radius: 9999px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
    padding: 0 3px 0 7px;
  box-shadow: 0 0 0 2px #fff; /* ring for contrast on any bg */
  pointer-events: none; /* don't block clicks on the icon */
}

/* Make sure the cart icon has some size for positioning */
.cart-toggle {
  font-size: 20px;

}
/* Cart item styles */
.cart-item{
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    gap: 12px;
}
.cart-item .details{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.productinfo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.subtotal{
    margin-bottom: 10px;
}

/*search bar in header*/
.search-modal-input{
    box-shadow: none;
    border:none !important;
}
.search-button {
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:9999px;background:transparent;border:0;cursor:pointer ;color:#fff;
}
.site-header:not(.header-overlay) .search-button { color: #000; }
.site-header.header-overlay .search-button { color: #fff; }
.search-button:hover { background:rgba(255,255,255,0.1); }

.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    overflow-y: auto;
}
.search-modal {
    width:100%;max-width:600px;background:#fff;border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
    overflow:hidden;display:flex;flex-direction:column;
    max-height:80vh;
}
.search-modal-header {
    display:flex;align-items:center;justify-content:space-between;
    padding:12px 16px;border-bottom:1px solid #eee;flex:0 0 auto;
}
.search-modal-title { margin:0;font-size:16px;font-weight:700; }
.search-modal-close {
    background:transparent;border:0;font-size:22px;line-height:1;cursor:pointer;
    color:#333;padding:4px 8px;border-radius:6px;
}
.search-modal-close:hover { background:#f2f2f2; }

.search-modal-body {padding: 6px 8px 8px; display:flex; flex-direction:column; gap:12px; min-height:0; }



.search-results { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.search-modal.expanded .search-results { max-height:60vh; overflow:auto; }

.section-label {font-family: "Noto Serif Display", serif; font-size:20px;color:var(--color-teracota);text-transform:capitalize;margin:2px 2px 6px;font-weight:700; }
.result-item {

    display:block;padding:5px 10px;border-radius:8px;color:#111;text-decoration:none;font-size: 14px;
}
.result-item:hover { background:#f6f6f6; }
.no-results { color:#666;font-size:14px; }
.search-field{
    display:flex;
    flex-direction:row;
}

.mobile-header{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items: center;
    width:100%;

}
.mobile-menu{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition:.3s ease;
    gap:8px;
    height:100vh;
    width:100%;
    max-width:300px;


}

.mobile-nav { display: none; }


.mobile-menu{
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 16px 20px;
    gap: 12px;
    background-color: #222222;
    z-index: 1100;
    transform: translateY(-100%);
    transition: transform .25s ease;
}

.mobile-menu .ham-item {
    color: #fff;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 6px;
}
.mobile-menu a:hover { background: rgba(255,255,255,.08); }


.mobile-menu.is-open {
    transform: translateY(0%);
}

.hamburger svg{
    vertical-align: middle;
}
.hamburger {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0px 0px;
}
.site-header:not(.header-overlay) .hamburger{
    color: #000;
}
.site-header.header-overlay .hamburger{
    color: #fff;
}



.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color:var(--color-teracota);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    height: 32px;
    width: 32px;
    border-radius: 6px;

}
.muted{
    padding:15px;
}
.close-cart{
    color: #E2725B !important;
}
.separator{
    color: #555;
}
.account-link{
    display: flex;
    justify-content: center;

}
.search-button svg{
    max-width: none!important;
}
.account-link svg{
    max-width: none!important;
}
.account-link svg{
    color:white!important;
}
.site-header:not(.header-overlay)  .account-link svg{
    color:#000 !important;
}
@media (max-width: 1200px) {
    .site-header .menu .primary {

        gap: 1px;
    }
    .site-header .menu {


        gap: 18px;
    }

}
/* RESPONSIVE: pe ecrane mici, ascunde meniul desktop și arată bara mobilă */
@media (max-width: 767.98px) {

    .about-split .photos {
        padding-right: 0rem;
    }
    .about-split .note{
        position:absolute;
    }
    .blog-teasers .cta-right{
        text-align: center;
    }
    .about-split h2 {
        text-align: center;
    }
    .about-split .list {
        justify-content: center;
    }
    .about-split .cta-group {
        justify-content: center;
    }
    .services-showcase .view-all{
        text-align: center !important;
    }
    #pagina-contact-subformular{
       display:none;
    }
}

.mobile-actions{
    display:flex;
    flex-direction: row;
    gap:20px;
    align-items: center;
}
@media (max-width: 1024px) {
    .menu { display: none !important; }
    .nav{display:none !important;}
    .mobile-nav { display: flex; }
    .site-header .brand .brand-logo svg {margin-right:0px;}
    .site-header:not(.header-overlay) .search-button {
        color: White!important;;
    }

}

/* RESPONSIVE: pe ecrane mari, asigură-te că meniul mobil nu se vede */
@media (min-width: 1025px) {
    .mobile-menu { display: none !important; }
}
@media (max-width: 566px) {


    .svc-card .svc-logo{
        position: absolute;
        bottom: 0px;
        right: -128px;
        margin-bottom: -93px;
        width: 440px;
        height: auto;
        z-index: 1;
        opacity: 0.2;
        max-width: none!important;

    }

}
@media (max-width:390px) {

    .svc-card .svc-logo {
        position: absolute;
        bottom: 0px;
        right: -128px;
        margin-bottom: -93px;
        width: 400px;
        height: auto;
        z-index: 1;
        opacity: 0.2;
        max-width: none!important;
    }

}
@media (max-width: 1400px){
    .site-header {
        letter-spacing: 0px;
    }
}

