/* Responsive Design for Lotus Tattoo Studio Theme */

/* Base responsive utilities */
.container-fluid {
  width: 100%;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive typography */
.responsive-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.responsive-title {
  font-size: clamp(2rem, 5vw, 4rem);
}

.responsive-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Spacing utilities */
.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.p-4 { padding: 4rem; }

.m-0 { margin: 0; }
.m-1 { margin: 1rem; }
.m-2 { margin: 2rem; }
.m-3 { margin: 3rem; }
.m-4 { margin: 4rem; }

/* Responsive breakpoints */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .artists-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Screens (1200px to 1399px) */
@media (max-width: 1399px) {
  .container {
    max-width: 1200px;
  }
  
  .nav-container {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .map-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .map-wrapper {
    order: -1;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Screens (768px to 991px) */
@media (max-width: 991px) {
  .main-navigation {
    padding: 1rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .nav-left,
  .nav-right {
    flex: none;
    width: 100%;
    justify-content: center;
  }
  
  .menu-left ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .menu-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .hero-section {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
  
  .layout-content {
    padding: 3rem 1.5rem;
  }
  
  .content-area {
    padding: 2rem;
  }
  
  .artists-section,
  .reviews-section,
  .map-section {
    padding: 4rem 0;
  }
  
  .artists-title,
  .reviews-title,
  .map-title {
    font-size: 2.5rem;
  }
  
  .artists-subtitle,
  .reviews-subtitle,
  .map-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }
  
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .artist-card {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .artist-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .artist-stats {
    gap: 1rem;
  }
  
  .review-card {
    padding: 3rem 2rem;
    margin-bottom: 2rem;
  }
  
  .review-text {
    font-size: 1.3rem;
  }
  
  .review-author-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .author-details {
    text-align: center;
  }
  
  .map-info {
    padding: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .map-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .map-footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .map-disclaimer {
    text-align: center;
    max-width: none;
  }
  
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Extra Small Screens (576px to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  .site-header {
    position: relative;
  }
  
  .main-navigation {
    padding: 0.75rem 1rem;
  }
  
  .nav-container {
    gap: 0.75rem;
  }
  
  .site-name {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .logo-image {
    height: 50px;
  }
  
  .menu-left a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .hero-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .layout-content {
    padding: 2rem 1rem;
  }
  
  .content-area {
    padding: 1.5rem;
    border-radius: 10px;
  }
  
  .artists-section,
  .reviews-section,
  .map-section {
    padding: 3rem 0;
  }
  
  .artists-title,
  .reviews-title,
  .map-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .artists-subtitle,
  .reviews-subtitle,
  .map-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .artist-info {
    padding: 2rem;
  }
  
  .artist-name {
    font-size: 1.5rem;
  }
  
  .artist-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat {
    min-width: 120px;
  }
  
  .review-card {
    padding: 2rem 1.5rem;
  }
  
  .review-text {
    font-size: 1.2rem;
  }
  
  .quote-icon {
    font-size: 3rem;
  }
  
  .review-rating {
    font-size: 1.8rem;
  }
  
  .author-image,
  .author-avatar {
    width: 60px;
    height: 60px;
  }
  
  .author-avatar {
    font-size: 1.5rem;
  }
  
  .reviews-cta {
    padding: 2rem;
  }
  
  .reviews-cta h3 {
    font-size: 2rem;
  }
  
  .map-info {
    padding: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .map-overlay-info {
    left: 10px;
    right: 10px;
    max-width: none;
    padding: 1rem;
  }
  
  .map-footer {
    padding: 1.5rem;
  }
  
  .social-link {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .block-artist-item {
    flex-direction: column;
  }

  .block-artist-item .views-field-field-artist-photo,
  .block-artist-item .artist-content-wrapper {
    flex: 1 1 100%;
  }

}

/* Mobile Phones (480px and below) */
@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .main-navigation {
    padding: 0.5rem 0.75rem;
  }
  
  .site-name {
    font-size: 1.5rem;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .menu-left ul {
    gap: 0.5rem;
  }
  
  .menu-left a {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-cta {
    gap: 0.75rem;
  }
  
  .layout-content {
    padding: 1.5rem 0.75rem;
  }
  
  .content-area {
    padding: 1rem;
  }
  
  .artists-section,
  .reviews-section,
  .map-section {
    padding: 2rem 0;
  }
  
  .artists-title,
  .reviews-title,
  .map-title {
    font-size: 1.8rem;
  }
  
  .artists-subtitle,
  .reviews-subtitle,
  .map-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .artist-info {
    padding: 1.5rem;
  }
  
  .artist-name {
    font-size: 1.3rem;
  }
  
  .artist-specialty,
  .artist-experience {
    font-size: 0.85rem;
  }
  
  .artist-bio {
    font-size: 0.9rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .review-card {
    padding: 1.5rem 1rem;
  }
  
  .review-text {
    font-size: 1.1rem;
  }
  
  .quote-icon {
    font-size: 2.5rem;
  }
  
  .review-rating {
    font-size: 1.5rem;
  }
  
  .author-image,
  .author-avatar {
    width: 50px;
    height: 50px;
  }
  
  .author-avatar {
    font-size: 1.2rem;
  }
  
  .author-name {
    font-size: 1.1rem;
  }
  
  .review-date {
    font-size: 0.85rem;
  }
  
  .reviews-cta {
    padding: 1.5rem 1rem;
  }
  
  .reviews-cta h3 {
    font-size: 1.8rem;
  }
  
  .reviews-cta p {
    font-size: 1rem;
  }
  
  .map-info {
    padding: 1rem;
  }
  
  .info-content h4 {
    font-size: 1rem;
  }
  
  .info-content p {
    font-size: 0.9rem;
  }
  
  .hours-item {
    padding: 0.5rem 0;
  }
  
  .day,
  .time {
    font-size: 0.9rem;
  }
  
  .feature-item {
    padding: 0.75rem;
  }
  
  .feature-item span {
    font-size: 0.8rem;
  }
  
  .map-footer {
    padding: 1rem;
  }
  
  .social-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .social-link span {
    display: none;
  }
}

/* Print styles */
@media print {
  .site-header,
  .hero-section,
  .map-section,
  .reviews-section {
    display: none;
  }
  
  .layout-content {
    padding: 0;
  }
  
  .content-area {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .artists-section {
    background: white;
    padding: 2rem 0;
  }
  
  .artist-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .site-header {
    background: rgba(0, 0, 0, 0.95);
  }
  
  .btn-outline {
    border-width: 3px;
  }
  
  .artist-card,
  .review-card,
  .map-info {
    border: 2px solid #333;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-video {
    animation: none;
  }
  
  .scroll-arrow {
    animation: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .layout-content {
    background: #1a1a1a;
    color: #fff;
  }
  
  .content-area {
    background: #2c2c2c;
    color: #fff;
  }
  
  .artist-card,
  .map-info {
    background: #2c2c2c;
    color: #fff;
  }
  
  .info-item,
  .hours-list,
  .feature-item {
    background: #3c3c3c;
  }
  
  .map-footer {
    background: #2c2c2c;
    color: #fff;
  }
}

