/* ==========================================================================
   MAMA'S SPECIALTY - COMPLETE CUSTOM STYLES
   Modern Web 2.0/3.0 Design System
   ========================================================================== */

/* ==========================================================================
   BASE STYLES & BRAND COLORS
   ========================================================================== */
:root {
  --primary-purple: #8A2BE2;
  --primary-orange: #F4A261;
  --primary-coral: #E76F51;
  --primary-cyan: #00DDEB;
  --secondary-cyan: #0BB8C5;
  --secondary-purple: #9B59B6;
  --text-dark: #2c3e50;
  --text-medium: #495057;
  --text-light: #6c757d;
  --bg-light: #fafafa;
  --white: #ffffff;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.12);
  --shadow-heavy: rgba(0, 0, 0, 0.2);
}

body.mamasspecialties {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.mamasspecialty-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ==========================================================================
   LOGO STYLES
   ========================================================================== */
.mamasspecialty-logo {
  text-align: center;
  margin: 20px auto 30px auto;
  max-width: 250px;
}

.mamasspecialty-logo img {
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

.mamasspecialty-logo img:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.mamasspecialty-title {
  color: var(--primary-orange);
  font-size: 2.5rem;
  text-align: center;
  margin: 20px 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(244, 162, 97, 0.3);
}

.mamasspecialty-subtitle {
  font-size: 1.3rem;
  color: white;
  text-align: center;
  margin: 0 0 25px 0;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Section headings with brand colors */
.mamasspecialty-story h2,
.mamasspecialty-reviews h2,
.mamasspecialty-map h2,
.mamasspecialty-contact h2,
.mamasspecialty-team h2,
.mamasspecialty-cta h2 {
  color: var(--primary-purple);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

/* Decorative underline for headings */
.mamasspecialty-story h2::after,
.mamasspecialty-reviews h2::after,
.mamasspecialty-map h2::after,
.mamasspecialty-contact h2::after,
.mamasspecialty-team h2::after,
.mamasspecialty-cta h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-orange);
  margin: 10px auto;
  border-radius: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.mamasspecialty-hero {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
  border-radius: 20px;
  margin: 30px 0;
  box-shadow: 0 8px 30px rgba(244, 162, 97, 0.3);
  position: relative;
  overflow: hidden;
}

.mamasspecialty-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 8s infinite linear;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.mamasspecialty-button {
  background: white;
  color: var(--primary-coral);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 5px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px var(--shadow-light);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mamasspecialty-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.mamasspecialty-button:hover::before {
  left: 100%;
}

.mamasspecialty-button:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ==========================================================================
   MENU PAGE STYLES
   ========================================================================== */

/* Menu Filters */
.mamasspecialty-menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow-light);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mamasspecialty-menu-filters .mamasspecialty-button {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  color: var(--text-medium);
  border: 2px solid transparent;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mamasspecialty-menu-filters .mamasspecialty-button.active {
  background: linear-gradient(145deg, var(--primary-orange), var(--primary-coral));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.mamasspecialty-menu-filters .mamasspecialty-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Menu Grid */
.mamasspecialty-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

/* Menu Items */
.mamasspecialty-menu-item {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 30px var(--shadow-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(244, 162, 97, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.mamasspecialty-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-coral), var(--primary-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mamasspecialty-menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.mamasspecialty-menu-item:hover::before {
  opacity: 1;
}

/* Menu Item Header */
.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.menu-item-name {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.menu-item-price {
  background: linear-gradient(145deg, var(--primary-orange), var(--primary-coral));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.menu-item-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: left;
}

/* Category Badges */
.menu-item-category {
  display: flex;
  justify-content: flex-end;
}

.category-badge {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.food-badge {
  background: linear-gradient(145deg, #28a745, #20c997);
  color: white;
}

.coffee-badge {
  background: linear-gradient(145deg, #8B4513, #A0522D);
  color: white;
}

.noncoffee-badge {
  background: linear-gradient(145deg, var(--primary-cyan), var(--secondary-cyan));
  color: white;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

/* Story Section */
.mamasspecialty-story {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px var(--shadow-light);
  margin: 30px 0;
  border-left: 5px solid var(--primary-orange);
  position: relative;
}

.mamasspecialty-story::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.mamasspecialty-story p {
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: justify;
  margin: 0;
}

/* Call to Action Section */
.mamasspecialty-cta {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: white;
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  margin: 40px 0;
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.mamasspecialty-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 10s infinite linear reverse;
}

.mamasspecialty-cta h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.mamasspecialty-cta h2::after {
  background: white;
  width: 80px;
}

.mamasspecialty-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.mamasspecialty-cta .mamasspecialty-button {
  background: white;
  color: var(--primary-purple);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.mamasspecialty-cta .mamasspecialty-button:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
}

/* Contact Section */
.mamasspecialty-contact {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--secondary-cyan) 100%);
  color: white;
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  margin: 30px 0;
  box-shadow: 0 8px 30px rgba(0, 221, 235, 0.3);
}

.mamasspecialty-contact h2 {
  color: white;
  margin-bottom: 15px;
}

.mamasspecialty-contact h2::after {
  background: white;
}

.mamasspecialty-contact p {
  font-size: 1.2rem;
  margin: 0;
  color: white;
  font-weight: 500;
}

/* Reviews Section */
.mamasspecialty-reviews {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px var(--shadow-light);
  margin: 30px 0;
}

/* Map Section */
.mamasspecialty-map {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px var(--shadow-light);
  margin: 30px 0;
}

.mamasspecialty-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 20px var(--shadow-light);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

/* Team Link Section */
.team-link-section {
  text-align: center;
  margin: 40px 0;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.team-link-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: shimmer 12s infinite linear;
}

.team-link-section h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.team-link-section p {
  color: white;
  margin-bottom: 20px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.team-link-button {
  background: white;
  color: var(--primary-purple);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-light);
  position: relative;
  z-index: 1;
}

.team-link-button:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
  transform: translateY(-2px);
}

/* Team Members Grid */
.mamasspecialty-team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  padding: 20px 0;
  align-items: start;
}

.mamasspecialty-team-member {
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow-light);
  height: 100%;
  min-height: 350px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mamasspecialty-team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-coral), var(--primary-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mamasspecialty-team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.mamasspecialty-team-member:hover::before {
  opacity: 1;
}

.mamasspecialty-team-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

.mamasspecialty-team-member img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-orange);
  transition: transform 0.3s ease;
}

.mamasspecialty-team-member:hover img {
  transform: scale(1.05);
}

.mamasspecialty-team-member h3 {
  color: var(--primary-orange);
  margin: 0 0 8px 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.mamasspecialty-team-member p {
  color: var(--primary-cyan);
  margin: 0 0 12px 0;
  text-align: center;
  padding: 0 15px;
  line-height: 1.5;
}

.mamasspecialty-team-member p:nth-child(2) {
  font-style: italic;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 15px;
}

.mamasspecialty-team-member p:nth-child(3) {
  text-align: center;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

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

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

.mamasspecialty-menu-item {
  animation: fadeInUp 0.6s ease forwards;
  transition: opacity 0.3s ease, transform 0.3s ease, all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mamasspecialty-team-member:nth-child(odd) {
  animation: slideInLeft 0.6s ease forwards;
}

.mamasspecialty-team-member:nth-child(even) {
  animation: slideInRight 0.6s ease forwards;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .mamasspecialty-container {
    padding: 15px;
  }
  
  .mamasspecialty-menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mamasspecialty-logo img {
    max-width: 150px;
  }
  
  .mamasspecialty-title {
    font-size: 2rem;
  }
  
  .mamasspecialty-subtitle {
    font-size: 1.1rem;
  }
  
  .mamasspecialty-hero {
    padding: 30px 20px;
  }
  
  .mamasspecialty-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mamasspecialty-menu-filters {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
  }
  
  .mamasspecialty-menu-filters .mamasspecialty-button {
    width: 200px;
    text-align: center;
  }
  
  .mamasspecialty-menu-item {
    padding: 20px;
  }
  
  .menu-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .menu-item-price {
    align-self: flex-end;
  }
  
  .mamasspecialty-team-members {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mamasspecialty-team-member {
    min-height: 300px;
    padding: 20px 15px;
  }
  
  .mamasspecialty-team-member img {
    width: 100px;
    height: 100px;
  }
  
  .mamasspecialty-team-member h3 {
    font-size: 1.2rem;
  }
  
  .mamasspecialty-team-member p {
    padding: 0 10px;
    font-size: 0.9rem;
  }
  
  .mamasspecialty-cta {
    padding: 30px 20px;
  }
  
  .mamasspecialty-cta h2 {
    font-size: 1.8rem;
  }
  
  .mamasspecialty-story,
  .mamasspecialty-reviews,
  .mamasspecialty-map {
    padding: 25px 20px;
  }
  
  .mamasspecialty-story h2,
  .mamasspecialty-reviews h2,
  .mamasspecialty-map h2,
  .mamasspecialty-contact h2,
  .mamasspecialty-team h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .mamasspecialty-container {
    padding: 10px;
  }
  
  .mamasspecialty-title {
    font-size: 1.8rem;
  }
  
  .mamasspecialty-hero {
    padding: 25px 15px;
  }
  
  .mamasspecialty-menu-item {
    padding: 15px;
  }
  
  .menu-item-name {
    font-size: 1.2rem;
  }
  
  .menu-item-price {
    font-size: 1rem;
    padding: 6px 12px;
  }
  
  .mamasspecialty-team-member {
    padding: 15px;
    min-height: 280px;
  }
  
  .mamasspecialty-team-member img {
    width: 80px;
    height: 80px;
  }
}

/* ==========================================================================
   ACCESSIBILITY & PERFORMANCE
   ========================================================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.mamasspecialty-button:focus,
.team-link-button:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .mamasspecialty-menu-item {
    border: 2px solid var(--text-dark);
  }
  
  .mamasspecialty-team-member {
    border: 2px solid var(--text-dark);
  }
}

/* ==========================================================================
   LOCATION SECTION - INTEGRATED DESIGN
   ========================================================================== */

/* Combined Location Section */
.mamasspecialty-location {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px var(--shadow-light);
  margin: 30px 0;
  border-left: 5px solid var(--primary-cyan);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.location-address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 20px 0;
}

.location-address h3 {
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.address-text {
  color: var(--text-medium);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 221, 235, 0.05) 0%, rgba(11, 184, 197, 0.05) 100%);
  border-radius: 15px;
  border-left: 4px solid var(--primary-cyan);
  font-weight: 500;
}

.location-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.location-actions .mamasspecialty-button {
  background: linear-gradient(145deg, var(--primary-cyan), var(--secondary-cyan));
  color: white;
  border: 2px solid transparent;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.location-actions .mamasspecialty-button:hover {
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 221, 235, 0.3);
}

.location-map {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  height: fit-content;
}

.location-map iframe {
  border: 0;
  border-radius: 15px;
  width: 100%;
  height: 300px;
  transition: transform 0.3s ease;
}

.location-map:hover iframe {
  transform: scale(1.02);
}

/* Remove the old separate sections */
.mamasspecialty-map,
.mamasspecialty-contact {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR LOCATION
   ========================================================================== */

@media (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .location-address {
    text-align: center;
    padding: 10px 0;
  }

  .address-text {
    font-size: 1.1rem;
    padding: 15px;
  }

  .location-actions {
    justify-content: center;
  }

  .location-map iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .mamasspecialty-location {
    padding: 25px 20px;
  }

  .location-address h3 {
    font-size: 1.3rem;
  }

  .address-text {
    font-size: 1rem;
    padding: 12px;
  }

  .location-actions .mamasspecialty-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .location-map iframe {
    height: 200px;
  }
}
