/* Mobile Responsive Styles */

/* General responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    overflow-x: hidden;
  }
  
  main.container {
    margin: 0;
  }
  
  /* Adjust headings for mobile */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

/* Navigation */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  
  .header-container .logo {
    margin: 1rem 0;
  }

  .header-container .logo img {
    max-width: 30vw;
  }

  .main-nav {
    margin: 0;
    padding: 1rem;
  }
  
  .site-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
  }
  
  .nav-links li a {
    padding: 8px;
    font-size: 0.9rem;
  }
}

/* Hero Section */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }

  .hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Artist Statement */
@media (max-width: 768px) {
  .artist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .artist-title {
    font-size: 1.8rem;
  }

  .artist-statement {
    align-items: center;
    text-align: center;
    padding: 1rem 0;
  }

  .artist-statement-text {
    max-width: fit-content;
    margin: 1rem 2rem;
  }

  /* Reorder elements for mobile - image first, then text */
  .artist-right {
    order: -1; /* Display image before text */
  }
  
  .artist-left {
    order: 1;
    display:grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .artist-left .btn-read-more {
    justify-self: center;
    background-color: unset;
    border: none;
    box-shadow: none;
  }

  .artist-left .btn-discover-call {
    justify-self: center;
    width: 50vw
  }

  .artist-right img {
    width: 100%;
  }
}

/* View My Work Section */
@media (max-width: 768px) {
  .view-my-work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
    grid-auto-rows: unset;
  }
  
  .artist-card-section-title {
    order: -1; /* Place title at the top on mobile */
    margin: 1rem 0;
  }
  
  .artist-card-section-title h1 {
    font-size: 1.8rem;
  }
}

/* Testimonials Section */
@media (max-width: 768px) {
  .testimonial-carousel {
    flex-direction: column;
    position: relative;
    overflow: hidden;
    touch-action: pan-x;
    margin: 0 auto;
  }
  
  .testimonial-container {
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    touch-action: pan-x;
  }
  
  .testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
  }

  .testimonial-author-image img {
    width: 20%;
  }
  
  .testimonial-active {
    opacity: 1;
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }
  
  .testimonial-nav {
    display: none;
  }
  
  .testimonial-author {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .testimonial-text {
    margin-bottom: 0.5rem;
  }
}

/* Contact Form */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 1rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group-half, .form-group {
    grid-column: 1;
  }
  
  .form-submit {
    width: 100%;
  }
  
  .form-submit .btn-discover-call {
    width: 100%;
  }
}

/* Follow Me Section */
@media (max-width: 768px) {
  .follow-me-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Image Ribbon */
@media (max-width: 768px) {
  .ribbon-container {
    height: 120px;
    flex-wrap: wrap;
  }
  
  .ribbon-image {
    flex: 1 0 33.333%; /* Three images per row on mobile */
  }
}

/* Footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}
