/* Responsive Design */
@media (max-width: 768px) {
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .navbar {
    padding: 1rem 0;
    min-height: 70px;
  }

  .logo {
    font-size: 1.8rem;
  }
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
  }

  /* Mobile menu removed - using JavaScript-based menu */

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Mobile menu styles removed - using JavaScript-based menu */

  /* Touch optimization */
  .cta-button,
  .insta-button,
  .service-card,
  .review-card,
  .info-card {
    min-height: 44px; /* Minimum touch target size */
  }

  .cta-button,
  .insta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 44px;
  }

  /* Improved scrolling performance */
  .hero,
  .services,
  .about,
  .reviews,
  .instagram,
  .contact {
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce animations on mobile for performance */
  .service-card:hover {
    transform: none;
  }

  .service-card:hover .service-image img {
    transform: none;
  }

  /* Better text readability */
  .hero-content h1 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .hero-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  /* Improved spacing */
  .container {
    padding: 0 16px;
  }

  /* Service cards mobile optimization */
  .service-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
  }

  .service-info {
    padding: 1.5rem;
  }

  .service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .service-info p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Instagram photos tablet/mobile grid */
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    max-height: none;
  }

  /* Disable hover effects on mobile */
  .insta-photo:hover {
    transform: none;
  }

  .insta-overlay {
    display: none; /* Remove overlay on mobile */
  }

  /* Contact section mobile */
  .contact {
    padding: 60px 0;
  }

  .contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  /* Footer mobile */
  footer {
    text-align: center;
  }

  footer .container {
    flex-direction: column;
    gap: 1rem;
  }

  /* Scroll progress bar mobile */
  #scroll-progress {
    height: 2px;
  }

  .hero {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 30px;
  }

  .hero-subtitle::before {
    left: -45px;
  }

  .hero-subtitle::after {
    right: -45px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .hero-content {
    padding-top: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-button {
    padding: 16px 35px;
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  .scroll-text {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .hero-content .btn {
    margin-top: 3rem;
  }

  .about-content {
    margin: 0 1rem;
    padding: 3rem 2rem;
    border-radius: 20px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-card {
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1.5rem;
  }

  .service-background {
    height: 180px;
  }

  .service-content h3 {
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 300;
  }

  .service-icon {
    font-size: 1.5rem;
  }

  .service-button {
    width: 35px;
    height: 35px;
    bottom: 12px;
    right: 12px;
  }

  .service-button span {
    font-size: 20px;
  }

  footer .container {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content {
    width: 98%;
    margin: 5% auto;
    max-height: 95vh;
  }

  .modal-image {
    height: 200px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-info h4 {
    font-size: 1.1rem;
  }

  .close {
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  /* Reviews Section Mobile */
  .reviews h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .reviews-slider {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .reviews-track {
    gap: 0;
  }

  .review-card {
    padding: 1.5rem;
    border-radius: 15px;
    min-height: 250px;
    flex: 0 0 100%;
  }

  .review-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .slider-nav {
    display: none; /* 모바일에서 화살표 숨김 */
  }

  .slider-dots {
    margin-top: 20px;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  /* Instagram Section Mobile */
  .instagram h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .insta-photo {
    border-radius: 10px;
  }

  .insta-overlay span {
    font-size: 1.5rem;
  }

  .insta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 20px;
  }

  .hero-subtitle::before {
    left: -35px;
  }

  .hero-subtitle::after {
    right: -35px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    padding: 0 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .hero-content {
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: 25px;
  }

  .scroll-text {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .scroll-mouse {
    width: 20px;
    height: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1rem;
  }

  .service-image {
    height: 180px;
  }

  .service-info h3 {
    font-size: 1.2rem;
  }

  .service-info p {
    font-size: 0.9rem;
  }

  .about-content {
    margin: 0 0.5rem;
    padding: 2rem 1.5rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .reviews h2,
  .instagram h2,
  .contact h2 {
    font-size: 1.6rem;
  }

  .review-card {
    padding: 1.2rem;
    min-height: 220px;
    flex: 0 0 100%;
  }

  .review-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .review-author h4 {
    font-size: 1rem;
  }

  .slider-nav {
    display: none; /* 작은 화면에서도 화살표 숨김 */
  }

  .dot {
    width: 8px;
    height: 8px;
  }

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

  .info-card {
    padding: 1.5rem 1rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
  }

  .info-card p {
    font-size: 0.9rem;
  }

  .cta-button,
  .insta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* Improved mobile spacing */
  .container {
    padding: 0 12px;
  }

  .services,
  .about,
  .reviews,
  .instagram,
  .contact {
    padding: 50px 0;
  }

  /* Service Modal Mobile */
  .service-modal-content {
    width: 95%;
    margin: 2% auto;
    max-height: 95vh;
  }

  .service-modal-header {
    height: 200px;
  }

  .service-modal-title h2 {
    font-size: 1.8rem;
  }

  .service-modal-body {
    padding: 1.5rem;
  }

  .detail-section {
    margin-bottom: 1.5rem;
  }

  .detail-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .detail-section p {
    margin-bottom: 1rem;
  }

  .pricing-info {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem;
  }

  .modal-book-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .modal-cta {
    padding-top: 0.8rem;
    margin-bottom: 0;
  }
}
