/* ===================================================
   Sunny Spot - Convenience Store Website
   Color: Orange (#e8751a) + Cream (#fff8f0) + Navy (#1a2a3a)
   =================================================== */

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

:root {
  --primary: #e8751a;
  --primary-dark: #c45d0e;
  --primary-light: #f5a050;
  --accent: #f5c842;
  --accent-soft: #fae6b0;
  --dark: #1a2a3a;
  --dark-soft: #2a3d52;
  --light: #fff8f0;
  --cream: #fdf0e0;
  --white: #ffffff;
  --text: #2c1810;
  --text-light: #6b4c3b;
  --text-muted: #9a7b6a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(232, 117, 26, 0.12);
  --shadow-lg: 0 8px 40px rgba(232, 117, 26, 0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, #e8751a, #f5c842);
  --gradient-dark: linear-gradient(135deg, #1a2a3a, #2a3d52);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 117, 26, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.8rem; }

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

.nav-list a {
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--gradient);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 117, 26, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.1), transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 200, 66, 0.15);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 200, 66, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-desc strong { color: var(--accent); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 117, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 117, 26, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* Hero Illustration */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  position: relative;
  width: 350px;
  height: 350px;
}

.float-item {
  position: absolute;
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
  opacity: 0.9;
}

.float-item-1 { top: 20px; left: 30px; animation-delay: 0s; }
.float-item-2 { top: 60px; right: 20px; animation-delay: 0.5s; }
.float-item-3 { bottom: 40px; left: 50px; animation-delay: 1s; }
.float-item-4 { bottom: 80px; right: 40px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(232, 117, 26, 0.06);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 117, 26, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Stats */
.stats {
  background: var(--gradient-dark);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* CTA */
.cta-box {
  background: var(--gradient);
  padding: 60px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-text {
  display: inline;
  color: var(--white);
  margin-left: 8px;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Page Banner (inner pages) */
.page-banner {
  padding: 140px 0 60px;
  background: var(--gradient-dark);
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Detail Page */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 117, 26, 0.06);
}

.service-item-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.service-item-content h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-item-content p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-item-content ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.service-item-content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-item-content ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-image-placeholder {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-image-icon { font-size: 4rem; }

.about-image-placeholder span:nth-child(2) {
  font-size: 1.4rem;
  font-weight: 700;
}

.about-image-placeholder span:nth-child(3) {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(232, 117, 26, 0.06);
}

.value-icon { font-size: 2.5rem; margin-bottom: 14px; }

.value-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Location */
.location-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(232, 117, 26, 0.06);
}

.location-card-icon { font-size: 2rem; margin-bottom: 12px; }

.location-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.location-card p,
.location-card a {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(232, 117, 26, 0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 117, 26, 0.1);
}

/* Legal Pages */
.legal-text {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 32px 0 12px;
}

.legal-text p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-text li {
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--light);
    padding: 20px;
    border-bottom: 1px solid rgba(232, 117, 26, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; text-align: center; padding: 12px; }

  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .location-info { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .service-item-content ul { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.6rem; }
  .service-item { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
