/* Italokines Gastronomy Journeys – tech_futuristic style.css */

/* =====================
   VARIABLES & FONTS
===================== */
:root {
  --color-primary: #214E34;
  --color-secondary: #A8763E;
  --color-accent: #F4F0E6;
  --color-bg-gradient: linear-gradient(135deg, #1a2a2f 0%, #214E34 60%, #2e3c4d 100%);
  --color-neon: #00ffe7;
  --color-neon2: #a876ff;
  --color-card-bg: rgba(33, 78, 52, 0.85);
  --color-card-bg-light: rgba(244, 240, 230, 0.95);
  --color-shadow: 0 4px 32px 0 rgba(0, 255, 231, 0.08), 0 1.5px 8px 0 rgba(168, 118, 62, 0.10);
  --color-shadow-neon: 0 0 8px 2px #00ffe7, 0 0 2px 0 #a876ff;
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --radius: 18px;
  --radius-sm: 10px;
  --gap: 24px;
  --gap-sm: 15px;
  --header-height: 72px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Source+Sans+Pro:wght@400;600&display=swap');

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: var(--color-bg-gradient);
  color: var(--color-accent);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 0 2px 16px #00ffe7a0;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 1px 8px #a876ffa0;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
h4, h5, h6 {
  font-weight: 600;
}
p, ul, ol {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 1em;
}
strong {
  color: var(--color-neon);
  font-weight: 700;
}
a {
  color: var(--color-neon2);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-neon);
  text-shadow: 0 0 6px #00ffe7;
}

/* =====================
   LAYOUT CONTAINERS
===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: rgba(33, 78, 52, 0.65);
  box-shadow: var(--color-shadow);
}

/* =====================
   HEADER & NAVIGATION
===================== */
header {
  width: 100%;
  background: rgba(26, 42, 47, 0.98);
  box-shadow: 0 2px 24px 0 #00ffe71a;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 0;
}
header img {
  height: 48px;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--color-neon);
  border-bottom: 2px solid var(--color-neon);
}
.btn-primary {
  background: linear-gradient(90deg, #00ffe7 0%, #a876ff 100%);
  color: #1a2a2f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px 0 #00ffe7a0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-left: 24px;
  text-shadow: none;
  letter-spacing: 0.03em;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #a876ff 0%, #00ffe7 100%);
  color: #fff;
  box-shadow: 0 0 24px 2px #00ffe7, 0 0 8px 2px #a876ff;
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   MOBILE NAVIGATION
===================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 120;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:active {
  color: var(--color-neon2);
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 42, 47, 0.98);
  box-shadow: 0 0 32px 0 #00ffe7a0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-neon2);
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon);
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  border-bottom: 2px solid var(--color-neon);
}

@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =====================
   MAIN SECTIONS & FLEX LAYOUTS
===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--color-shadow);
  padding: 28px 22px 22px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  z-index: 1;
  border: 1.5px solid transparent;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--color-shadow-neon);
  border: 1.5px solid var(--color-neon);
  transform: translateY(-4px) scale(1.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--color-shadow);
  padding: 24px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--color-shadow-neon);
  transform: translateY(-2px) scale(1.02);
}

.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;
}
.text-image-section > div {
  flex: 1 1 320px;
  min-width: 220px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(185, 182, 175, 0.95);
  color: #222;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 16px 0 #a876ff22;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-neon2);
  font-size: 1.1rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 0 24px 2px #a876ff, 0 0 8px 2px #00ffe7;
  border-left: 4px solid var(--color-neon);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.gallery-slider {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-neon2) #1a2a2f;
}
.gallery-slider img {
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 16px 0 #00ffe7a0;
  width: 220px;
  height: 150px;
  object-fit: cover;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
}
.gallery-slider img:hover, .gallery-slider img:focus {
  box-shadow: 0 0 24px 2px #00ffe7, 0 0 8px 2px #a876ff;
  border: 2px solid var(--color-neon2);
  transform: scale(1.04);
}

.team-bios {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.social-links {
  margin-top: 10px;
  font-size: 1.1rem;
}
.social-links a {
  color: var(--color-neon2);
  margin: 0 4px;
  transition: color var(--transition);
}
.social-links a:hover, .social-links a:focus {
  color: var(--color-neon);
}

.featured-article {
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--color-shadow);
  padding: 24px 18px;
  margin-top: 20px;
  border-left: 4px solid var(--color-neon2);
}

/* =====================
   LISTS
===================== */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  color: var(--color-accent);
  font-size: 1.08rem;
}

/* =====================
   FOOTER
===================== */
footer {
  background: rgba(26, 42, 47, 0.98);
  padding: 32px 0 16px 0;
  box-shadow: 0 -2px 24px 0 #00ffe71a;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-neon2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-neon);
}
footer p {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin: 0;
}

/* =====================
   COOKIE CONSENT BANNER
===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #1a2a2f 70%, #214E34 100%);
  color: var(--color-accent);
  box-shadow: 0 -2px 24px 0 #00ffe71a;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px;
  font-size: 1.08rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  margin: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: linear-gradient(90deg, #00ffe7 0%, #a876ff 100%);
  color: #1a2a2f;
  box-shadow: 0 0 8px 0 #00ffe7a0;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: linear-gradient(90deg, #a876ff 0%, #00ffe7 100%);
  color: #fff;
}
.cookie-banner .reject {
  background: transparent;
  color: var(--color-neon2);
  border: 1.5px solid var(--color-neon2);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-neon2);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-neon);
  border: 1.5px solid var(--color-neon);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-neon);
  color: #1a2a2f;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 60%) scale(0.95);
  opacity: 0;
  z-index: 400;
  background: linear-gradient(135deg, #1a2a2f 80%, #214E34 100%);
  color: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 48px 0 #00ffe7a0;
  min-width: 320px;
  max-width: 95vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  color: var(--color-neon2);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.08rem;
  color: var(--color-accent);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-neon2);
  width: 20px;
  height: 20px;
}
.cookie-modal .essential {
  color: var(--color-neon);
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--color-neon2);
  border: 1.5px solid var(--color-neon2);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-neon2);
  color: #fff;
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }
  .gallery-slider img {
    width: 160px;
    height: 110px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 12px 14px 12px;
  }
  .gallery-slider {
    gap: 10px;
  }
  .gallery-slider img {
    width: 120px;
    height: 80px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 14px 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 10px;
    font-size: 1rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 20px 10px 16px 10px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .gallery-slider img {
    width: 90px;
    height: 60px;
  }
}

/* =====================
   ANIMATIONS & EFFECTS
===================== */
.btn-primary, .feature-grid > div, .card, .testimonial-card, .gallery-slider img, .cookie-banner button, .cookie-modal, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: all var(--transition);
}

/* =====================
   UTILITY CLASSES
===================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }

/* =====================
   ACCESSIBILITY
===================== */
:focus {
  outline: 2px solid var(--color-neon2);
  outline-offset: 2px;
}

/* =====================
   OVERRIDES FOR HTML ELEMENTS
===================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   PREVENT OVERLAPPING
===================== */
section, .section, .card, .testimonial-card, .feature-grid > div, .gallery-slider img {
  margin-bottom: 20px;
}

/* =====================
   Z-INDEX STACKING
===================== */
header { z-index: 100; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal { z-index: 400; }

/* =====================
   END OF CSS
===================== */
