/* Smart Wardrobe Organizer App - Responsive Styles */

/* Tablet Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-brand {
    font-size: 1.05rem;
  }
  
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-decorative-1 {
    width: 150px;
    height: 150px;
    opacity: 0.08;
  }
  
  .hero-decorative-2 {
    width: 120px;
    height: 120px;
    opacity: 0.08;
  }
  
  .about-feature {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .price-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 75vh;
    text-align: center;
  }
  
  .about-feature {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .about-feature i {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-member {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .case-study-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .coreinfo-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .blog-post {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .faq-item {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
  }
  
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  
  h4 {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .about-feature {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .about-feature i {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .feature-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .feature-item i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .price-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.25rem;
  }
  
  .price-amount {
    font-size: 1.75rem;
  }
  
  .price-features {
    margin: 1rem 0;
  }
  
  .price-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
  
  .team-member {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
  }
  
  .review-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .case-study-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .process-step {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .process-step::before {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    top: -12px;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-left-width: 3px;
  }
  
  .career-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .blog-post {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .faq-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
  }
  
  .faq-answer {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer p,
  .footer a {
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .navbar-brand {
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.35rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.85rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .hero-section {
    min-height: 65vh;
    padding: 1.5rem 0;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-item,
  .process-step,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-post,
  .faq-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .about-feature i {
    font-size: 2rem;
  }
  
  .feature-item i {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .process-step::before {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    top: -11px;
  }
  
  .contact-form {
    padding: 1.25rem 0.75rem;
  }
  
  .gallery-grid {
    gap: 0.4rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .navbar-collapse {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .about-feature:hover,
  .service-card:hover,
  .team-member:hover,
  .blog-post:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item img:hover {
    transform: none;
  }
  
  /* Larger touch targets */
  .navbar-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .btn-primary {
    min-height: 44px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .gallery-section {
    display: none !important;
  }
  
  .hero-section,
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  h1, h2, h3, h4 {
    color: #000 !important;
  }
  
  p {
    color: #333 !important;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

.hero-section h1 {
    padding-top: 175px;
}