/* Voice-Activated Recipe Assistant App - Responsive Styles */

/* === MOBILE FIRST RESPONSIVE DESIGN === */

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.88rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 1.05rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.62rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.92rem;
  }
  
  .service-item {
    padding: 1.5rem;
    margin-bottom: 1.60rem;
  }
  
  .service-icon {
    font-size: 2.64rem;
  }
  
  .service-name {
    font-size: 1.13rem;
  }
  
  .service-desc {
    font-size: 1.04rem;
  }
  
  .service-price {
    font-size: 1.40rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-name {
    font-size: 1.15rem;
  }
  
  .team-role {
    font-size: 0.92rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 0.92rem;
  }
  
  .testimonial-author {
    font-size: 0.93rem;
  }
  
  .faq-item {
    padding: 1.2rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 1.02rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 1.03rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.5rem 1.2rem;
    font-size: 0.91rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1.11rem;
  }
  
  .footer p {
    font-size: 0.90rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .card-title {
    font-size: 1.18rem;
  }
  
  .card-text {
    font-size: 1.04rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.41rem;
  }
  
  .price-badge {
    font-size: 1.01rem;
    padding: 0.4rem 0.8rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1.03rem;
  }
  
  .cooking-time,
  .difficulty-badge {
    font-size: 0.82rem;
    padding: 0.2rem 0.6rem;
  }
  
  .recipe-card {
    padding: 1.2rem;
  }
  
  .voice-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
    padding: 2.5rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.18rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.76rem;
  }
  
  .service-item {
    padding: 1.8rem;
  }
  
  .service-icon {
    font-size: 2.89rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .testimonial-item {
    padding: 1.8rem;
  }
  
  .contact-form {
    padding: 1.8rem;
  }
  
  .footer {
    padding: 2.5rem 0 1rem;
  }
  
  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.52rem;
  }
  
  .step-number {
    width: 38px;
    height: 38px;
  }
  
  .recipe-card {
    padding: 1.4rem;
  }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.19rem;
  }
  
  .hero-subtitle {
    font-size: 1.22rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.88rem;
  }
  
  .service-item {
    padding: 1.9rem;
  }
  
  .service-icon {
    font-size: 3.00rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .testimonial-item {
    padding: 1.9rem;
  }
  
  .contact-form {
    padding: 1.9rem;
  }
  
  .footer {
    padding: 2.8rem 0 1rem;
  }
  
  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.50rem;
  }
  
  .recipe-card {
    padding: 1.4rem;
  }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
    padding: 3.5rem 0;
  }
  
  .hero-title {
    font-size: 2.30rem;
  }
  
  .hero-subtitle {
    font-size: 1.32rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.89rem;
  }
  
  .service-item {
    padding: 1.95rem;
  }
  
  .service-icon {
    font-size: 3.10rem;
  }
  
  .team-photo {
    width: 145px;
    height: 145px;
  }
  
  .testimonial-item {
    padding: 1.95rem;
  }
  
  .contact-form {
    padding: 1.95rem;
  }
  
  .footer {
    padding: 2.9rem 0 1rem;
  }
  
  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.60rem;
  }
  
  .recipe-card {
    padding: 1.45rem;
  }
}

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.31rem;
  }
  
  .hero-subtitle {
    font-size: 1.30rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.83rem;
  }
  
  .service-item {
    padding: 2rem;
  }
  
  .service-icon {
    font-size: 3rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .testimonial-item {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    padding: 3rem 0 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.57rem;
  }
  
  .recipe-card {
    padding: 1.5rem;
  }
}

/* === NAVIGATION RESPONSIVE === */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.2rem 0;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}

/* === HERO SECTION RESPONSIVE === */
@media (max-width: 767.98px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-md-6:first-child {
    order: 2;
    text-align: center;
    margin-top: 2rem;
  }
  
  .hero-section .col-md-6:last-child {
    order: 1;
  }
}

/* === SERVICES GRID RESPONSIVE === */
@media (max-width: 575.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 1.60rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* === TEAM SECTION RESPONSIVE === */
@media (max-width: 575.98px) {
  .team-grid .col-md-4 {
    margin-bottom: 1.67rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .team-grid .col-md-4 {
    margin-bottom: 1.92rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .team-grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* === TESTIMONIALS RESPONSIVE === */
@media (max-width: 575.98px) {
  .testimonials-grid .col-md-6 {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .testimonials-grid .col-md-6 {
    margin-bottom: 1.68rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .testimonials-grid .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* === FAQ RESPONSIVE === */
@media (max-width: 575.98px) {
  .faq-grid .col-md-6 {
    margin-bottom: 0.65rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .faq-grid .col-md-6 {
    margin-bottom: 1.03rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .faq-grid .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* === CONTACT FORM RESPONSIVE === */
@media (max-width: 767.98px) {
  .contact-section .row {
    flex-direction: column;
  }
  
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* === FOOTER RESPONSIVE === */
@media (max-width: 575.98px) {
  .footer .row {
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 1.63rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .footer .row {
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 1.99rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer .col-md-3 {
    margin-bottom: 2rem;
  }
}

/* === GALLERY RESPONSIVE === */
@media (max-width: 575.98px) {
  .gallery-grid .col-md-4 {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid .col-md-4 {
    margin-bottom: 1.57rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* === BUTTONS RESPONSIVE === */
@media (max-width: 575.98px) {
  .btn-primary,
  .btn-secondary {
    display: block;
    width: 100%;
    margin-bottom: 0.56rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .btn-primary,
  .btn-secondary {
    margin-bottom: 0.43rem;
  }
}

/* === UTILITY RESPONSIVE === */
@media (max-width: 575.98px) {
  .text-center-mobile {
    text-align: center !important;
  }
  
  .d-block-mobile {
    display: block !important;
  }
  
  .w-100-mobile {
    width: 100% !important;
  }
  
  .mb-3-mobile {
    margin-bottom: 1rem !important;
  }
  
  .p-2-mobile {
    padding: 0.5rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .text-center-tablet {
    text-align: center !important;
  }
  
  .d-block-tablet {
    display: block !important;
  }
  
  .w-100-tablet {
    width: 100% !important;
  }
  
  .mb-3-tablet {
    margin-bottom: 1rem !important;
  }
  
  .p-2-tablet {
    padding: 0.5rem !important;
  }
}

/* === VOICE ASSISTANT RESPONSIVE === */
@media (max-width: 575.98px) {
  .voice-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .voice-indicator {
    width: 10px;
    height: 10px;
  }
}

/* === RECIPE CARD RESPONSIVE === */
@media (max-width: 575.98px) {
  .recipe-card .card-title {
    font-size: 1rem;
  }
  
  .recipe-card .card-text {
    font-size: 0.95rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .recipe-card .card-title {
    font-size: 1.21rem;
  }
  
  .recipe-card .card-text {
    font-size: 0.96rem;
  }
}

/* === INGREDIENT LIST RESPONSIVE === */
@media (max-width: 575.98px) {
  .ingredient-list {
    padding: 0.8rem;
  }
  
  .ingredient-list li {
    font-size: 0.93rem;
  }
}

/* === ANIMATIONS RESPONSIVE === */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .voice-indicator {
    animation: none;
  }
  
  .fade-in,
  .slide-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .card:hover,
  .service-item:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* === PRINT STYLES === */
@media print {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .btn-primary,
  .btn-secondary {
    display: none;
  }
  
  .navbar {
    display: none;
  }
  
  .footer {
    page-break-inside: avoid;
  }
  
  .card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .service-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .testimonial-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .faq-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .contact-form {
    display: none;
  }
  
  .voice-indicator {
    display: none;
  }
  
  * {
    color: #000 !important;
    background: transparent !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
} 

.hero-content {
    padding-top: 175px;
}