/* ============================================
   Sugar Daddy Kolkata - Responsive Stylesheet
   ============================================ */

/* ---- Large Desktop ---- */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ---- Tablet Landscape ---- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image img {
    height: 400px;
  }

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

  .content-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .guide-card {
    grid-template-columns: 160px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- Tablet Portrait ---- */
@media (max-width: 768px) {
  .container {
    padding-left: calc(16px + env(safe-area-inset-left));
    padding-right: calc(16px + env(safe-area-inset-right));
  }

  .container-narrow {
    padding-left: calc(16px + env(safe-area-inset-left));
    padding-right: calc(16px + env(safe-area-inset-right));
  }

  .nav-desktop {
    display: none;
  }

  .header-cta .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-content .hero-image {
    margin: 28px auto;
    width: 100%;
    max-width: 560px;
  }

  .hero-image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .hero-stat-value {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

  .profile-card {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-image {
    height: auto;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .profile-image img {
    object-position: 60% 25%;
  }

  .profile-info {
    padding: 16px;
    width: 100%;
    text-align: center;
  }

  .profile-location {
    justify-content: center;
  }

  .profile-tags {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-image {
    height: 200px;
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-header {
    padding: 140px 0 60px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .content-image img {
    min-height: 280px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .container {
    padding-left: calc(16px + env(safe-area-inset-left));
    padding-right: calc(16px + env(safe-area-inset-right));
  }

  .container-narrow {
    padding-left: calc(16px + env(safe-area-inset-left));
    padding-right: calc(16px + env(safe-area-inset-right));
  }

  .profile-image {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }

  .header-inner {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero {
    padding: 90px 0 40px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-content .hero-image {
    margin: 24px auto;
  }

  .hero-image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat {
    text-align: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    background: transparent;
    border: 0;
    justify-self: center;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-image img {
    object-position: 60% 25%;
  }

  .profile-info {
    padding: 14px;
    width: 100%;
    text-align: center;
  }

  .profile-image {
    height: 300px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .story-card {
    padding: 32px 24px;
  }

  .blog-image {
    height: 180px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 18px;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .cta-section {
    padding: 80px 0;
  }

  .guide-content {
    padding: 20px;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer-grid {
    margin-bottom: 40px;
  }

  .footer-links h4 {
    margin-bottom: 16px;
  }

  .footer-bottom {
    padding-top: 30px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* ---- Extra Small Mobile ---- */
@media (max-width: 360px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 50px 0;
  }

  .profile-image {
    height: 260px;
  }
}

/* ---- Hamburger Menu Animation ---- */
.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(5px, -5px);
}
