/* index.css — Casino Carmel Companion Website Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --color-cream: #FBF9F4;
  --color-cream-dark: #F3ECE1;
  --color-chocolate: #3C2A21;
  --color-chocolate-light: #5A4033;
  --color-candy-red: #D80032;
  --color-gold: #D4AF37;
  --color-white-glass: rgba(255, 255, 255, 0.45);
  --color-border-glass: rgba(60, 42, 33, 0.1);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-subtle: 0 4px 20px rgba(60, 42, 33, 0.05);
  --shadow-medium: 0 10px 30px rgba(60, 42, 33, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-chocolate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-chocolate);
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.glass-panel {
  background: var(--color-white-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-subtle);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(60, 42, 33, 0.05);
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 80px;
  gap: 32px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(60, 42, 33, 0.1);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-candy-red);
}

/* App Store Badge Button */
.badge-link img {
  height: 40px;
  display: block;
  transition: var(--transition-smooth);
}

.badge-link:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-text h1 span {
  color: var(--color-candy-red);
}

.hero-tagline {
  font-size: 20px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid var(--color-chocolate);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--color-chocolate);
  color: var(--color-cream);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 36px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-smooth);
}

.hero-mockup:hover {
  transform: translateY(-4px) rotate(-1deg);
}

/* Mission Section */
.mission {
  background-color: var(--color-cream-dark);
  text-align: center;
}

.mission-panel {
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.mission-panel h2 {
  font-size: 32px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.mission-panel p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.8;
}

.mission-panel p:last-child {
  margin-bottom: 0;
}

.highlight-red {
  color: var(--color-candy-red);
  font-weight: 600;
}

/* Features Grid */
.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  letter-spacing: -0.8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(216, 0, 50, 0.15);
}

.feature-icon {
  font-size: 36px;
  width: 64px;
  height: 64px;
  background: var(--color-cream-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(60, 42, 33, 0.05);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.feature-card p {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.6;
}

/* Support Section */
.support {
  background-color: var(--color-cream-dark);
  text-align: center;
}

.support h2 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.support p {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  background-color: var(--color-candy-red);
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(216, 0, 50, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 0, 50, 0.4);
  color: white;
}

/* Legal Pages Custom Layout (Privacy & Terms) */
.legal-container {
  max-width: 800px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 32px;
  opacity: 0.7;
}

.legal-back:hover {
  opacity: 1;
  color: var(--color-candy-red);
}

.legal-title {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.legal-date {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  border-bottom: 1px solid var(--color-border-glass);
  padding-bottom: 8px;
}

.legal-content p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer styling */
footer {
  background-color: var(--color-chocolate);
  color: var(--color-cream);
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-cream);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--color-cream);
  opacity: 0.7;
  font-size: 14px;
}

.footer-link:hover {
  opacity: 1;
  color: white;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 12px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 40px;
  }
  
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .nav-container {
    height: 70px;
  }
  
  .nav-links {
    display: none; /* Hide standard links on mobile */
  }
}

@media (max-width: 500px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  
  .badge-link img {
    margin: 0 auto;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .mission-panel {
    padding: 40px 20px;
  }
}
