/* Chips n Sips Vending - Modern 2026 Design */
/* Palette: Sand & Terracotta - Earth tone warmth for food/vending business */

:root {
  /* Colors - Sand & Terracotta */
  --primary: #92400E; /* Terracotta */
  --primary-dark: #78350F; /* Darker terracotta for hover states */
  --primary-light: #B45309; /* Lighter terracotta */
  --secondary: #78716C; /* Warm gray */
  --accent: #D97706; /* Amber accent */
  --background: #F5F5F4; /* Stone/Sand background */
  --surface: #FFFFFF; /* Pure white */
  --surface-elevated: #FAFAF9; /* Warm white */
  --text: #292524; /* Dark stone */
  --text-muted: #78716C; /* Medium gray-brown */
  --text-light: #A8A29E; /* Light text */
  
  /* Shadows - subtle colored ambient */
  --shadow-sm: 0 1px 2px rgba(146, 64, 14, 0.05);
  --shadow-md: 0 4px 24px rgba(146, 64, 14, 0.08);
  --shadow-lg: 0 8px 32px rgba(146, 64, 14, 0.12);
  --shadow-xl: 0 16px 48px rgba(146, 64, 14, 0.15);
  
  /* Typography - Inter system stack */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
}

/* Typography Scale - 2026 Standard */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(245, 245, 244, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(146, 64, 14, 0.08);
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--primary);
  background: rgba(146, 64, 14, 0.05);
}

nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(146, 64, 14, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section - Bento Layout */
.hero {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--surface-elevated) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(146, 64, 14, 0.08);
  color: var(--primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8rem;
  box-shadow: var(--shadow-xl);
}

/* Services Section */
.services-section {
  padding: var(--space-4xl) 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(146, 64, 14, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(146, 64, 14, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

/* Why Choose Us Section - Asymmetric */
.why-section {
  padding: var(--space-4xl) 0;
  background: var(--surface-elevated);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-image {
  background: var(--primary);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}

.why-list {
  list-style: none;
}

.why-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.why-item-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Contact CTA Section */
.cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.btn-white {
  background: white;
  color: var(--primary);
}

/* Footer */
footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--text);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeInUp 0.8s ease-out forwards; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons, .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .services-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}
