/* --- CSS RESET & BASE TYPOGRAPHY --- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fcfaf7;
  color: #254156;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  list-style: none;
}
a {
  color: #257360;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #56A688;
}


/* --- BRAND FONTS (import if needed) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-family: 'Open Sans', Georgia, Times, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #254156;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 16px;
}
p, .text-section, ul, ol {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  color: #254156;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}
blockquote {
  font-style: italic;
  color: #254156;
  border-left: 3px solid #56A688;
  padding-left: 15px;
  margin-bottom: 8px;
  background: #f9f5ee;
}
cite {
  color: #257360;
  font-size: 0.96rem;
  display: block;
  margin-top: 4px;
  font-style: normal;
}


/* --- CONTAINER & SECTION LAYOUT --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
main {
  flex: 1 0 auto;
  min-height: 60vh;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFFDF9;
  border-bottom: 1px solid #eee6d9;
  padding: 0 0 0 0;
  box-shadow: 0 2px 14px 0 rgba(37,65,86,0.06);
  position: sticky;
  top: 0;
  z-index: 1080;
}
header > .container,
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
header > a {
  display: flex;
  align-items: center;
  margin-right: 22px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  flex: 1 1 0%;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  color: #254156;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  font-size: 1rem;
}
header nav a:hover,
header nav a:focus {
  background: #f3e3c3;
  color: #257360;
}
.cta-btn {
  display: inline-block;
  background: #257360;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 12px 26px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 20px 0 rgba(86,166,136,0.08);
  margin-left: 12px;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #254156;
  color: #F3E3C3;
  box-shadow: 0 2px 24px 0 rgba(37,65,86,0.17);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #257360;
  cursor: pointer;
  margin-left: 10px;
  z-index: 1012;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #254156;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #F3E3C3;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.48,1.16,.48,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 26px 0 26px;
  box-shadow: -8px 0 30px rgba(37,65,86,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #254156;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #257360;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  color: #254156;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2573601c;
  color: #257360;
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: #F3E3C3 url('../assets/hero-bg.jpg') center/cover no-repeat;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 16px 42px -30px #bda7864a;
  margin-bottom: 50px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: #254156;
}
.hero p {
  color: #254156;
  font-size: 1.18rem;
  margin-bottom: 24px;
}
.hero .cta-btn {
  font-size: 1.13rem;
  padding: 16px 38px;
  font-weight: 700;
  margin-top: 16px;
}


/* --- FEATURE & SERVICE LISTS --- */
.features, .services, .dog-features, .cat-features, .bird-features, .features-overview, .features-training {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px -12px #25415619;
  margin-bottom: 48px;
  padding: 38px 22px;
}
.features ul, .services ul, .dog-features ul,
.cat-features ul, .bird-features ul,
.features-overview ul, .features-training ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 0;
}
.features ul li, .services ul li, .dog-features ul li, .cat-features ul li, .bird-features ul li,
.features-overview ul li, .features-training ul li {
  background: #fcfaf7;
  border-radius: 14px;
  box-shadow: 0 3px 12px -3px #bda78629;
  padding: 26px 22px;
  min-width: 210px;
  flex: 1 1 260px;
  font-size: 1.06rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.features ul li img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.features ul li strong, .services ul li strong {
  font-size: 1.10rem;
  margin-bottom: 6px;
}
.services ul li div {
  margin-top: 8px;
  color: #257360;
  font-weight: 600;
  background: #f3e3c3;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 0.98rem;
}
@media (max-width: 950px) {
  .features ul,
  .services ul,
  .dog-features ul,
  .cat-features ul,
  .bird-features ul,
  .features-overview ul,
  .features-training ul {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- CARD & GRID SECTIONS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 18px 0 #25415619;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px -6px #2541563b;
  transform: translateY(-8px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: #f8f4ed;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px 0 #25415610;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px -8px #25736026;
  transform: translateY(-4px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card,
  .testimonials .testimonial-card {
    flex: 1 1 100%;
    padding: 22px 12px;
  }
}
@media (max-width: 800px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card {
    min-width: 180px;
    width: 100%;
  }
}

/* --- ABOUT & DETAILS TEXT --- */
.text-section {
  font-size: 1.04rem;
  color: #254156;
  margin-bottom: 18px;
}
.text-section ul{
  margin-left: 12px;
  margin-bottom: 12px;
  padding-left: 0;
}
.text-section li {
  list-style-type: none;
  margin-bottom: 7px;
  font-size: 1rem;
}


/* --- FOOTER --- */
footer {
  background: #254156;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 20px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 18px 0 #25415612;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav a {
  color: #f3e3c3;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.16s;
  opacity: 0.95;
}
footer nav a:hover { color: #56A688; }
footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
footer .social-links a {
  background: #fff;
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 #fff3e3ad;
  transition: background 0.2s;
}
footer .social-links a:hover {
  background: #f3e3c3;
}
footer .newsletter-signup {
  background: #25415630;
  padding: 12px 18px 12px 18px;
  border-radius: 8px;
  color: #fff2e9;
  max-width: 350px;
}
footer h3 {
  font-size: 1.22rem;
  margin-bottom: 5px;
  color: #fff;
}
footer p {
  color: #f3e3c3;
  font-size: 0.99rem;
  margin-bottom: 0;
}
footer small {
  display: block;
  text-align: center;
  color: #f3e3c3;
  margin-top: 12px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #f3e3c3;
  color: #254156;
  box-shadow: 0 -2px 24px 0 #bda78644;
  padding: 22px 12px;
  z-index: 2200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1.02rem;
  transition: transform 0.28s;
}
#cookie-consent-banner.hide {
  transform: translateY(100%);
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: #257360;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 5px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 2px;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #fff;
  color: #254156;
  border: 1px solid #bda78685;
}
.cookie-btn.settings {
  background: #F3E3C3;
  color: #254156;
  border: 1px solid #bda78685;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #254156;
  color: #f3e3c3;
}
/* Modal */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(37,65,86,0.60);
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal.open {
  display: flex;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 38px 8px #bda78629;
  width: 100%;
  max-width: 420px;
  color: #254156;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  color: #254156;
  font-size: 1.39rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
}
.cookie-modal-close {
  align-self: flex-end;
  background: 0;
  border: 0;
  color: #257360;
  font-size: 1.6rem;
  cursor: pointer;
  margin-bottom: 5px;
  margin-top: -18px;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #254156;}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e3d6be;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #257360;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 6px 0 #25415629;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

/* --- RESPONSIVE RULES --- */
@media (max-width: 750px) {
  html { font-size: 15px; }
  .hero { padding-top: 38px; padding-bottom: 30px; }
  .hero h1 { font-size: 2rem; }
  .hero .cta-btn { padding: 14px 18px; }
  .features, .services, .dog-features, .cat-features, .bird-features, .features-overview,
  .features-training {
    padding: 24px 7px;
  }
  .footer .newsletter-signup { max-width: 100%; }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .hero,
  .features, .services, .about-short,
  .about-team, .testimonials, .about-articles,
  .features-overview, .features-training,
  .contact, .contact-details, .thank-you, .terms-of-use, .privacy, .gdpr, .cookie-policy {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* --- BUTTONS & INTERACTIONS --- */
button,
input[type=button],
input[type=submit] {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: #257360;
  color: #fff;
  padding: 11px 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  cursor: pointer;
}
button:hover, button:focus,
input[type=button]:hover, input[type=button]:focus,
input[type=submit]:hover, input[type=submit]:focus {
  background: #254156;
  color: #f3e3c3;
  box-shadow: 0 2px 14px 0 #2541563b;
}

/* --- MICRO-INTERACTIONS (elegant) --- */
.cta-btn:not(:active) {
  transition: transform 0.13s cubic-bezier(.4,1.56,.6,1);
}
.cta-btn:active {
  transform: scale(0.97);
}
.testimonial-card:hover blockquote {
  color: #257360;
}
.card:hover h3, .card:hover h2 {
  color: #257360;
}

/* --- SECTION SPACING, GAP, AND FLEXBOX RULES --- */
.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;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: #f3e3c3;
}
::-webkit-scrollbar-thumb {
  background: #bda786;
  border-radius: 6px;
}

/* --- Print Friendly --- */
@media print {
  header, footer, .mobile-menu, #cookie-consent-banner, #cookie-modal { display: none !important; }
  body, section, .container, .content-wrapper { background: #fff !important; color: #254156; }
}
