/* ========================================
   MOBILE STYLES - Studio Kefi
   Mobile-first responsive design
======================================== */

/* ========================================
   TABLET (768px and below)
======================================== */

@media (max-width: 768px) {
  body {
    padding-top: 0 !important;
  }

  /* Adjust if you have fixed navbar */
  .announcement-bar ~ * {
    margin-top: 0;
  }
  
  /* NAVBAR */
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .logo img {
    height: 50px;
  }

  /* NAVBAR */
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    height: 50px;
  }

  /* Show Hamburger */
  .hamburger {
    display: flex !important;
  }

  /* Mobile Menu */
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    display: block;
    width: 100%;
    margin-bottom: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    margin-left: 0 !important;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
    .nav-dropdown > a::after {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active > a::after {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 12px 0 12px 30px !important; /* Add left padding */
    font-size: 16px !important;
    border-bottom: 1px solid #f5f5f5;
    background: #fafafa;
    margin-left: 0 !important;
  }

  .dropdown-menu a:hover {
    background: #f0f0f0;
  }
  

  /* Main dropdown toggle link */
  .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Overlay when menu is open */
  body::before {
    content: "";
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  body.menu-open::before {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* HERO */
  .hero {
    height: 70svh;
    width: auto;
    padding: 60px 20px;
    background: url("images/hero_mobile.JPEG") center/cover no-repeat;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-logo img {
    max-width: 240px;
  }

  /* COLLECTIONS GRID */
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 30px 15px;
  }

  .card img {
    height: 280px;
  }

  /* BLOUSE GRID */
  .blouse-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 20px;
  }

  /* SECTIONS */
  .collections,
  .section,
  .intro,
  .testimonials,
  .visit-studio,
  .contact-inquiry,
  .faq-section {
    padding: 60px 20px;
  }

  .script-heading {
    font-size: 32px;
  }

  /* FILTERS */
  .filters {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .filters select {
    width: 100%;
  }

  /* MODAL */
  .modal-content {
    width: 95%;
    padding: 20px;
  }

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

  .modal-nav-btn {
    font-size: 28px;
    padding: 8px 12px;
  }
  
  .prev-btn {
    left: 5px;
  }
  
  .next-btn {
    right: 5px;
  }

  /* FOUNDERS */
  .founders {
    padding: 60px 20px;
  }

  .founders-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founders-image img {
    width: 100%;
  }

  /* VISIT STUDIO */
  .visit-content {
    flex-direction: column;
    text-align: center;
  }

  .visit-text {
    text-align: center;
  }

  .visit-map iframe {
    height: 260px;
  }

  /* PRESS FEATURE */
  .press-content {
    flex-direction: column;
  }

  .press-text {
    text-align: center;
  }

  /* CTA SECTIONS */
  .cta,
  .collections-cta {
    padding: 60px 20px;
  }

  /* BLOUSE HERO */
  .blouse-hero h1 {
    font-size: 34px;
  }

  /* CUSTOM BLOUSE JOURNEY */
  .journey-step,
  .journey-step.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .journey-step.left .step-content,
  .journey-step.right .step-content {
    text-align: center;
    padding: 0;
  }

  .step-content h3 {
    font-size: 26px;
  }

  .step-content p,
  .journey-step.left .step-content p {
    margin: 0 auto;
  }

  .step-image img {
    margin: 0 auto !important;
    max-width: 100%;
  }

  /* DESIGN JOURNEY */
  .design-journey {
    padding: 0 20px;
  }

  .design-journey::before {
    left: 30px;
  }

  .journey-step {
    flex-direction: column !important;
    gap: 30px;
    padding-left: 60px;
  }

  .step-number {
    left: 30px;
    transform: translateX(0);
  }

  .journey-step:hover .step-number {
    transform: translateX(0) scale(1.15);
  }

  .step-image {
    width: 100%;
  }

  .step-image img {
    margin: 0 !important;
    max-width: 100%;
  }

  .step-content {
    text-align: left !important;
    padding: 0 !important;
  }

  .step-content p {
    margin: 0 !important;
    max-width: 100%;
  }

  /* EXHIBITION TIMELINE */
  .exhibition-timeline::before {
    left: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }

  .timeline-item::after {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-year span {
    font-size: 22px;
    padding: 6px 18px;
  }

  /* FOOTER */
  .site-footer {
    padding: 60px 20px 20px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-brand {
    margin-top: -60px;
  }

  .footer-brand img {
    width: 90%;
  }

/* ========================================
   SMALL MOBILE (480px and below)
======================================== */

@media (max-width: 480px) {
  
  /* NAVBAR */
  body {
    padding-top: 70px;
  }

  .navbar {
    padding: 12px 15px;
  }

  .logo img {
    height: 45px;
  }

  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
    width: 250px;
  }

  body::before {
    top: 70px;
    height: calc(100vh - 70px);
  }

  /* HERO */
  .hero h1 {
    font-size: 28px;
  }

  /* TYPOGRAPHY */
  .script-heading {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  /* COLLECTIONS GRID - Single column */
  .collection-grid,
  .blouse-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card img {
    height: 240px;
  }


  /* BUTTONS */
  .btn-accent,
  .cta-button,
  .cta-btn {
    padding: 12px 24px;
    font-size: 12px;
  }

  /* SECTIONS */
  .intro {
    padding: 20px 15px;
    font-size: 16px;
  }

  /* TESTIMONIALS */
  .testimonial-grid {
    gap: 20px;
  }

  /* FOOTER */
  .footer-container {
    text-align: center;
    gap: 25px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col ul {
    text-align: center;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-brand img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-strip a {
    font-size: 18px;
  }


  /* MODAL */
  .modal-content img {
    max-height: 50vh;
  }

  /* CTA */
  .cta,
  .collections-cta {
    padding: 50px 15px;
  }

  /* STEP CONTENT */
  .step-content h3 {
    font-size: 22px;
  }

  .step-label {
    font-size: 10px;
  }

  /* TIMELINE */
  .timeline-content {
    padding: 18px 20px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }
}

/* ========================================
   LANDSCAPE MOBILE (height < 500px)
======================================== */

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 400px;
  }

  .nav-links {
    height: calc(100vh - 60px);
    padding: 20px;
  }
}
}