/* -------------------- CSS RESET & NORMALIZE -------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
button {
  background: transparent;
  border: none;
  cursor: pointer;
}

/* -------------------- BRAND COLORS & FONTS -------------------- */
:root {
  --primary: #2F4858;
  --primary-dark: #263746;
  --primary-light: #45677b;
  --secondary: #F5F5F5;
  --secondary-light: #ffffff;
  --gray-100: #F5F7FA;
  --gray-200: #E6ECF1;
  --gray-300: #D2D8DF;
  --gray-400: #B6BDC7;
  --gray-600: #6A7887;
  --text: #242933;
  --accent: #E08522;
  --accent-hover: #F2994A;
  --focus-outline: #496C97;
  --shadow: 0 2px 16px rgba(47, 72, 88, 0.10);
  --radius-md: 9px;
  --radius-lg: 16px;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--secondary-light);
}
body {
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background: var(--secondary-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.3rem; margin-bottom: 16px; }
h2 { font-size: 1.7rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p, li, ul {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--primary-dark);
  font-size: 1rem;
}
p { margin-bottom: 16px; }
strong { font-weight: 600; color: var(--primary-light); }
em { color: var(--gray-600); font-style: italic; }

/* -------------------- STRUCTURE & LAYOUT -------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

main {
  margin-top: 32px;
  margin-bottom: 32px;
}

/* -------------------- FLEXBOX LAYOUTS -------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary-light);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(47, 72, 88, 0.18);
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 480px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(47, 72, 88, 0.15);
}
.testimonial-card p {
  color: #1A232B;
  font-size: 1.08rem;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.6;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.96rem;
  font-family: 'Montserrat';
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Utility classes */
.mt-32 {margin-top: 32px;}
.mb-32 {margin-bottom: 32px;}
.mt-16 {margin-top: 16px;}
.mb-16 {margin-bottom: 16px;}

/* -------------------- HEADER & NAVIGATION -------------------- */
header {
  background: var(--secondary-light);
  box-shadow: 0 1px 8px rgba(47,72,88,0.07);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 10px 2px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: rgba(224,133,34,0.08);
  outline: none;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(47,72,88,0.07);
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.18s;
  margin-left: 10px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--accent);
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--primary);
  color: #fff;
  padding: 10px 13px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary-light);
  outline: none;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(47,72,88,0.96);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.87,-0.01,.38,1.09);
  padding: 30px 22px 32px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: #fff;
  background: none;
  border: none;
  margin-bottom: 32px;
  margin-top: 12px;
  z-index: 204;
  padding: 0 6px;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 8px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.12rem;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 600;
  padding: 13px 9px;
  border-radius: 6px;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}

/* Hide mobile menu and button on desktop */
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* Show hamburger on mobile/tablet */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* -------------------- FOOTER -------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 32px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat',Arial, Helvetica, sans-serif;
  font-size: .98rem;
  opacity: 0.85;
  transition: color 0.16s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent-hover);
  opacity: 1;
  outline: none;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(20%);
  transition: filter 0.18s, transform 0.15s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
  transform: scale(1.12);
}
.copyright {
  font-size: 0.93rem;
  opacity: 0.78;
  margin-top: 4px;
}

/* -------------------- LINKS -------------------- */
a {
  color: var(--primary-light);
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--accent);
  outline: 2px solid var(--focus-outline);
}
a.btn-primary, a.btn-secondary {
  outline: none;
}

/* -------------------- LISTS & DETAILS -------------------- */
ul, ol {
  list-style: none;
  margin-bottom: 10px;
}
.content-wrapper ul, .text-section ul {
  padding-left: 0;
}
.content-wrapper ul li, .text-section ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.7;
}
.content-wrapper ul li::before, .text-section ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.40;
}

/* -------------------- RESPONSIVE DESIGN -------------------- */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 680px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    max-width: 97vw;
    padding: 0 3px;
  }
  .section {
    padding: 25px 6px;
    margin-bottom: 36px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 97vw;
    min-width: 0;
    padding: 14px 4px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .btn-primary, .btn-secondary {
    padding: 9px 12px;
    min-width: 90px;
    font-size: 0.96rem;
  }
  .section {
    padding: 13px 1px;
    margin-bottom: 18px;
  }
}

/* Cards & Testimonial responsive padding */
@media (max-width: 420px) {
  .card, .testimonial-card {
    padding: 11px 3px;
  }
}

/* -------------------- FORM ELEMENTS -------------------- */
input, textarea, select {
  width: 100%;
  font-size: 1rem;
  background: #fff;
  border: 1px solid var(--gray-300);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--primary-dark);
  outline: none;
  transition: border 0.16s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(224,133,34,0.13);
}

/* -------------------- ICONS INSIDE LISTS & CONTACT -------------------- */
.text-section img {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* -------------------- MICRO-INTERACTIONS -------------------- */
.btn-primary, .btn-secondary, .card, .testimonial-card, .footer-social a img, .mobile-nav a, .main-nav a {
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.18s, filter 0.18s;
}

/* -------------------- COOKIE CONSENT BANNER & MODAL -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(47,72,88,0.15);
  padding: 24px 20px 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 58px;
  font-size: 1rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  animation: cookieBannerSlide 0.38s cubic-bezier(0.44,0.02,0.32,1.09);
}
@keyframes cookieBannerSlide {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 21px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.14s;
}
.cookie-btn.reject {
  background: var(--primary);
}
.cookie-btn.settings {
  background: var(--gray-200);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.93;
  background: var(--accent-hover);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary-light);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gray-300);
  color: var(--primary-light);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,72,88,0.65);
  animation: cookieModalFade 0.26s;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 60px rgba(47,72,88,0.30);
  max-width: 450px;
  width: 96vw;
  padding: 36px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scaleIn 0.28s cubic-bezier(0.43,0.02,0.36,1.09);
}
@keyframes scaleIn {
  from { transform: scale(0.80); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-box h2 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.cookie-modal .category label {
  font-size: 1rem;
  color: var(--primary-dark);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .category.essential label {
  opacity: 0.62;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--gray-400);
  transition: color 0.16s;
  cursor: pointer;
  z-index: 1010;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--accent);
  outline: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

/* Responsive Cookie Banner and Modal */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 19px 6px 13px 7px;
    font-size: 0.96rem;
  }
  .cookie-modal .modal-box {
    padding: 22px 7px 18px 9px;
  }
}

/* -------------------- MISC & HELPER -------------------- */
::-webkit-input-placeholder { color: var(--gray-400); }
::-moz-placeholder { color: var(--gray-400); }
:-ms-input-placeholder { color: var(--gray-400); }
::placeholder { color: var(--gray-400); }

@media (max-width: 600px) {
  footer .container { gap: 14px; }
  .footer-nav { gap: 12px; }
  .footer-social { gap: 9px; }
}

/* Accessibility focus outline for buttons and links */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--focus-outline) !important;
  outline-offset: 2px;
}

/* Ensure no overlapping */
.section, .card, .testimonial-card, .feature-item, .container, .content-wrapper { min-width: 0; max-width: 100%; }

/* ------------------------------------------------------ */
/* END - All styles for Plagirinca Mutfak Professional Corporate Website */
