/* ===================================
   BRILLIANT RIM - VIBRANT ENERGETIC DESIGN
   Bookstore with electric energy
   =================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background: linear-gradient(135deg, #fff 0%, #fef5e7 100%);
  overflow-x: hidden;
}

/* VIBRANT COLOR PALETTE */
:root {
  --primary: #FF6B35;
  --secondary: #00C9A7;
  --accent: #FFD23F;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #6c757d;
  --gradient-1: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
  --gradient-2: linear-gradient(135deg, #00C9A7 0%, #00E5BF 100%);
  --gradient-3: linear-gradient(135deg, #FFD23F 0%, #FFE066 100%);
  --shadow-sm: 0 4px 12px rgba(255, 107, 53, 0.15);
  --shadow-md: 0 8px 24px rgba(255, 107, 53, 0.2);
  --shadow-lg: 0 16px 48px rgba(255, 107, 53, 0.25);
}

/* TYPOGRAPHY - BOLD & ENERGETIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 48px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

h2 {
  font-size: 40px;
  color: var(--primary);
}

h3 {
  font-size: 28px;
  color: var(--secondary);
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
}

a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 12px;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* HEADER - ELECTRIC ENERGY */
header {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 50%, #FFD23F 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
  border-bottom: 4px solid var(--accent);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1) rotate(2deg);
}

/* MAIN NAVIGATION - BOLD */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--light);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 20px;
}

.main-nav a:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  background: var(--gradient-1);
  color: var(--light);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #FF6B35 0%, #00C9A7 100%);
  z-index: 1000;
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--light);
  color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: var(--light);
  font-size: 20px;
  font-weight: 700;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-nav a:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateX(8px);
  border-color: var(--accent);
}

/* HERO SECTION - EXPLOSIVE ENERGY */
.hero {
  background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 50%, #00C9A7 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--accent);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
  animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 64px;
  color: var(--light);
  background: none;
  -webkit-text-fill-color: var(--light);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
  animation: heroTitle 1s ease-out;
}

@keyframes heroTitle {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-subheadline {
  font-size: 24px;
  color: var(--light);
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: heroSubtitle 1s ease-out 0.2s both;
}

@keyframes heroSubtitle {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroCTA 1s ease-out 0.4s both;
}

@keyframes heroCTA {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTONS - ELECTRIC & BOLD */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--light);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  border-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: var(--gradient-2);
  color: var(--light);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 201, 167, 0.4);
}

/* SECTIONS - DYNAMIC SPACING */
section {
  padding: 80px 0;
  margin-bottom: 0;
  position: relative;
}

section:nth-child(even) {
  background: linear-gradient(135deg, #fff 0%, #fef9f3 100%);
}

.introduction,
.story,
.services-overview,
.book-genres,
.expertise,
.location {
  padding: 60px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: var(--light);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--accent);
}

.opening-hours {
  margin-top: 32px;
  padding: 24px;
  background: var(--gradient-3);
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* PAGE HERO */
.page-hero {
  background: var(--gradient-1);
  padding: 100px 0 60px;
  text-align: center;
  border-bottom: 6px solid var(--accent);
}

.page-hero h1 {
  color: var(--light);
  background: none;
  -webkit-text-fill-color: var(--light);
  margin-bottom: 16px;
}

.page-subheadline {
  font-size: 22px;
  color: var(--light);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.last-updated,
.effective-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-top: 12px;
}

/* SERVICES GRID - FLEXBOX ENERGETIC */
.services-grid,
.featured-services .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 48px;
}

.service-card {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  background: var(--light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  border-color: var(--accent);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 24px;
}

.service-card p {
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.7;
}

.price {
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
  margin: 24px 0;
  display: block;
}

/* BENEFITS GRID */
.benefits-grid,
.values-grid,
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}

.benefit-item,
.value-item,
.category-item {
  flex: 1 1 calc(50% - 32px);
  min-width: 250px;
  padding: 32px;
  background: linear-gradient(135deg, var(--light) 0%, #fff9f0 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--primary);
  transition: all 0.3s ease;
}

.benefit-item:hover,
.value-item:hover,
.category-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary);
}

.benefit-item h3,
.value-item h3,
.category-item h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 22px;
}

/* TESTIMONIALS - VIBRANT CARDS */
.testimonials {
  background: var(--gradient-2);
  padding: 80px 0;
}

.testimonials h2 {
  text-align: center;
  color: var(--light);
  margin-bottom: 48px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.testimonial-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  max-width: 550px;
  background: var(--light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  border: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 100px;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
  color: var(--dark);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.customer-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
  margin-top: 16px;
  text-align: right;
}

/* EVENTS GRID */
.events-grid,
.upcoming-events .events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}

.event-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  background: var(--light);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--secondary);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.event-date {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 22px;
}

/* COLLECTIONS & PRICING GRIDS */
.collections-grid,
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  justify-content: center;
}

.collection-card,
.pricing-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 260px;
  max-width: 400px;
  padding: 40px;
  background: var(--light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 4px solid var(--accent);
  transition: all 0.4s ease;
}

.collection-card:hover,
.pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  border-color: var(--primary);
}

.pricing-card h3 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 20px;
}

.pricing-card .price {
  font-size: 36px;
  color: var(--secondary);
  margin: 24px 0;
}

/* LISTS - ENERGETIC STYLING */
.benefits-list,
.services-list,
.expertise-list,
.condition-list,
.process-list,
.next-steps {
  list-style: none;
  margin-left: 0;
  margin-top: 32px;
}

.benefits-list li,
.services-list li,
.expertise-list li,
.condition-list li {
  padding: 20px 20px 20px 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #fef9f3 100%);
  border-radius: 12px;
  border-left: 6px solid var(--primary);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.benefits-list li::before,
.services-list li::before,
.expertise-list li::before {
  content: '⚡';
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 24px;
}

.benefits-list li:hover,
.services-list li:hover,
.expertise-list li:hover,
.condition-list li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary);
}

.process-list,
.next-steps {
  counter-reset: step-counter;
  margin-left: 0;
}

.process-list li,
.next-steps li {
  counter-increment: step-counter;
  padding: 24px 24px 24px 70px;
  margin-bottom: 24px;
  background: var(--light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 3px solid var(--accent);
}

.process-list li::before,
.next-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

/* CTA SECTIONS - EXPLOSIVE */
.cta-section {
  background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 50%, #00C9A7 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.05) 20px,
    rgba(255, 255, 255, 0.05) 40px
  );
  animation: slidePattern 25s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--light);
  font-size: 42px;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-section p {
  color: var(--light);
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CONTACT SECTIONS */
.contact-methods,
.contact-info,
.directions,
.venue-info {
  padding: 60px 0;
}

.methods-grid,
.info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.method-item {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 250px;
  padding: 32px;
  background: var(--light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 6px solid var(--primary);
  transition: all 0.3s ease;
}

.method-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}

.method-item h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.info-block {
  max-width: 800px;
  margin: 32px auto;
  padding: 40px;
  background: var(--light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--accent);
}

/* FORM SECTIONS */
.contact-form-section,
.booking-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fff 0%, #fef9f3 100%);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: var(--light);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--accent);
}

.form-note {
  margin: 24px 0;
  padding: 20px;
  background: #fff9f0;
  border-radius: 12px;
  border-left: 6px solid var(--primary);
}

.form-cta {
  margin-top: 32px;
  text-align: center;
}

/* THANK YOU PAGE */
.thank-you-hero {
  background: var(--gradient-2);
  padding: 120px 0 80px;
  text-align: center;
}

.thank-you-content h1 {
  color: var(--light);
  font-size: 56px;
  background: none;
  -webkit-text-fill-color: var(--light);
  margin-bottom: 24px;
}

.success-message {
  font-size: 24px;
  color: var(--light);
  font-weight: 600;
}

.confirmation-details,
.next-actions {
  padding: 60px 0;
}

.actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}

.action-card {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 260px;
  padding: 32px;
  background: var(--light);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.navigation-buttons,
.return-home-section {
  padding: 60px 0;
  text-align: center;
}

.navigation-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* LEGAL CONTENT */
.legal-content {
  padding: 60px 0;
}

.legal-content .content-wrapper h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 32px;
}

.legal-content .content-wrapper h3 {
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
}

/* FOOTER - BOLD BRANDING */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--light);
  padding: 60px 0 32px;
  border-top: 6px solid var(--accent);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-section h3 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.footer-nav a:hover {
  color: var(--accent);
  transform: translateX(8px);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid var(--accent);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cookie-text {
  flex: 1 1 400px;
  color: var(--light);
  font-size: 15px;
}

.cookie-text p {
  margin-bottom: 8px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background: var(--gradient-1);
  color: var(--light);
  border-color: var(--accent);
}

.cookie-btn-accept:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--light);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--light);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.cookie-btn-settings:hover {
  background: var(--accent);
  color: var(--dark);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--light);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--accent);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.active .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-content h2 {
  color: var(--primary);
  margin-bottom: 24px;
}

.cookie-category {
  padding: 20px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.cookie-category h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: #ccc;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--secondary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--light);
  border-radius: 50%;
  transition: left 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active::after {
  left: 31px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  
  .hero h1 { font-size: 42px; }
  .hero-subheadline { font-size: 18px; }
  
  /* Hide desktop nav, show mobile toggle */
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  
  /* Header adjustments */
  header { padding: 16px 0; }
  .logo img { height: 50px; }
  
  /* Sections */
  section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; }
  .page-hero { padding: 80px 0 50px; }
  
  /* Buttons */
  .btn {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Grids to single column */
  .services-grid,
  .benefits-grid,
  .values-grid,
  .events-grid,
  .collections-grid,
  .pricing-grid,
  .methods-grid,
  .actions-grid {
    flex-direction: column;
  }
  
  .service-card,
  .benefit-item,
  .value-item,
  .event-card,
  .collection-card,
  .pricing-card,
  .method-item,
  .action-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .testimonials-grid {
    flex-direction: column;
  }
  
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Content wrappers */
  .content-wrapper,
  .form-wrapper {
    padding: 24px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    padding: 32px 24px;
  }
  
  /* Navigation buttons */
  .navigation-buttons,
  .cta-buttons {
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  h1 { font-size: 42px; }
  .hero h1 { font-size: 52px; }
  
  .service-card,
  .event-card {
    flex: 1 1 calc(50% - 32px);
  }
  
  .benefit-item,
  .value-item {
    flex: 1 1 calc(50% - 32px);
  }
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.highlight {
  background: linear-gradient(135deg, #FFD23F 0%, #FFE066 100%);
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ACCESSIBILITY */
:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus,
a:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .btn {
    border: 2px solid #000;
    color: #000;
    background: white;
  }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  :root {
    --primary: #d64000;
    --secondary: #008060;
    --accent: #cc9900;
  }
  
  .btn {
    border-width: 3px;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* SMOOTH SCROLLING */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}