/* ====================================================
   CSS RESET & NORMALIZATION
   ==================================================== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8ECD6;
  color: #3a2411;
  font-family: 'Lato', 'Georgia', serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  background: transparent;
  color: #5B4636;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #a46c28;
}
ul, ol {
  list-style: none;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ====================================================
   GLOBAL TYPOGRAPHY & BRAND STYLE
   ==================================================== */
:root {
  --primary: #3a2411;
  --secondary: #f8ecd6;
  --accent: #a46c28;
  --muted: #ede5da;
  --text-dark: #3a2411;
  --text-light: #fff;
  --border-radius: 14px;
  --box-shadow: 0 2px 14px rgba(90,70,50,0.05);
}

body {
  background: var(--secondary);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.95rem;
}
p, ul, ol, li {
  font-family: 'Lato', 'Georgia', serif;
  font-size: 1rem;
  color: var(--primary);
}
p, ul, ol {
  margin-bottom: 20px;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  font-family: 'Lato', 'Georgia', serif;
  margin-bottom: 24px;
}

strong {
  font-weight: 700;
}

ul {
  list-style-type: disc;
  margin-left: 18px;
}
ul li {
  margin-bottom: 8px;
}
li strong {
  color: var(--primary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* ----------------------------------------------------
    Buttons
---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.23s, color 0.18s, box-shadow 0.2s;
  box-shadow: var(--box-shadow);
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  border: 1.5px solid var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 24px rgba(100,60,20,0.10);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(164,108,40,0.12);
}

/* ====================================================
   HEADER & NAVIGATION
   ==================================================== */
header {
  background: var(--secondary);
  border-bottom: 1px solid #ede5da;
  box-shadow: 0 1px 8px rgba(90,70,50,0.035);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  min-height: 66px;
  padding: 0 16px;
}
.main-nav a {
  color: #c88144;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 8px;
  position: relative;
  transition: color 0.17s;
}
.main-nav a:not(.btn):hover, .main-nav a:not(.btn):focus {
  color: var(--accent);
}
.main-nav a.btn {
  margin-left: 12px;
}
.main-nav img {
  margin-right: 18px;
  max-height: 36px;
}

/* ----------------------------------------------------
    Mobile Burger Menu
---------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 14px;
  right: 20px;
  background: var(--accent);
  color: var(--text-light);
  font-size: 2.1rem;
  border-radius: 8px;
  border: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 104;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(164,108,40,0.08);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #5B4636;
  color: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,28,16,0.98);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.31,1,.62,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  box-shadow: 0 0 24px rgba(60,44,20,.18);
}
.mobile-menu-close {
  color: var(--text-light);
  font-size: 2.1rem;
  background: transparent;
  border: none;
  align-self: flex-end;
  margin: 28px 32px 6px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 112;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  width: 100vw;
}
.mobile-nav a {
  color: var(--text-light);
  font-size: 1.3rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  padding: 8px 24px;
  border-radius: 8px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------------------------------------------------
   HERO / GENERIC SECTIONS
--------------------------------------------------- */
main {
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.hero {
  background: #fff9f1;
  border-bottom: 1px solid #eee3cf;
  padding: 60px 0 56px 0;
  min-height: 290px;
  display: flex;
}
.hero .container,
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

/* ---------------------------------------------------
   FEATURE SECTIONS & CARDS
--------------------------------------------------- */
.features, .feature-grid, .card-container, .card-grid, .styles-gallery, .blog-features {
  width: 100%;
}
.features {
  background: var(--secondary);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 220px;
  max-width: 23%;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature-item h4, .feature-item h3 {
  font-size: 1.14rem;
  font-family: 'Montserrat', 'Georgia', serif;
  margin-bottom: 6px;
  color: var(--accent);
}
.feature-item p {
  font-size: 1rem;
  color: var(--primary);
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 28px rgba(90,70,50,0.13);
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 24px;
  min-width: 230px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(90,70,50,0.15);
  transform: translateY(-4px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ---------------------------------------------------
   TESTIMONIALS
--------------------------------------------------- */
.testimonials {
  background: var(--muted);
  padding: 40px 0 40px 0;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 28px;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: 0 2px 12px rgba(90,70,50,0.06);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.2s, border 0.18s;
  border-left: 6px solid var(--accent);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-author {
  display: block;
  color: var(--accent);
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  margin-left: 14px;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(90,70,50,0.13);
  border-left-color: #5B4636;
}

/* ---------------------------------------------------
   SERVICES & PRICELIST
--------------------------------------------------- */
.service-list {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list li {
  background: #fff;
  padding: 16px 18px 16px 18px;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 7px rgba(90,70,50,0.06);
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.service-list li strong {
  color: var(--accent);
}
.service-price {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.08rem;
}

.benefits-list,
.description-blocks {
  margin: 18px 0 18px 16px;
  padding: 0;
  list-style-type: disc;
}
.benefits-list li,
.description-blocks li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--primary);
}

/* ---------------------------------------------------
   BLOG TEASERS
--------------------------------------------------- */
.blog-post-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post-teasers li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 28px 24px 22px 24px;
  min-width: 240px;
  max-width: 29%;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}
.blog-post-teasers li h3 {
  font-size: 1.14rem;
  color: var(--accent);
  font-family: 'Montserrat', 'Georgia', serif;
}
.blog-post-teasers li p {
  margin-bottom: 0;
}

.blog-post-teasers li .btn {
  align-self: flex-end;
  font-size: 0.96rem;
}
.blog-post-teasers li:hover {
  box-shadow: 0 7px 30px rgba(90,70,50,0.12);
  transform: translateY(-6px) scale(1.025);
}

/* ---------------------------------------------------
   GALLERY STYLES
--------------------------------------------------- */
.style-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.style-list li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 28px 24px 22px 24px;
  min-width: 230px;
  max-width: 31%;
  flex: 1 1 210px;
  margin-bottom: 20px;
}
.style-list li h3 {
  color: var(--accent);
}

/* ---------------------------------------------------
   LEGAL SECTIONS
--------------------------------------------------- */
.legal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px rgba(90,70,50,0.045);
  margin-top: 36px;
  margin-bottom: 60px;
  padding: 40px 28px 48px 28px;
}
.legal h1, .legal h2, .legal h3 {
  color: var(--primary);
}

/* ---------------------------------------------------
   CONTACT + MISC SECTIONS
--------------------------------------------------- */
.contact-info ul,
.location-directions ul {
  margin: 12px 0 16px 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin-bottom: 8px;
}
.text-section a {
  color: var(--accent);
}
.text-section a:hover, .text-section a:focus {
  text-decoration: underline;
  color: #5B4636;
}

.confirmation {
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 9px rgba(90,70,50,0.08);
  padding: 50px 10px 50px 10px;
  margin-top: 36px;
}
.confirmation .btn {
  margin-top: 22px;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #fff9f0;
  border-top: 1px solid #f1e6d6;
  box-shadow: 0 -2px 12px rgba(90,70,50,0.06);
  padding: 36px 0 12px 0;
  margin-top: 42px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0.86;
  margin-bottom: 2px;
  color: var(--primary);
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Lato', serif;
  font-size: 0.98rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
  opacity: 0.78;
  color: var(--primary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}
.footer-brand img {
  width: 30px;
  height: 30px;
  display: block;
}
.footer-brand span {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', serif;
}

/* ====================================================
   RESPONSIVE DESIGN
   ==================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .feature-item,
  .card,
  .blog-post-teasers li,
  .style-list li {
    max-width: 45%;
  }
}
@media (max-width: 900px) {
  .feature-item,
  .card,
  .blog-post-teasers li,
  .style-list li {
    max-width: 90%;
    min-width: 180px;
    flex: 1 1 150px;
  }
  .feature-grid, .card-container,
  .blog-post-teasers, .style-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  section { padding: 28px 0 32px 0; margin-bottom: 40px; }
  .feature-grid, .card-container,
  .blog-post-teasers, .style-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item,
  .card,
  .blog-post-teasers li,
  .style-list li {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px 16px 12px;
  }
  .main-nav { padding: 0 2px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.07rem; }
  .feature-item, .card, .blog-post-teasers li, .style-list li, .testimonial-card {
    padding: 16px 9px;
    min-width: 0 !important;
  }
  .container { padding: 0 4px; }
  section { padding: 15px 0 18px 0; }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
}

/* ====================================================
   LAYOUT/UTILITY CLASSES (as per MANDATORY assignment)
   ==================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====================================================
   COOKIE CONSENT BANNER & MODAL
   ==================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(248,236,214,0.99);
  color: #3a2411;
  box-shadow: 0 -2px 20px rgba(60,32,12,0.06);
  padding: 18px 24px 22px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 1200;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.22s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .banner-text {
  flex: 1;
  max-width: 480px;
  font-size: 1rem;
}
.cookie-consent-banner .c-buttons {
  display: flex;
  gap: 10px;
}
.cookie-consent-banner .btn {
  padding: 7px 19px;
  font-size: 0.97rem;
  border-radius: 7px;
  font-weight: 500;
}
.cookie-consent-banner .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.cookie-consent-banner .btn-secondary {
  background: #fff;
  color: #3a2411;
  border: 1.5px solid var(--accent);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,20,9,0.19);
  z-index: 1450;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff9f1;
  border-radius: 16px;
  box-shadow: 0 6px 42px rgba(60,32,12,0.14);
  padding: 32px 28px 26px 28px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 0;
}
.cookie-modal .cookie-pref-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.01rem;
  color: var(--primary);
}
.cookie-modal .pref-label {
  flex-grow: 1;
}
.cookie-modal input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 17px;
  font-size: 1.7rem;
  color: var(--accent);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1465;
  padding: 2px 8px;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn {
  padding: 7px 18px;
  font-size: .97rem;
  border-radius: 7px;
}
.cookie-modal .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.cookie-modal .btn-secondary {
  background: #fff;
  color: #3a2411;
  border: 1.5px solid var(--accent);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 17px 8px;
    gap: 12px;
    z-index: 1200;
    font-size: 0.95rem;
  }
  .cookie-consent-banner .banner-text {
    font-size: 0.93rem;
  }
  .cookie-modal {
    padding: 19px 7px 20px 7px;
    min-width: 80vw;
    font-size: .94rem;
  }
}

/* ====================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ==================================================== */
.btn, a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.16s;
}
.card, .feature-item, .blog-post-teasers li, .style-list li {
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card {
  transition: box-shadow 0.17s, border-left-color 0.17s;
}
section, .legal, .confirmation {
  transition: box-shadow 0.1s, background 0.2s;
}

/* Focus state improvement for accessibility */
.btn:focus, a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* END OF STYLES */
