/* =============================
   Gusturi din Lume - Style.css
   Vintage / Retro Inspired Design
   ============================= */

/* --- 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, menu, 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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFF8F1;
  color: #46362B;
}
menu, ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- TYPOGRAPHY (Vintage/Retro) --- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #4A3730;
  background: #FFF8F1;
}
h1, h2, h3 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: #245686;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #EFD36C, 4px 4px 0 #B3330D33;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 0 #F9C77280;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #4A3730;
  letter-spacing: 0.1px;
}
.subtitle {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #B3330D;
  margin-bottom: 16px;
  text-shadow: 0 1px 0 #FFE8B5;
}

/* --- COLOR PALETTE --- */
:root {
  --primary: #245686;
  --secondary: #F9C772;
  --accent: #B3330D;
  --neutral-bg: #FFF8F1;
  --border: #EFD36C;
  --text-dark: #46362B;
  --text-light: #FFFFFF;
  --retro-green: #6C7A57;
  --retro-brown: #A97C50;
  --button-hover: #E04D25;
}

/* --- LAYOUT CONTAINER & SECTIONING --- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 26px 0 #B3330D14, 0 2px 2px #F9C77244;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

/* --- FLEXBOX COMPONENTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #FFFDF6;
  border: 2px solid var(--border);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.25s;
  box-shadow: 0 4px 16px #F9C77233;
}
.card:hover {
  box-shadow: 0 8px 32px #B3330D22, 0 2px 8px #F9C77266;
  transform: translateY(-6px) scale(1.025);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff9e7;
  border: 2px dashed var(--accent);
  border-radius: 16px;
  box-shadow: 0 2px 12px #A97C5033;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
  color: var(--text-dark);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #24568622;
}
.testimonial-card p {
  font-style: italic;
  color: #46362B;
  font-size: 1.04rem;
}
.testimonial-card span {
  color: #245686;
  font-weight: bold;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS --- */
.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  border: 2px solid var(--border);
  padding: 12px 32px;
  border-radius: 30px;
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 2px 4px 0 #F9C77255, 0 2px 12px #B3330D1a;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.22s, transform 0.18s;
  margin-top: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--button-hover);
  color: #fff;
  box-shadow: 0 6px 20px #E04D2514, 0 0px 6px #F9C77222;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary, .mobile-menu-close, .cookie-accept, .cookie-decline, .cookie-settings, .cookie-close, .cookie-save {
  background: var(--secondary);
  color: var(--accent);
  border-radius: 24px;
  padding: 10px 26px;
  border: 2px solid var(--border);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-right: 8px;
}
.btn-secondary:hover, .cookie-accept:hover, .cookie-decline:hover, .cookie-settings:hover, .cookie-close:hover, .cookie-save:hover {
  background: var(--accent);
  color: #fff;
}

/* --- HEADER --- */
header {
  background: var(--primary);
  color: var(--secondary);
  padding: 0;
  box-shadow: 0 4px 24px #2456861a;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Merriweather', serif;
  color: var(--secondary);
  font-size: 1.05rem;
  padding: 7px 12px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
}
header .btn-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--border);
  margin-left: 24px;
  padding: 10px 28px;
  font-size: 1rem;
  box-shadow: none;
  text-shadow: 1px 1px 0 #FFF8F1;
}
header .btn-primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1051;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 2rem;
  border-radius: 50%;
  border: 0;
  box-shadow: 0 2px 12px #B3330D22;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9e7;
  box-shadow: 0 8px 32px #24568633;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.77,.2,.05,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  color: var(--accent);
  border: none;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 2010;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F9C772;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 90px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--accent);
  padding: 13px 0;
  border-bottom: 1px solid #EFD36C66;
  border-radius: 8px 8px 0 0;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1150px) {
  .container { max-width: 98vw; }
}

@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px;
    gap: 10px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
}

/* --- FOOTER --- */
footer {
  width: 100%;
  margin-top: 40px;
  background: #f8e6c7;
  border-top: 4px dotted var(--accent);
  color: #46362B;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 0 16px 0;
  border-bottom: 2px solid #EFD36C55;
}
.footer-brand img {
  width: 68px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact {
  max-width: 240px;
  font-size: 0.98rem;
  color: var(--text-dark);
}
.footer-contact h3 {
  color: #B3330D;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #245686;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.13s;
}
footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  color: #B3330D;
  font-size: 0.95rem;
  padding: 14px 0 8px 0;
}

@media (max-width: 950px) {
  .footer-top {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* --- HIGHLIGHTS & CARD ACCENTS --- */
.premium-highlight, .service-highlight {
  background: #FAF2D0;
  border-left: 6px solid var(--primary);
  padding: 18px 24px;
  border-radius: 14px;
  margin-top: 16px;
  margin-bottom: 10px;
  color: #4A3730;
  font-size: 1.07rem;
  box-shadow: 0 1px 5px #24568611;
}
.premium-highlight strong {
  color: var(--accent);
  font-size: 1.1em;
}

/* --- LISTS & LINKS --- */
ul, ol {
  list-style: disc inside;
  margin-left: 18px;
  margin-bottom: 8px;
  margin-top: 2px;
}
ul li {
  margin-bottom: 6px;
  font-size: 1rem;
}
ol li {
  margin-bottom: 7px;
  font-size: 1rem;
}
section ul li strong {
  color: #245686;
}
section ul li span {
  color: #B3330D;
  font-size: 0.98rem;
  margin-left: 6px;
}
a {
  color: #245686;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #B3330D;
  text-decoration: underline;
}

/* --- FORMS (in case added) --- */
input[type='text'], input[type='email'], textarea {
  background: #FFFDF6;
  border: 2px solid #C1B096;
  border-radius: 10px;
  font-size: 1.06rem;
  padding: 10px 14px;
  margin-bottom: 10px;
  width: 100%;
  transition: border 0.18s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border: 2px solid var(--primary);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 9990;
  background: #FFF9E0;
  color: #4A3730;
  padding: 22px 16px 22px 32px;
  box-shadow: 0 -2px 32px #B3330D19;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  border-top: 4px double var(--border);
  animation: cookieSlideUp 0.6s;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  75% { transform: translateY(-12%); opacity: 0.75; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  flex: 1 1 200px;
}
.cookie-banner button {
  margin-left: 8px;
}
.cookie-preferences-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #00000077;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalAppear 0.36s;
}
@keyframes modalAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-preferences-dialog {
  background: #fff9e7;
  border-radius: 20px;
  box-shadow: 0 8px 40px #24568622;
  padding: 30px 32px;
  max-width: 390px;
  width: 94vw;
  color: #46362B;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-preferences-dialog h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-preferences-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.cookie-preferences-category label {
  font-weight: 500;
  color: var(--accent);
}
.cookie-preferences-modal .cookie-close {
  position: absolute;
  right: 20px; top: 20px;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  color: var(--accent);
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-preferences-modal .cookie-close:hover {
  background: var(--secondary);
}
.cookie-save {
  background: var(--primary);
  color: #fff;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  margin-left: 0;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
}
.cookie-save:hover {
  background: var(--accent);
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 5vw 18px 5vw;
  }
  .cookie-preferences-dialog {
    padding: 16px 8px;
    font-size: 0.99rem;
  }
}

/* --- TABLET ADJUSTMENTS --- */
@media (max-width: 850px) {
  .footer-brand img {
    width: 44px;
  }
}

/* --- PATTERNS & NOSTALGIC ELEMENTS --- */
.section {
  background-image: repeating-linear-gradient(-45deg, #FAF2D0 0 20px, #FFFDF6 20px 40px);
  background-size: 120px 120px;
}
.testimonial-card, .card {
  background-image: linear-gradient(135deg, #FFFDF6 74%, #ECD596 100%);
}
footer {
  background-image: repeating-linear-gradient(135deg, #f8e6c7 0 28px, #fff3d8 28px 58px);
}

/* --- MICRO-INTERACTIONS --- */
.card, .testimonial-card, .btn-primary, .footer-top, .cookie-banner, .cookie-preferences-dialog {
  transition: box-shadow 0.22s, background 0.2s, color 0.16s, transform 0.17s;
}
.btn-primary:active {
  background: var(--secondary);
  color: var(--accent);
}

/* --- SHADOWS & ROUNDED CORNERS --- */
.card, .testimonial-card, .service-highlight, .premium-highlight, .cookie-banner, .cookie-preferences-dialog {
  border-radius: 16px;
  box-shadow: 0 2px 12px #B3330D11;
}

/* --- MISC ELEMENTS --- */
.contact-map {
  background: #FAF2D0;
  border: 1.5px dashed #F9C772;
  color: #B3330D;
  font-family: 'Merriweather', serif;
  font-size: 0.98rem;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 18px 0;
}
.next-steps {
  margin-top: 16px;
  background: #fffce9;
  border: 2px dotted #C1B096;
  border-radius: 11px;
  padding: 16px 18px 12px 20px;
}
.next-steps h2 {
  color: #B3330D;
  margin-bottom: 6px;
  font-size: 1.16rem;
}
.next-steps ul {
  margin-left: 20px;
  margin-bottom: 0;
}

/* --- DISABLED ELEMENTS (search/buttons that are disabled) --- */
button[disabled], input[disabled], button:disabled {
  background: #ECD596;
  color: #A97C50;
  cursor: not-allowed;
  opacity: 0.67;
}

/* --- PRINT (remove cookie and mobile menu overlays for print) --- */
@media print {
  .cookie-banner, .cookie-preferences-modal, .mobile-menu { display: none !important; }
}
