/* =============================================================
   CSS RESET & NORMALIZE  (Mobile First) 
   ============================================================= */
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,
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 {
  line-height: 1.15; /* Improve readability */
  -webkit-text-size-adjust: 100%;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  scroll-behavior: smooth;
}
body {
  background-color: #F4F7F5;
  color: #232323;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
  box-sizing: border-box;
  line-height: 1.68;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: inherit;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E0A106;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.4em;
}
li + li {
  margin-top: 0.5em;
}
section, main, footer, header {
  width: 100%;
  display: block;
}

/* =====================
   BRAND COLORS & FONTS
   ===================== */
:root {
  --color-primary: #1B263B;
  --color-secondary: #E0A106;
  --color-accent: #F4F7F5;
  --color-dark: #232323;
  --color-shadow: rgba(27, 38, 59, 0.08);
  --header-font: 'Montserrat', 'Georgia', 'serif';
  --body-font: 'Georgia', 'Times New Roman', Times, serif;
}

/* =====================
   TYPOGRAPHY SCALE
   ===================== */
h1, .h1 {
  font-family: var(--header-font);
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--color-primary);
}
h2, .h2 {
  font-family: var(--header-font);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3, .h3 {
  font-family: var(--header-font);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--color-primary);
}
h4, .h4 {
  font-family: var(--body-font);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  margin-top: 0;
}

ul, ol {
  font-size: 1rem;
}

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

@media (min-width: 768px) {
  h1, .h1 { font-size: 3.2rem; }
  h2, .h2 { font-size: 2.4rem; }
  .section { padding: 60px 0; }
}

/* ===============
   LAYOUT
   =============== */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 28px;
  }
}

/*==============
  HEADER & NAV
==============*/
header { 
  background: #fff;
  box-shadow: 0 2px 14px var(--color-shadow);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
header a img {
  height: 48px;
}
nav.main-nav {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
@media (min-width: 992px) {
  nav.main-nav {
    display: flex;
  }
}
nav.main-nav a {
  font-family: var(--header-font);
  font-size: 1.08rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.26s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--header-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 28px;
  padding: 9px 28px;
  box-shadow: 0 3px 10px var(--color-shadow);
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.28s, transform 0.15s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B88E14;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 20px rgba(27,38,59,0.17);
  text-decoration: none;
}

/*==========================
  MOBILE NAVIGATION BURGER
===========================*/
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 15px;
  z-index: 102;
  transition: background 0.18s;
  padding: 2px 8px 2px 8px;
  border-radius: 7px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ececec;
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 93vw;
  max-width: 390px;
  background: #F4F7F5;
  box-shadow: -4px 1px 22px rgba(27,38,59,0.11);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 1100;
  padding: 36px 28px 32px 28px;
  gap: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 1.7rem;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  color: var(--color-primary);
  padding: 2px 9px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: #E0A10633;
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
nav.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--header-font);
  font-size: 1.1rem;
  padding: 4px 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
nav.mobile-nav a:hover,
nav.mobile-nav a:focus {
  color: var(--color-secondary);
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-close {
    display: none !important;
  }
}

/* =======
 HEROES
========*/
.hero, .cocktail-hero, .nonalc-hero, .recipe-hero, .blog-hero, .contact-hero, .thank-you {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 26px var(--color-shadow);
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 36px 16px 42px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero h1, .cocktail-hero h1, .recipe-hero h1, .nonalc-hero h1, .contact-hero h1, .thank-you h1 {
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 14px;
  align-self: flex-start;
}

/* ===================
  FLEXBOX LAYOUTS
===================*/
.feature_grid, .card-container, .content-grid, .features, .article-list .content-wrapper, .blog-categories, .cocktail-categories, .drink-categories, .recipe-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 235px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 22px 18px;
  min-width: 210px;
  flex: 1 1 230px;
  max-width: 350px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(27,38,59,0.13);
  transform: translateY(-4px) scale(1.015);
}

@media (min-width: 768px) {
  .feature_grid, .card-container, .content-grid, 
  .features, .article-list .content-wrapper,
  .cocktail-categories, .drink-categories, .recipe-filters { gap: 28px; }
}

/*========= 
  TESTIMONIALS
==========*/
.testimonials, .testimonials .container { position: relative; }
.testimonials .container {
  background: #F4F7F5;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 38px 20px 38px 20px;
}
.testimonials h2 {
  margin-bottom: 18px;
  color: var(--color-primary);
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 700px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    gap: 32px;
    justify-content: flex-start;
    align-items: stretch;
  }
}
.testimonial-card {
  background: #fff;
  color: #232323;
  border-radius: 15px;
  box-shadow: 0 5px 21px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 0;
  min-width: 210px;
  flex: 1 1 240px;
  max-width: 370px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow 0.17s, transform 0.13s;
  position: relative;
  z-index: 1;
}
.testimonial-card span {
  display: block;
  font-size: .98rem;
  font-style: italic;
  color: var(--color-primary);
  font-weight: 500;
  margin-left: 8px;
  margin-top: 7px;
}
.testimonial-card p {
  color: #232323;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 7px 29px rgba(27,38,59,0.14);
  transform: scale(1.02) translateY(-2px);
}

/*===============
   BLOG & CARDS
================*/
.blog-post {
  background: #fff;
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.blog-post:hover {
  box-shadow: 0 8px 29px rgba(27,38,59,0.12);
  transform: scale(1.018) translateY(-2px);
}
.blog-tag {
  display: inline-block;
  font-size: 0.97rem;
  font-family: var(--header-font);
  color: var(--color-secondary);
  margin-left: 2px;
}

.article-list .content-wrapper {
  flex-direction: column;
}
@media (min-width:700px) {
  .article-list .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap; 
    gap: 28px;
  }
  .blog-post {
    flex: 1 1 320px;
    max-width: 360px;
  }
}

/*========================
  CARDS & PREVIEW SECTIONS
=========================*/
.about-preview, .cookie-preview, .newsletter, .cta-subscribe {
  background: #fff;
  box-shadow: 0 2px 20px var(--color-shadow);
  border-radius: 18px;
  padding: 36px 16px;
}
.newsletter .content-wrapper,
.cta-subscribe .content-wrapper  {
  flex-direction: column;
  gap: 20px;
}
.about-preview ul, .newsletter ul, .cta-subscribe ul {
  margin-bottom: 14px;
}

/*=======================
  CATEGORY/MENU NAVS
=======================*/
.cocktail-categories,
.drink-categories,
.recipe-filters,
.blog-categories {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cocktail-categories a,
.drink-categories a,
.recipe-filters a,
.blog-categories a {
  padding: 7px 18px;
  border-radius: 19px;
  color: var(--color-primary);
  font-family: var(--header-font);
  background: #E8DFCF;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  border: none;
}
.cocktail-categories a:hover,
.drink-categories a:hover,
.recipe-filters a:hover,
.blog-categories a:hover,
.cocktail-categories a:focus,
.drink-categories a:focus,
.recipe-filters a:focus,
.blog-categories a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/*==========
  LIST CARDS (drinks/recipes)
============*/
.cocktail-category, .drink-category, .recipe-level {
  margin-bottom: 32px;
  padding: 20px 0 12px 0;
  border-bottom: 1px solid #e4e4e4;
}
.cocktail-item, .drink-item, .recipe-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 17px 12px 17px 20px;
  margin-bottom: 19px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cocktail-item h4, .drink-item h4, .recipe-item h4 { color: var(--color-primary); }

@media (min-width: 700px) {
  .cocktail-category, .drink-category, .recipe-level {
    padding-left: 26px; 
  }
  .cocktail-item, .drink-item, .recipe-item { max-width: 470px; }
}

/*================
  CARDS: INFO & ADDRESS
===============*/
.contact-info address, address {
  font-family: var(--body-font);
  font-size: 1.08rem;
  color: #232323;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer address div {
  display: flex;
  align-items: center;
  gap: 9px;
}
/* location map etc */
.location-map .content-wrapper, .tips-section .content-wrapper {
  flex-direction: column;
  gap: 20px;
}

/*===============
  FOOTER
================*/
footer {
  background: #fff;
  color: var(--color-primary);
  border-top: 1px solid #E8DFCF;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-nav a {
  font-family: var(--header-font);
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.88;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 10px;
}
.footer-branding img {
  height: 29px; margin-right: 0;
}

/* ===========================
   COOKIE CONSENT BANNER
===========================*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 22px var(--color-shadow);
  z-index: 2100;
  padding: 22px 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border-radius: 16px 16px 0 0;
  font-size: 1.04rem;
  transition: transform 0.28s;
  pointer-events: auto;
  opacity: 1;
}
.cookie-consent-banner.hide {
  pointer-events: none;
  transform: translateY(100%);
  opacity: 0;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--header-font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  margin-right: 4px;
  box-shadow: 0 2px 7px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-consent-btn.settings { background: #E8DFCF; color: var(--color-primary); }
.cookie-consent-btn.reject { background: #BFBFBF; color: #1b263b; }
.cookie-consent-btn:hover, .cookie-consent-btn:focus   {
  background: #B88E14;
  color: #fff;
}
.cookie-consent-btn.settings:hover {
  background: #d1c7b2;
  color: var(--color-dark);
}

/* Cookie Modal Popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,38,59,0.27);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.22s;
  padding: 16px;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 4px 26px var(--color-shadow);
  padding: 36px 28px 28px 28px;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0px; height: 0px;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #d1c7b2;
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-secondary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  background: none;
  border: none;
  font-size: 1.08rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal-close:hover { color: var(--color-secondary); }

/*====================
  ELEMENT STYLES
=====================*/
.text-section {
  margin-bottom: 20px;
  max-width: 720px;
}
.text-section h3 { margin-bottom: 8px; }
address a { color: var(--color-primary); }
address a:hover { color: var(--color-secondary); }

/* Ensure min spacing between all cards and sections */
.section, .about-preview, .newsletter, .cocktail-highlights, .nonalcoholic-highlights, .cta-subscribe, .tips-section, .thank-you, .privacy-policy, .rodo-section, .terms-and-conditions, .cookies-policy {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .content-wrapper, 
  .feature_grid, .card-container, .content-grid, .features,
  .article-list .content-wrapper, .cocktail-categories, .drink-categories, .recipe-filters {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card,
  .feature-item,
  .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero, .cocktail-hero, .nonalc-hero, .recipe-hero, .blog-hero, .contact-hero, .thank-you {
    padding: 60px 60px 65px 60px;
    margin-top: 46px;
    margin-bottom: 56px;
    border-radius: 32px;
  }
  .about-preview, .newsletter, .cocktail-highlights, .nonalcoholic-highlights, .cta-subscribe, .tips-section, .privacy-policy, .rodo-section, .terms-and-conditions, .cookies-policy {
    border-radius: 16px;
    padding: 52px 52px;
  }
}

/*===========================
  FORMS (NEWSLETTER etc.)
============================*/
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
input[type="text"], input[type="email"], textarea {
  font-size: 1.08rem;
  padding: 11px 15px;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
  font-family: var(--body-font);
  background: #F9F6EE;
  color: var(--color-primary);
  outline: none;
  transition: border 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
}
button, input[type="submit"] {
  font-family: var(--header-font);
  border-radius: 18px;
  border: none;
  padding: 10px 27px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, transform .08s;
  cursor: pointer;
}
button:hover, input[type="submit"]:hover {
  background: #B88E14;
}

/*=======================
  MICRO-INTERACTIONS
========================*/
.cta-btn, .cookie-consent-btn, .feature-item, .card, .testimonial-card, .blog-post, .blog-categories a, .drink-categories a, .cocktail-categories a, .recipe-filters a, button, input[type="submit"] {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}

/* HIDE VISUALLY BUT ACCESSIBLE FOR COOKIE ONLY */
.sr-only {
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
  border:0;
  padding:0;margin:0;
}

/* ================
   MISC
================== */
hr {
  border: none;
  border-bottom: 1px solid #dedede;
  margin: 22px 0;
}
::-webkit-input-placeholder { color: #868686; }
::-moz-placeholder { color: #868686; }
:-ms-input-placeholder { color: #868686; }
::placeholder { color: #868686; }

/* Fix z-index stack */
header, .mobile-menu { z-index: 1100; }
.cookie-consent-banner { z-index: 2100; }
.cookie-modal { z-index: 2200; }

/* Accessibility/contrast for testimonials */
.testimonial-card, .testimonials .content-wrapper, .testimonials .container {
  color: #232323;
  background: #fff;
}
/* END OF CSS */
