/*
 * app-overrides.css
 * Loaded LAST in layout.tsx after all local stylesheets.
 * This file wins the cascade by load order, so most rules don't need !important.
 * Only rules fighting inline styles or third-party !important still use !important.
 */

/* Putter theme - layout & typography variables */
:root {
  --theme-var-page_width: 1230px;
  --theme-var-page_boxed_extra: 60px;
  --theme-var-grid_gap: 30px;
  --theme-var-sidebar_width: 410px;
  --theme-var-sidebar_gap_width: 40px;
  --theme-font-p_font-family: Montserrat, sans-serif;
  --theme-font-p_font-size: 1rem;
  --theme-font-p_font-weight: 400;
  --theme-font-p_line-height: 1.647em;
  --theme-font-p_margin-top: 0em;
  --theme-font-p_margin-bottom: 1.57em;
  --theme-font-h1_font-family: Montserrat, sans-serif;
  --theme-font-h1_font-size: 3.353em;
  --theme-font-h1_font-weight: 900;
  --theme-font-h1_line-height: 1em;
  --theme-font-h1_letter-spacing: -2.5px;
  --theme-font-h1_margin-top: 1.12em;
  --theme-font-h1_margin-bottom: 0.4em;
  --theme-font-h2_font-family: Montserrat, sans-serif;
  --theme-font-h2_font-size: 2.765em;
  --theme-font-h2_font-weight: 800;
  --theme-font-h2_line-height: 1.021em;
  --theme-font-h2_letter-spacing: -1.8px;
  --theme-font-h2_margin-top: 0.79em;
  --theme-font-h2_margin-bottom: 0.45em;
  --theme-font-h3_font-family: Montserrat, sans-serif;
  --theme-font-h3_font-size: 2.059em;
  --theme-font-h3_font-weight: 700;
  --theme-font-h3_line-height: 1.086em;
  --theme-font-h4_font-family: Montserrat, sans-serif;
  --theme-font-h4_font-size: 1.647em;
  --theme-font-h4_font-weight: 700;
  --theme-font-logo_font-size: 1.7em;
  --theme-font-logo_font-weight: 700;
  --theme-font-button_font-family: Montserrat, sans-serif;
  --theme-font-button_font-size: 15px;
  --theme-font-button_font-weight: 700;
  --theme-font-menu_font-family: Montserrat, sans-serif;
  --theme-font-menu_font-size: 16px;
  --theme-font-menu_font-weight: 500;
  --theme-font-input_font-family: Montserrat, sans-serif;
  --theme-font-input_font-size: 16px;
}

@media (max-width: 768px) {
  :root {
    --theme-font-h1_font-size: 2.2em;
    --theme-font-h1_letter-spacing: -1px;
    --theme-font-h2_font-size: 1.85em;
    --theme-font-h2_letter-spacing: -0.8px;
    --theme-font-h3_font-size: 1.5em;
    --theme-var-grid_gap: 16px;
  }
}

/* Ensure .page_wrap and .body_wrap take full width */
.body_wrap,
.page_wrap {
  width: 100%;
  max-width: 100%;
}
/* Prevent horizontal scroll from full-bleed hero; don't clip hero so use html */
html {
  overflow-x: hidden;
  font-size: 100%;
  scroll-behavior: smooth;
}

/* content_wrap_fullscreen takes full width */
.content_wrap_fullscreen {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* Images should be responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Elementor entrance animations */
.animated {
  animation-fill-mode: both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation-name: fadeInUp; animation-duration: 0.6s; }
@keyframes putter-fadeinup {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.putter-fadeinup { animation-name: putter-fadeinup; animation-duration: 0.6s; }

/* Custom "Ce găsești la ZONE 47" slider */
.ce-gasesti-section {
  padding: 6rem 1.5rem 5rem;
  background-color: #ffffff;
}

.ce-gasesti-inner {
  max-width: var(--theme-var-page_width);
  margin: 0 auto;
}

.ce-gasesti-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 2.765em;
  font-weight: 900;
  line-height: 1.021em;
  letter-spacing: -1.8px;
  text-align: center;
  color: #1d1a0c;
  margin: 0 0 3.5rem;
  text-transform: uppercase;
}

.ce-gasesti-slider {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: pan-y;
}

.ce-gasesti-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.ce-gasesti-slide {
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  max-width: var(--theme-var-page_width);
  margin: 0 auto;
  counter-reset: feature-num;
}

.ce-gasesti-card {
  flex: 1 1 0;
  text-align: left;
  padding: 2.5rem;
  border-left: 1px solid #e8e4dd;
  counter-increment: feature-num;
  transition: background-color 0.25s ease;
}

.ce-gasesti-card:first-child {
  border-left: none;
}

.ce-gasesti-card:hover {
  background-color: #faf9f7;
}

.ce-gasesti-bubble {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 0 1.75rem;
  border-radius: 0;
  background-color: transparent;
  transition: none;
}

.ce-gasesti-bubble::before {
  content: "0" counter(feature-num);
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  color: #fcb040;
  opacity: 0.9;
}

.ce-gasesti-bubble-dot {
  display: none;
}

.ce-gasesti-card:hover .ce-gasesti-bubble {
  transform: none;
}

.ce-gasesti-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d1a0c;
  margin: 0 0 0.875rem;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.ce-gasesti-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7em;
  color: #6e6d68;
  margin: 0;
  max-width: none;
}

.ce-gasesti-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3rem;
}

.ce-gasesti-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ce-gasesti-dot-active {
  background-color: #fcb040;
  border-color: #fcb040;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .ce-gasesti-card {
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 767px) {
  .ce-gasesti-section {
    padding: 4rem 1.5rem 3.5rem;
  }

  .ce-gasesti-heading {
    font-size: 2rem;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
  }

  .ce-gasesti-slide {
    flex-direction: column;
    gap: 0;
  }

  .ce-gasesti-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem 0;
  }

  .ce-gasesti-card:first-child {
    border-top: none;
  }

  .ce-gasesti-bubble::before {
    font-size: 2.5rem;
  }

  .ce-gasesti-dots {
    margin-top: 2rem;
  }
}

/* Putter scheme_default colors */
.scheme_default,
body.scheme_default {
  --theme-color-bg_color: #ffffff;
  --theme-color-bd_color: #dbd9d7;
  --theme-color-text: #6e6d68;
  --theme-color-text_light: #9a9694;
  --theme-color-text_dark: #1d1a0c;
  --theme-color-text_link: #2d323c;
  --theme-color-text_hover: #fcb040;
  --theme-color-text_link2: #fcb040;
  --theme-color-alter_bg_color: #f8f8f4;
  --theme-color-alter_bg_hover: #f2f0ea;
  --theme-color-alter_text: #6e6d68;
  --theme-color-alter_dark: #1d1a0c;
  --theme-color-alter_link: #fcb040;
  --theme-color-alter_hover: #2d323c;
  --theme-color-extra_bg_color: #19140f;
  --theme-color-extra_text: #bcb5b0;
  --theme-color-extra_dark: #ffffff;
  --theme-color-extra_link: #2d323c;
  --theme-color-extra_hover: #fcb040;
  --theme-color-input_bd_color: #dbd9d7;
  --theme-color-input_text: #6e6d68;
  --theme-color-inverse_link: #ffffff;
  --theme-color-inverse_hover: #ffffff;
}

/* Putter scheme_light (alternate sections) */
.scheme_light {
  --theme-color-bg_color: #f8f8f4;
  --theme-color-alter_bg_color: #ffffff;
}



body {
  font-family: var(--font-montserrat, var(--theme-font-p_font-family));
  font-size: var(--theme-font-p_font-size);
  font-weight: var(--theme-font-p_font-weight);
  line-height: var(--theme-font-p_line-height);
  color: var(--theme-color-text);
  background-color: var(--theme-color-bg_color);
  margin: 0;
}

/* Typography */
h1,
.front_page_section_caption {
  font-family: var(--theme-font-h1_font-family);
  font-size: var(--theme-font-h1_font-size);
  font-weight: var(--theme-font-h1_font-weight);
  line-height: var(--theme-font-h1_line-height);
  letter-spacing: var(--theme-font-h1_letter-spacing);
  margin-top: var(--theme-font-h1_margin-top);
  margin-bottom: var(--theme-font-h1_margin-bottom);
  color: var(--theme-color-text_dark);
}

h2 {
  font-family: var(--theme-font-h2_font-family);
  font-size: var(--theme-font-h2_font-size);
  font-weight: var(--theme-font-h2_font-weight);
  line-height: var(--theme-font-h2_line-height);
  letter-spacing: var(--theme-font-h2_letter-spacing);
  margin-top: var(--theme-font-h2_margin-top);
  margin-bottom: var(--theme-font-h2_margin-bottom);
  color: var(--theme-color-text_dark);
}

h3, h4, h5, h6 {
  font-family: var(--theme-font-h3_font-family);
  color: var(--theme-color-text_dark);
}

p {
  margin-top: var(--theme-font-p_margin-top);
  margin-bottom: var(--theme-font-p_margin-bottom);
}

/* Layout wrappers (Putter structure) */
.body_wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page_wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page_content_wrap {
  flex: 1;
}

.content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.content_wrap {
  max-width: var(--theme-var-page_width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Front page sections - common structure */
.front_page_section {
  padding: 4rem 0;
}

.front_page_section_inner {
  width: 100%;
}

.front_page_section_content_wrap {
  max-width: var(--theme-var-page_width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.front_page_section_description {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.front_page_section_description p {
  margin-bottom: 1em;
}

.front_page_section_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Buttons */
.theme_button,
a.theme_button,
button.theme_button {
  display: inline-block;
  font-family: var(--theme-font-button_font-family);
  font-size: var(--theme-font-button_font-size);
  font-weight: var(--theme-font-button_font-weight);
  padding: 0.75em 1.5em;
  background-color: var(--theme-color-text_link);
  color: var(--theme-color-inverse_link);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.theme_button:hover,
a.theme_button:hover {
  background-color: var(--theme-color-text_hover);
  color: var(--theme-color-inverse_hover);
}

/* Skip links (accessibility) */
.putter_skip_link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5em 1em;
  background: var(--theme-color-text_dark);
  color: var(--theme-color-extra_dark);
}

.putter_skip_link:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0.5em;
}

/* Logo text */
.logo_text {
  font-size: var(--theme-font-logo_font-size);
  font-weight: var(--theme-font-logo_font-weight);
  text-decoration: none;
  color: inherit;
}

/* Footer scheme (dark) */
.scheme_extra,
.footer_wrap.scheme_extra,
.footer_copyright_wrap.scheme_extra {
  --theme-color-bg_color: #19140f;
  --theme-color-text: #bcb5b0;
  --theme-color-text_dark: #ffffff;
}

.footer_wrap,
.footer_copyright_wrap {
  background-color: var(--theme-color-bg_color);
  color: var(--theme-color-text);
}

.footer_copyright_inner {
  padding: 1.5rem 0;
}

.copyright_text {
  font-family: var(--theme-font-p_font-family);
  font-size: 0.9rem;
  text-align: center;
}

/* About page parity now handled by native React markup in app/globals.css */

/* Contacts page parity now handled by native React markup in app/globals.css */
