/* Clean Modern CSS - Inspired by izze.com */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav .container {
  padding: 0;
  max-width: none;
  width: 100%;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.1;
  display: inline-block;
}

.nav .logo {
  line-height: 1.3;
}

.footer .logo {
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: left;
}

.logo-brand {
  font-size: 0.65rem;
  font-weight: 500;
  color: #6c757d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-top: -0.15rem;
}

.nav .logo-brand {
  font-size: 0.55rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #1a1a1a;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: #1a1a1a;
  color: white;
}

.btn--primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn--ghost {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn--ghost:hover {
  background: #1a1a1a;
  color: white;
}

.btn--portal {
  background: #ff6b35;
  color: white;
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn--portal:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  background-image: url('../img/hero_wide.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-top: 60px;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 5rem;
}

.hero-content {
  text-align: left;
  max-width: 500px;
  margin: 0;
  position: relative;
  z-index: 2;
  color: black;
  padding-left: 0;
}

.hero-content h1 {
  color: black;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}



.hero__subtitle {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero__ctas .btn {
  width: 160px;
  height: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Make Any Coffee Drink Section */
.make-any-drink {
  background: white;
}

.drink-instructions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.instruction-card {
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: #f8f9fa;
  transition: transform 0.2s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.instruction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instruction-card.highlight {
  background: #1a1a1a;
  color: white;
}

.instruction-card.highlight p {
  color: rgba(255, 255, 255, 0.8);
}

.card-image {
  margin: 0;
  height: auto;
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.instruction-card:hover .card-image img {
  transform: scale(1.05);
}

.instruction-card h3 {
  padding: 1.5rem 2rem 1rem 2rem;
}

.instruction-card p {
  padding: 2rem 2rem 2rem 2rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(26, 26, 26, 0.2);
}

.instruction-card p sup {
  font-size: 0.7em;
  vertical-align: super;
  font-weight: 400;
}

sup {
  font-size: 0.7em;
  vertical-align: super;
  font-weight: 400;
}

.any-drink-text {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  background: #1a1a1a;
  color: white;
  border-radius: 12px;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.any-drink-text:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.any-drink-text h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.why-card {
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: #f8f9fa;
  transition: transform 0.2s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.why-card .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  margin: 0;
  flex-shrink: 0;
}

.why-card .card-icon svg {
  width: 80px;
  height: 80px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.15));
}

.why-card:hover .card-icon svg {
  transform: scale(1.15) translateY(-4px);
  filter: drop-shadow(0 8px 20px rgba(0, 113, 227, 0.25));
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.why-card .card-icon svg {
  animation: iconFloat 3s ease-in-out infinite;
  animation-play-state: paused;
}

.why-card:hover .card-icon svg {
  animation-play-state: running;
}

.why-card h3 {
  padding: 1.5rem 2rem 1rem 2rem;
  color: #1a1a1a;
}

.why-card p {
  padding: 0 2rem 2rem 2rem;
  color: #4a4a4a;
}

/* Enjoy Perfect Coffee Section */
.enjoy-perfect-coffee {
  background: white;
}

.cta-container {
  text-align: center;
  margin-top: 3rem;
}

/* Built by People Section */
.built-by-people {
  background: white;
}

.team-story {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-slideshow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.team-slide {
  text-align: left;
  padding: 0;
  border-radius: 0;
  background: #f8f9fa;
  transition: transform 0.2s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.member-image {
  margin: 0;
  height: 180px;
  flex-shrink: 0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}

.member-role {
  color: #1a1a1a;
  padding: 1.5rem 2rem 1rem 2rem;
  margin: 0;
}

.member-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  padding: 0 2rem 2rem 2rem;
  color: #4a4a4a;
  margin: 0;
}

.mission-statement {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 16px;
}

.mission-cta {
  margin-top: 2rem;
}

/* Customer Validation Section */
.customer-validation {
  background: #f8f9fa;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1rem;
  text-align: right;
}

/* Final CTA Section */
.final-cta {
  background: #1a1a1a;
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-headline {
  color: white;
  margin-bottom: 1rem;
}

.cta-subhead {
  color: #6c757d;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.portal-button-container {
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: #f8f9fa;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1a1a1a;
}

.footer-links .btn {
  color: white;
  display: none;
}

.footer-links .btn:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-links .btn {
    display: inline-block;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    gap: 1rem;
  }

  .nav-toggle-open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .team-slideshow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-image: url('../img/hero_tall.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-top: 60px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
  }

  .hero .container {
    padding: 0 2rem;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
    margin-top: 0;
  }

  .drink-instructions {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .any-drink-text {
    margin-top: 1rem;
    padding: 2rem 1rem;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Simple fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}