/* Gleaming Odyssey Webdesign – Monochrome Sophisticated CSS */

/*----------------------
  CSS RESET & BASE
-----------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #181818;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*----------------------
  TYPOGRAPHY
-----------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #222;
}
strong {
  font-weight: 700;
  color: #181818;
}
a {
  color: #16324F;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5EB1BF;
  text-decoration: none;
}

/*----------------------
  LAYOUT CONTAINERS
-----------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(20,20,20,0.07);
}

/*----------------------
  FLEXBOX GRIDS
-----------------------*/
.feature_grid, .team_grid, .project_grid, .blog_post_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature_grid > div, .team_grid > div, .project_grid > div, .blog_post_grid > div {
  flex: 1 1 260px;
  background: #f8f9fa;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature_grid > div:hover, .team_grid > div:hover, .project_grid > div:hover, .blog_post_grid > div:hover {
  background: #fff;
  box-shadow: 0 6px 32px rgba(22,50,79,0.13);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, background 0.2s;
}
.card:hover {
  background: #f3f4f6;
  box-shadow: 0 6px 32px rgba(22,50,79,0.13);
}

.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: #f3f4f6;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  color: #181818;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #181818;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*----------------------
  HEADER & NAVIGATION
-----------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(22,50,79,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #181818;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a.cta {
  background: #181818;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(22,50,79,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #5EB1BF;
  color: #181818;
  box-shadow: 0 4px 16px rgba(22,50,79,0.13);
}
header nav a:hover, header nav a:focus {
  background: #f3f4f6;
  color: #16324F;
}
header nav img {
  height: 38px;
  margin-right: 18px;
  vertical-align: middle;
}

/*----------------------
  MOBILE NAVIGATION
-----------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #181818;
  cursor: pointer;
  margin-left: auto;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #5EB1BF;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22, 34, 40, 0.98);
  z-index: 2000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: slideInMenu 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #5EB1BF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 60px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5EB1BF;
  color: #181818;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/*----------------------
  BUTTONS & CTA
-----------------------*/
.cta, .btn, button, input[type="submit"] {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #181818;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22,50,79,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover,
.cta:focus, .btn:focus, button:focus, input[type="submit"]:focus {
  background: #5EB1BF;
  color: #181818;
  box-shadow: 0 4px 16px rgba(22,50,79,0.13);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/*----------------------
  TABLES
-----------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
thead {
  background: #181818;
  color: #fff;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
th {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
tr:last-child td {
  border-bottom: none;
}

/*----------------------
  LISTS
-----------------------*/
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #222;
}

/*----------------------
  FOOTER
-----------------------*/
footer {
  background: #181818;
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  padding-bottom: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #5EB1BF;
}
footer p {
  color: #e5e7eb;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

/*----------------------
  COOKIE CONSENT BANNER
-----------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #181818;
  color: #fff;
  padding: 24px 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -2px 16px rgba(22,50,79,0.13);
  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 p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 0;
}
.cookie-banner .accept {
  background: #5EB1BF;
  color: #181818;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #181818;
  box-shadow: 0 2px 8px rgba(22,50,79,0.13);
}
.cookie-banner .reject {
  background: #fff;
  color: #181818;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #5EB1BF;
  color: #181818;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #181818;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,34,40,0.85);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(22,50,79,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #181818;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #5EB1BF;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category .always-on {
  color: #5EB1BF;
  font-weight: 700;
  font-size: 0.98rem;
  margin-left: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-modal .accept {
  background: #5EB1BF;
  color: #181818;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #181818;
  color: #fff;
}
.cookie-modal .reject {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: #5EB1BF;
  color: #181818;
}
.cookie-modal .close {
  background: transparent;
  color: #181818;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
}

/*----------------------
  RESPONSIVE DESIGN
-----------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .feature_grid, .team_grid, .project_grid, .blog_post_grid {
    gap: 16px;
  }
  .feature_grid > div, .team_grid > div, .project_grid > div, .blog_post_grid > div {
    padding: 20px 12px;
  }
  footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .feature_grid, .team_grid, .project_grid, .blog_post_grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature_grid > div, .team_grid > div, .project_grid > div, .blog_post_grid > div {
    flex: 1 1 100%;
    min-width: 0;
    margin-bottom: 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 18px 2px;
    margin-bottom: 28px;
  }
  .container {
    padding: 0 4px;
  }
  .cookie-banner {
    padding: 14px 4px;
  }
}

/*----------------------
  MICRO-INTERACTIONS
-----------------------*/
.card, .feature_grid > div, .team_grid > div, .project_grid > div, .blog_post_grid > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, transform 0.13s;
}
.card:hover, .feature_grid > div:hover, .team_grid > div:hover, .project_grid > div:hover, .blog_post_grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(22,50,79,0.16);
  background: #f3f4f6;
  transform: translateY(-2px) scale(1.01);
}

/*----------------------
  MISCELLANEOUS
-----------------------*/
::-webkit-scrollbar {
  width: 8px;
  background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 8px;
}

/*----------------------
  ACCESSIBILITY
-----------------------*/
:focus {
  outline: 2px solid #5EB1BF;
  outline-offset: 2px;
}

/*----------------------
  PRINT STYLES
-----------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
