/* Voice-Activated Recipe Assistant App - Main Styles */

/* === COLOR PALETTE === */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-color: #ff7876;          /* Coral red */
  --secondary-color: #3ac6b5;        /* Mint green */
  --accent-color: #2d98bc;           /* Sky blue */
  --warning-color: #e4ab32;          /* Soft yellow */
  --success-color: #7b6eee;          /* Lavender purple */
  
  /* Light Shades */
  --primary-light: #efa295;
  --secondary-light: #86c4c6;
  --accent-light: #7bcfe4;
  --warning-light: #fff94c;
  --success-light: #8f79c7;
  
  /* Dark Shades */
  --primary-dark: #f4505e;
  --secondary-dark: #36c9ba;
  --accent-dark: #2751c2;
  --warning-dark: #ffc420;
  --success-dark: #5733c2;
  
  /* Neutral Colors */
  --dark-text: #274454;
  --light-text: #ffffff;
  --gray-text: #545f67;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
}

/* === TYPOGRAPHY === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
}

/* Conservative font sizes */
.navbar-brand {
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--primary-color);
}

h1 {
  font-size: 2.27rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.88rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.98rem;
}

h3 {
  font-size: 1.53rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.73rem;
}

h4, h5, h6 {
  font-size: 1.20rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.62rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-text);
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

.hero-content {
  z-index: 2;
  position: relative;
    padding-top: 179px;
}

.hero-title {
  color: var(--white);
  text-shadow: 9px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.32rem;
}

.hero-desc {
  color: var(--white);
  opacity: 0.8;
  font-size: 1rem;
}

/* === BUTTONS === */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 210px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 27px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* === SECTIONS === */
.section {
  padding: 4rem 0;
}

.section-title {
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 1.02rem;
}

.section-desc {
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === CARDS === */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-bottom: none;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.97rem;
}

.card-text {
  color: var(--gray-text);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

/* === SERVICES === */
.service-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-name {
  color: var(--dark-text);
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 0.87rem;
}

.service-desc {
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.service-price {
  color: var(--primary-color);
  font-size: 1.52rem;
  font-weight: 700;
}

/* === TEAM === */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  margin-bottom: 1rem;
}

.team-name {
  color: var(--dark-text);
  font-size: 1.26rem;
  font-weight: 600;
  margin-bottom: 0.73rem;
}

.team-role {
  color: var(--gray-text);
  font-size: 1.08rem;
}

/* === TESTIMONIALS === */
.testimonial-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  color: var(--gray-text);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1rem;
}

/* === FAQ === */
.faq-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.faq-answer {
  color: var(--gray-text);
  font-size: 1.09rem;
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid #ffffff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 91, 89, 0.25);
}

.form-label {
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 0.71rem;
}

/* === FOOTER === */
.footer {
  background-color: var(--dark-text);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: #aab6ca;
  font-size: 1.01rem;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

/* === RESPONSIVE DESIGN === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === UTILITY CLASSES === */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-light-custom {
  background-color: var(--light-bg);
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* === VOICE ASSISTANT SPECIFIC STYLES === */
.voice-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--success-color);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.recipe-card {
  background: linear-gradient(135deg, var(--warning-light), var(--success-light));
  border: none;
  border-radius: 15px;
  color: var(--white);
  padding: 1.5rem;
  margin-bottom: 1.65rem;
}

.recipe-card .card-title {
  color: var(--white);
  font-weight: 600;
}

.recipe-card .card-text {
  color: var(--white);
  opacity: 0.9;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.60rem;
}

.price-badge {
  background: linear-gradient(135deg, var(--warning-color), var(--warning-dark));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ingredient-list {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.ingredient-list li {
  color: var(--dark-text);
  margin-bottom: 0.61rem;
}

.cooking-time {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.93rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.difficulty-badge {
  background-color: var(--success-color);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 1.03rem;
  font-weight: 600;
  display: inline-block;
  margin-left: 0.5rem;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
