/* =============================
   Dreamy Isle – style.css
   Elegant Classic Sitewide CSS, Flexbox Only
   ============================= */

/* ===== 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 {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #FFFFFF;
  color: #265057;
  font-family: 'Open Sans', Georgia, Times, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #336970;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFB546;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li + li {
  margin-top: 10px;
}

/* =========== TYPOGRAPHY HIERARCHY =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, 'Times New Roman', serif;
  color: #265057;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  line-height: 1.22;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}

p, blockquote, cite {
  font-size: 1rem;
  color: #2F4347;
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
  color: #265057;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #D8E3E7;
  padding-left: 20px;
  margin: 0 0 12px 0;
  background: #FAFCFD;
  color: #265057;
}
cite {
  display: block;
  font-size: 1rem;
  margin-top: 10px;
  font-style: normal;
  color: #6B7C80;
}

/* =========== LAYOUT STRUCTURE =========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(38,80,87,0.06);
}

main > section:not(.no-section) {
  margin-bottom: 60px;
}

/* =========== HEADER =========== */
header {
  background: #FFF;
  box-shadow: 0 0 28px 0 rgba(38,80,87,0.07);
  border-bottom: 1.5px solid #D8E3E7;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}
.logo, .logo-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 20px;
}
.logo img, .logo-footer img {
  max-height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
}
.main-nav a {
  font-size: 17px;
  padding: 7px 6px;
  border-radius: 6px;
  color: #265057;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F1F5F7;
  color: #336970;
}

.cta-btn {
  background: #FFB546;
  color: #265057;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  transition: background 0.19s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 12px rgba(255,181,70,0.09);
  cursor: pointer;
  display: inline-block;
  margin-left: 14px;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F39200;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,181,70,0.17);
}

/* =========== FOOTER ========= */
footer {
  background: #F7FAFB;
  border-top: 1.5px solid #D8E3E7;
  padding: 36px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.logo-footer {
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #4C6872;
  font-size: 0.97rem;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFB546;
}

/* =========== HERO & SECTION TYPE SPACING ========= */
section .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =========== FLEX CARD/CARDS GRIDS & PATTERNS=========== */
.card-container, .card-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,80,87,0.07);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 17px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  background: #F7FAFB;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(38,80,87,0.07);
  padding: 24px 20px 18px 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 3.8px solid #336970;
  transition: box-shadow 0.16s, border-color 0.19s;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 5px 30px rgba(38,80,87,0.12);
  border-color: #FFB546;
}

.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;
}

/* ==== Testimonials & Reviews ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(38,80,87,0.08);
  margin-bottom: 22px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  color: #265057;
  margin-bottom: 12px;
  border: none;
  background: none;
  padding-left: 0;
}
.testimonial-card cite {
  color: #6B7C80;
  font-size: 0.96rem;
  font-style: normal;
}
.testimonial-card .rating {
  color: #FFB546;
  font-size: 1.14rem;
  margin-top: -7px;
}

/* ========== FAQ Accordion ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F7FAFB;
  border: 1px solid #E0E5E6;
  border-radius: 12px;
  padding: 18px 22px 16px 20px;
  box-shadow: 0 2px 10px rgba(38,80,87,0.05);
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}
.faq-item h2 {
  font-size: 1.09rem;
  margin-bottom: 7px;
}
.faq-answer {
  color: #344B50;
  font-size: 1rem;
}

.faq-contact-cta p {
  margin-top: 22px;
  font-size: 1.03rem;
}
.faq-contact-cta a {
  color: #336970;
  font-weight: 600;
  border-bottom: 1.5px dotted #FFB546;
  transition: border-color 0.18s;
}
.faq-contact-cta a:hover {
  border-color: #336970;
  color: #FFB546;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: #F7FAFB;
  border: 1px solid #E0E5E6;
  border-radius: 10px;
  padding: 32px 20px;
  color: #265057;
  font-size: 1.08rem;
  margin: 18px 0 0 0;
  text-align: center;
}

/* =========== ICON STYLING FOR LISTS =========== */
ul li img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin-right: 10px;
}

/* =========== BUTTONS & LINK BUTTONS =========== */
button, .button, input[type="submit"] {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  background: #FFB546;
  color: #265057;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(255,181,70,0.07);
  font-size: 1rem;
}
button:hover, .button:hover, button:focus, .button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F39200;
  color: #FFF;
}

/* Secondary button */
.button-secondary {
  background: #336970;
  color: #fff;
}
.button-secondary:hover, .button-secondary:focus {
  background: #21434B;
  color: #FFB546;
}

/* Disabled button */
button[disabled], .button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* =========== MOBILE NAVIGATION =========== */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 101;
  width: 48px;
  height: 48px;
  display: none;
  justify-content: center;
  align-items: center;
  background: #F7FAFB;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(38,80,87,0.11);
  font-size: 2rem;
  color: #265057;
  cursor: pointer;
  transition: background .15s, box-shadow .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E3ECEE;
  color: #FFB546;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.45,.05,.5,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  box-shadow: -2px 0 32px rgba(38,80,87,0.08);
  overscroll-behavior: contain;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #265057;
  font-size: 2.2rem;
  position: absolute;
  top: 17px;
  right: 25px;
  cursor: pointer;
  padding: 0;
  z-index: 130;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB546;
}
.mobile-nav {
  margin-top: 35px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  color: #265057;
  font-weight: 600;
  font-size: 1.18rem;
  font-family: 'Montserrat', serif;
  padding: 12px 0 10px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB546;
  background: #F7FAFB;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
  .header .container, header .container {
    flex-direction: row;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding-right: 60px;
  }
}

@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    min-height: 64px;
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .logo, .logo-footer {
    padding-right: 0;
  }
  .mobile-menu-toggle {
    top: 9px;
    right: 8px;
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }
}

/* ========== RESPONSIVE FLEXDOWN ========== */
@media (max-width: 768px) {
  .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
  }
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #FFFFFF;
  color: #265057;
  border-top: 2px solid #D8E3E7;
  box-shadow: 0 -6px 22px rgba(38,80,87,0.10);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 24px 12px 22px 12px;
  font-size: 1rem;
  transition: transform 0.29s, opacity 0.22s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-msg {
  flex: 1 1 200px;
  color: #29555F;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 20px;
  min-width: 132px;
  margin: 0 0 0 0;
  border: none;
  background: #FFB546;
  color: #265057;
  font-family: 'Montserrat', serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.11s;
  box-shadow: 0 2px 6px rgba(255,181,70,0.09);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #F39200;
  color: #fff;
}
.cookie-btn-settings {
  background: #336970;
  color: #fff;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #21434B;
  color: #FFB546;
}

/* ========== COOKIE MODAL (PREFS) ========== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(76,104,114,0.14);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 390px;
  width: 94vw;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 8px 36px 0 rgba(38,80,87,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2110;
  animation: cookie-fadein 0.35s cubic-bezier(.65,.05,.44,1.12);
}
@keyframes cookie-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-title {
  font-family: 'Montserrat', serif;
  font-size: 1.27rem;
  font-weight: 700;
  color: #265057;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
}
.cookie-category-name {
  font-family: 'Montserrat', serif;
  font-size: 1.07rem;
  font-weight: 600;
  color: #2F4347;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #D8E3E7;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  outline: none;
}
.cookie-switch.active {
  background: #FFB546;
}
.cookie-switch:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(38,80,87,0.12);
  transition: transform 0.22s;
}
.cookie-switch.active:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 11px;
  background: none;
  border: none;
  font-size: 1.39rem;
  color: #265057;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFB546;
}
.cookie-modal-categories-desc {
  font-size: 0.96rem;
  color: #687B7E;
}

/* ========== PAGE UTILITY CLASSES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

.hide { display: none !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }

/* ========== MISC STYLES ========== */
::-webkit-input-placeholder { color: #A4B8BD; }
::-moz-placeholder { color: #A4B8BD; }
:-ms-input-placeholder { color: #A4B8BD; }
::placeholder { color: #A4B8BD; }

hr {
  border: 0;
  border-bottom: 1px solid #E6ECEE;
  margin: 22px 0;
}

/* =========== SCROLLBAR ========== */
body, .mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: #D8E3E7 #fff;
}
body::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #D8E3E7;
  border-radius: 5px;
}

/* =========== FORM STYLES ========== */
input, textarea {
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #D8E3E7;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  background: #FAFCFD;
  color: #265057;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.19s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #FFB546;
  box-shadow: 0 2px 14px rgba(255,181,70,0.10);
}

label {
  font-family: 'Montserrat', serif;
  color: #29555F;
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

/* ============ ANIMATIONS & MICRO-INTERACTIONS ============== */
.card, .service-card, .testimonial-card, .faq-item {
  transition: box-shadow 0.19s, border-color 0.18s, transform 0.13s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 5px 30px rgba(38,80,87,0.12);
  transform: translateY(-2.5px) scale(1.008);
}

.cta-btn, .button, button, input[type="submit"] {
  transition: background 0.19s, color 0.18s, box-shadow 0.14s, transform 0.16s;
}
.cta-btn:active, .button:active, input[type="submit"]:active, button:active {
  transform: scale(0.98);
}

/* ======= PRINT ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/* ========== Z-INDEX UTILITY ========== */
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-100 { z-index: 100; }
.z-1000 { z-index: 1000; }

/* ========== ACCESSIBILITY FOCUS ========== */
a, button, .cta-btn, .button, input[type="submit"] {
  outline: none;
}
a:focus-visible, .cta-btn:focus-visible, .button:focus-visible, button:focus-visible, input[type="submit"]:focus-visible {
  outline: 2px solid #FFB546;
  outline-offset: 2px;
}

/* ============== END ============== */
