/* ===================================
   Catering Services Website - Base Styles
   Mobile-First Approach
   =================================== */

/* CSS Variables for Color Scheme */
:root {
  /* Primary Colors */
  --primary-color: #d4af37;
  --primary-dark: #b8941f;
  --primary-light: #f0d98d;
  
  /* Secondary Colors */
  --secondary-color: #2c3e50;
  --secondary-light: #34495e;
  
  /* Neutral Colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
  
  /* Accent Colors */
  --accent-green: #25d366;
  --accent-green-hover: #1fb855;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  --font-marathi: 'Noto Sans Devanagari', 'Segoe UI', sans-serif;
}

/* ===================================
   Base Reset and Typography
   =================================== */

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--background-white);
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}

/* Marathi Text Styling */
.mr {
  font-family: var(--font-marathi);
  display: block;
  margin-top: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Bilingual Content */
.bilingual {
  display: block;
}

.bilingual .en {
  display: block;
  font-weight: 500;
}

/* ===================================
   Header Styles
   =================================== */

header {
  /* Mobile first - use Background.png */
  background-image: url('../Images/Background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: var(--spacing-md) var(--spacing-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.logo-container {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  margin: 0;
}

.business-name {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 300px;
}

/* Remove animated tagline styles as it's no longer needed */

/* ===================================
   Main Content Sections
   =================================== */

main {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: var(--spacing-lg) var(--spacing-sm);
}

section:nth-child(even) {
  background-color: var(--background-light);
}

/* ===================================
   Hero Section
   =================================== */

#hero {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-sm);
  background: linear-gradient(to bottom, var(--background-white), var(--background-light));
}

#hero h2 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

/* ===================================
   Services Section
   =================================== */

#services {
  background-color: var(--background-white);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.service-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

/* Service Images */
.service-image-container {
  width: 100%;
  margin-bottom: var(--spacing-md);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-light);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 250px;
}

/* Error state for failed image loads */
.service-image-container.image-error {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--border-color) 100%);
  position: relative;
}

.service-image-container.image-error::after {
  content: '🍽️';
  font-size: 4rem;
  opacity: 0.3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===================================
   About Section
   =================================== */

#about {
  background-color: var(--background-light);
}

.business-info {
  max-width: 800px;
  margin: 0 auto;
}

.business-info h3 {
  color: var(--primary-dark);
}

.business-info strong {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* ===================================
   Contact Section
   =================================== */

#contact {
  background-color: var(--background-white);
  text-align: center;
}

#contact h2 {
  margin-bottom: var(--spacing-lg);
}

.contact-info {
  margin-bottom: var(--spacing-lg);
}

.contact-info h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Phone Numbers */
.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
  align-items: center;
}

.phone-link {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: #2c3e50; /* Dark blue-gray for high contrast */
  color: #ffffff; /* White text - contrast ratio 12.6:1 (passes WCAG AAA) */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  min-width: 200px;
  text-align: center;
  /* Ensure minimum touch target size */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.phone-link:hover {
  background-color: #1a252f;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.phone-link:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #0f1419;
}

.phone-link.primary {
  background-color: #b8941f; /* Primary dark gold */
  color: #ffffff; /* White text - contrast ratio 5.2:1 (passes WCAG AA) */
  font-weight: 700;
  border: 2px solid #9a7a19;
}

.phone-link.primary:hover {
  background-color: #9a7a19;
  color: #ffffff;
  border-color: #7d6214;
  box-shadow: 0 4px 8px rgba(184, 148, 31, 0.4);
}

.phone-link.primary:active {
  background-color: #7d6214;
  transform: scale(0.98);
}

/* Address */
.address {
  margin: var(--spacing-lg) 0;
}

.address h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.address p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

/* ===================================
   Call-to-Action Buttons
   =================================== */

.cta-button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  /* Ensure minimum touch target size */
  min-height: 48px;
  min-width: 200px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Button - Distinctive Green with High Contrast */
.cta-button.whatsapp {
  background-color: #128C7E; /* Darker WhatsApp green for better contrast */
  color: #ffffff; /* Pure white text - contrast ratio 5.9:1 (passes WCAG AA) */
  margin-top: var(--spacing-md);
  font-weight: 700;
  border: 2px solid transparent;
}

.cta-button.whatsapp:hover {
  background-color: #0d6e63; /* Even darker on hover */
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-button.whatsapp:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #0a5a51;
}

/* Primary CTA Button Style */
.cta-button.primary {
  background-color: #b8941f; /* Primary dark gold */
  color: #ffffff; /* White text - contrast ratio 5.2:1 (passes WCAG AA) */
  font-weight: 700;
}

.cta-button.primary:hover {
  background-color: #9a7a19;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #7d6214;
}

/* Secondary CTA Button Style */
.cta-button.secondary {
  background-color: #2c3e50; /* Dark blue-gray */
  color: #ffffff; /* White text - contrast ratio 12.6:1 (passes WCAG AAA) */
  font-weight: 600;
}

.cta-button.secondary:hover {
  background-color: #1a252f;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #0f1419;
}

/* ===================================
   Footer
   =================================== */

footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-md) var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ===================================
   Accessibility
   =================================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced focus styles for CTA buttons */
.cta-button:focus,
.phone-link:focus {
  outline: 3px solid #d4af37;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.cta-button.whatsapp:focus {
  outline: 3px solid #128C7E;
  box-shadow: 0 0 0 5px rgba(18, 140, 126, 0.2);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================
   Floating Contact Buttons
   =================================== */

/* Phone Button - Top */
.phone-float {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #0088cc;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.phone-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background-color: #006699;
}

.phone-float:active {
  transform: scale(0.95);
}

.phone-float svg {
  width: 30px;
  height: 30px;
}

/* Instagram Button - Middle */
.instagram-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.instagram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.instagram-float:active {
  transform: scale(0.95);
}

.instagram-float svg {
  width: 32px;
  height: 32px;
}

/* WhatsApp Button - Bottom */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background-color: #20BA5A;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

/* Pulse animation for attention */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* Responsive adjustments for floating buttons */
@media screen and (max-width: 767px) {
  .phone-float,
  .instagram-float,
  .whatsapp-float {
    width: 55px;
    height: 55px;
    right: 15px;
  }
  
  .phone-float {
    bottom: 145px;
  }
  
  .instagram-float {
    bottom: 80px;
  }
  
  .whatsapp-float {
    bottom: 15px;
  }
  
  .phone-float svg {
    width: 28px;
    height: 28px;
  }
  
  .instagram-float svg {
    width: 30px;
    height: 30px;
  }
  
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

/* ===================================
   Floating Logo in Bottom Left
   =================================== */

.logo-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.logo-float:hover {
  transform: scale(1.1);
}

.floating-logo {
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Responsive adjustments for floating logo */
@media screen and (max-width: 767px) {
  .logo-float {
    bottom: 15px;
    left: 15px;
  }
  
  .floating-logo {
    width: 90px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .floating-logo {
    width: 100px;
  }
}

/* ===================================
   Videos Section
   =================================== */

#videos {
  background-color: var(--background-light);
  text-align: center;
}

#videos h2 {
  margin-bottom: var(--spacing-xs);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.videos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 400px;
  margin: 0 auto;
  align-items: center;
}

.video-card {
  width: 100%;
  max-width: 350px;
  background-color: var(--background-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-container {
  position: relative;
  width: 100%;
  /* Instagram Reels aspect ratio 9:16 */
  aspect-ratio: 9 / 16;
  background-color: #000;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--background-white);
}

.video-caption p {
  margin: 0;
  font-weight: 600;
  color: var(--secondary-color);
}

.video-caption .en {
  font-size: 1.1rem;
}

.video-caption .mr {
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
