/* SerenCasa Elegant Classic Style – style.css */

/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #F8FBFF;
  color: #2C4F65;
  font-family: 'Montserrat', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

main {
  flex: 1 1 auto;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button, input, textarea, select {
  font: inherit;
  outline: none;
}

a {
  color: #2C4F65;
  text-decoration: none;
  transition: color 0.15s;
}
a:focus {
  outline: 2px solid #FDBD2C;
}

a:hover {
  color: #FDBD2C;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: #325A71;
  font-family:
    'Quicksand', 'Georgia', Times, serif;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.6em;
  font-weight: 600;
  line-height: 1.15;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4em;
  font-weight: 500;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, li {
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', Times, serif;
}
strong, b {
  font-weight: bold;
}

.text-section h2,
.text-section h3 {
  margin-top: 1.5em;
}

/* ===== CONTAINERS & LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(50,90,113,0.06);
}
.cta-block {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #325A71;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 4px 36px 0 rgba(50,90,113,0.13);
}
.cta-block h2, .cta-block p {
  color: #fff;
}

/* ======= HEADER & NAVBAR ======= */
header {
  background: #FFFFFF;
  box-shadow: 0 1px 18px 0 rgba(44,79,101,0.07);
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.logo img {
  height: 42px; width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Times New Roman', serif;
  color: #2C4F65;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
  position: relative;
  transition: color 0.15s, background 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDBD2C;
  background: rgba(50,90,113,0.08);
  text-decoration: none;
}
.btn-primary {
  background: #325A71;
  color: #fff;
  padding: 12px 32px;
  border-radius: 28px;
  font-family: 'Quicksand', 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 26px 0 rgba(44,79,101,0.08);
  border: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.13s, box-shadow 0.20s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FDBD2C;
  color: #325A71;
  box-shadow: 0 6px 32px 0 rgba(50,90,113,0.18);
}

button.mobile-menu-toggle {
  display: none;
  background: #325A71;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 10px;
  z-index: 210;
}
button.mobile-menu-toggle:focus, button.mobile-menu-toggle:hover {
  background: #FDBD2C;
  color: #325A71;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  z-index: 220;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #325A71;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1), opacity 0.22s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FDBD2C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Quicksand', 'Georgia', serif;
  color: #fff;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDBD2C;
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1050px) {
  header .container {
    flex-direction: row;
    padding: 0 10px;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: flex;
  }
  .btn-primary {
    padding: 11px 22px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section, .cta-block {
    padding: 29px 6px;
    margin-bottom: 44px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .btn-primary {
    padding: 12px 14px;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .cta-block,
  .section {
    padding: 18px 2px;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.37rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(118deg, #F8FBFF 70%, #e7f1fb 100%);
  padding: 72px 0 42px 0;
  box-shadow: 0 2px 32px 0 rgba(50, 90, 113, 0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #325A71;
  font-family: 'Quicksand', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
}
.hero p {
  max-width: 540px;
  color: #2C4F65;
}
.hero .btn-primary {
  margin-top: 22px;
}

@media (max-width: 768px) {
  .hero {
    padding: 42px 0 18px 0;
  }
  .hero h1 {
    font-size: 1.44rem;
  }
}

/* ======== FEATURE & CARD FLEX GRIDS ======== */
.feature-grid, .category-grid, .tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 1.2em;
  margin-bottom: 14px;
}
.feature, .category, .tip {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(50,90,113,0.06);
  padding: 26px 20px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.16s;
  margin-bottom: 20px;
}
.feature img, .category img, .tip img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.feature h3, .category h3 {
  color: #325A71;
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}
.feature p, .category p, .tip p {
  color: #2C4F65;
}
.feature:hover, .category:hover, .tip:hover {
  box-shadow: 0 6px 36px 0 rgba(50,90,113,0.12);
  transform: translateY(-2px) scale(1.013);
}

@media (max-width: 980px) {
  .feature, .category, .tip {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 48%;
  }
}
@media (max-width: 720px) {
  .feature-grid, .category-grid, .tip-grid {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .feature, .category, .tip {
    min-width: 100%;
    padding: 15px 10px;
  }
}

/* ====== SERVICES FLEX GRID ====== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.service {
  background: #f6f8fa;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(44,79,101,0.04);
  padding: 26px 20px;
  flex: 1 1 215px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.service h3, .service h2 {
  color: #325A71;
  font-family: 'Quicksand', 'Georgia', serif;
  font-size: 1.11rem;
  font-weight: 600;
}
.service-price {
  background: #FDBD2C;
  color: #2C4F65;
  padding: 5px 18px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.7px;
  font-size: 1.06rem;
  font-family: 'Montserrat', 'Times New Roman', serif;
  box-shadow: 0 0.5px 3px 0 rgba(44,79,101,0.08);
}
.service:hover {
  box-shadow: 0 4px 26px 0 rgba(44,79,101,0.10);
}
@media (max-width: 750px) {
  .service-list {
    gap: 13px;
  }
  .service {
    min-width: 98%;
  }
}

/* ========= HIGHLIGHT BLOCK ========= */
.highlight-block {
  background: #FFF6E6;
  padding: 26px 18px;
  border-radius: 15px;
  margin-top: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(253,189,44,0.07);
  font-size: 1.05rem;
}
.highlight-block h3 {
  margin-bottom: 0.8em;
  color: #325A71;
}
.highlight-block ul {
  margin-left: 20px;
  list-style: disc;
}
.highlight-block li {
  margin-bottom: 6px;
  color: #2C4F65;
}

/* ============ VALUE LIST (DESPRE NOI) ============ */
.value-list {
  margin: 14px 0 20px 0;
  padding-left: 18px;
  list-style: disc inside;
  color: #2C4F65;
}
.value-list li {
  margin-bottom: 10px;
  font-weight: 400;
}

/* ============ ARTICLE/PROJECT/RESOURCE LISTS ============ */
.article-list, .project-list, .resource-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px 0 0 0;
}
.article-list li, .project-list li, .resource-list li {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(44,79,101,0.05);
  padding: 20px 16px;
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  transition: box-shadow 0.16s;
}
.article-list li:hover, .project-list li:hover, .resource-list li:hover {
  box-shadow: 0 6px 26px 0 rgba(44,79,101,0.09);
}
.read-more, .resource-list a {
  color: #325A71;
  font-weight: 500;
  text-decoration: underline;
  font-size: 1.06rem;
  margin-top: 4px;
  transition: color 0.12s;
}
.read-more:hover, .resource-list a:hover {
  color: #FDBD2C;
}
.tag-difficulty {
  display: inline-block;
  background: #EEF2F8;
  color: #325A71;
  border-radius: 8px;
  padding: 3px 16px;
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ======= TESTIMONIALS SLIDER & CARD ======= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 1.4em;
  margin-bottom: 10px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 22px 0 rgba(44,79,101,0.10);
  padding: 23px 28px;
  min-width: 230px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.testimonial-card p {
  color: #2C4F65;
  font-size: 1.11rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-name {
  color: #325A71;
  font-size: 1.01rem;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(44,79,101,0.17);
}

@media (max-width: 800px) {
  .testimonial-slider {
    gap: 10px;
  }
  .testimonial-card {
    min-width: 90%;
    padding: 16px 11px;
  }
}

/* ====== GRID/SECTION SPACING CLASSES ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(44,79,101,0.07);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}

/* ====== CONTACT INFO ====== */
.contact-info {
  background: #F8FBFF;
  border-radius: 13px;
  padding: 20px 20px 20px 24px;
  margin: 15px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info p strong {
  color: #325A71;
  font-weight: 600;
}

/* ====== FOOTER ====== */
footer {
  background: #F8FBFF;
  border-top: 1.7px solid #E5E8F2;
  padding: 38px 0 22px 0;
  width: 100%;
  margin-top: 58px;
  font-size: 1rem;
}
footer .container {
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-nav a {
  color: #325A71;
  font-family: 'Montserrat', 'Times New Roman', serif;
  opacity: 0.96;
  transition: color 0.12s;
}
.footer-nav a:hover {
  color: #FDBD2C;
}
.footer-contact {
  flex: 1 1 250px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  color: #2C4F65;
  opacity: 0.95;
}
.footer-contact a {
  color: #325A71;
}
.footer-logo {
  min-width: 88px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.footer-logo img {
  height: 42px;
}

@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-logo {
    align-items: flex-start;
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 15px 0 8px 0;
  }
}

/* ======== FORM ELEMENTS ======== */
input[type="text"], input[type="email"], textarea, select {
  border: 1.2px solid #BFCAD7;
  border-radius: 7px;
  padding: 11px 13px;
  font-family: 'Montserrat', serif;
  background: #FAFCFF;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FDBD2C;
}
label {
  font-weight: 600;
  color: #2C4F65;
  margin-bottom: 6px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #2C4F65;
  color: #fff;
  font-size: 1rem;
  z-index: 1800;
  padding: 21px 18px 21px 18px;
  box-shadow: 0 -4px 26px 0 rgba(44,79,101,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: cookie-slidein 0.5s cubic-bezier(.42,0,.58,1);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 280px;
  color: #fff;
  margin: 0 8px 0 0;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-family: 'Quicksand', 'Georgia', serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
  transition: box-shadow 0.17s, background 0.15s, color 0.13s;
}
.cookie-btn.accept {
  background: #FDBD2C;
  color: #2C4F65;
  box-shadow: 0 2px 9px 0 rgba(253,189,44,0.10);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #FFE7A2;
  color: #325A71;
}
.cookie-btn.reject {
  background: #fff;
  color: #2C4F65;
  box-shadow: 0 1.5px 8px 0 rgba(50,90,113,0.09);
  border: 1.5px solid #2C4F65;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #F8FBFF;
  color: #FDBD2C;
}
.cookie-btn.settings {
  background: #325A71;
  color: #fff;
  border: 1.5px solid #FDBD2C;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #FDBD2C;
  color: #325A71;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 13px 3px;
    font-size: 0.97rem;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
  }
}

/* ====== COOKIE SETTINGS MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,79,101,0.58);
  z-index: 1810;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiefadein 0.22s;
}
@keyframes cookiefadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 26px 28px 26px;
  min-width: 305px;
  max-width: 98vw;
  box-shadow: 0 6px 48px 0 #325A7185;
  font-family: 'Montserrat', serif;
  color: #325A71;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modalpopup 0.23s cubic-bezier(.5,1.45,.33,1);
}
@keyframes modalpopup {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: #2C4F65;
  font-weight: 700;
  margin-bottom: 0.4em;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-weight: 500;
  font-size: 1.04rem;
  margin-bottom: 0;
}
.cookie-modal-toggle {
  width: 41px;
  height: 22px;
  appearance: none;
  background: #E6E8EB;
  border-radius: 50px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  border: none;
}
.cookie-modal-toggle:checked {
  background: #FDBD2C;
}
.cookie-modal-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2.5px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 5px rgba(50,90,113,0.06);
  transition: left 0.17s;
}
.cookie-modal-toggle:checked::before {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 23px;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: #FDBD2C;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 25;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #2C4F65;
}
@media (max-width: 450px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 13px 5px 9px 12px;
    border-radius: 10px;
  }
}

/* ========== MISCELLANEOUS ========== */
::-webkit-input-placeholder { color: #92A2B0; }
::-moz-placeholder { color: #92A2B0; }
:-ms-input-placeholder { color: #92A2B0; }
::placeholder { color: #92A2B0; }

blockquote {
  font-style: italic;
  padding-left: 18px;
  border-left: 3px solid #FDBD2C;
  margin: 22px 0;
  color: #325A71;
}

hr {
  border: none;
  border-top: 1.3px solid #E6E8EB;
  margin: 24px 0;
}

.text-section {
  margin-bottom: 24px;
}

/* === Accessibility focus === */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #FDBD2C;
  outline-offset: 3px;
}

/* ========== PRINT FRIENDLY ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container { background: #fff !important; color: #000 !important; }
  main { padding: 0 !important; }
}
