/* Responsive Design - Mobile First */

/* Tablet (768px and up) */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 16px;
  }

  .container {
    max-width: 750px;
    padding: 0 24px;
  }

  /* Navigation */
  .main-nav {
    display: block !important;
    margin-left: 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
  }

  /* Hero Section */
  .hero-section {
    height: 500px;
  }

  .hero-title {
    font-size: 3rem;
  }

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

  /* Page Header */
  .page-header {
    height: 350px;
  }

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

  /* Grids */
  .pathways-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .routes-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .time-blocks {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .info-boxes {
    grid-template-columns: 1fr 1fr;
  }

  .rhythm-blocks {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  /* Two Column Layouts */
  .two-column {
    grid-template-columns: 1fr 1fr;
  }

  .route-content {
    grid-template-columns: 1fr 1fr;
  }

  .time-content {
    grid-template-columns: 1fr 1fr;
  }

  .space-content {
    grid-template-columns: 1fr 1fr;
  }

  .atmosphere-content {
    grid-template-columns: 1fr 1fr;
  }

  .structure-content {
    grid-template-columns: 1fr 1fr;
  }

  .ship-closing {
    grid-template-columns: 1fr 1fr;
  }

  .panoramic-content {
    grid-template-columns: 1fr 1fr;
  }

  /* Form */
  .contact-form {
    max-width: 600px;
    margin: 2rem auto;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Header */
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex-shrink: 0;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  body {
    font-size: 16px;
  }

  .container {
    max-width: 1000px;
    padding: 0 32px;
  }

  /* Hero Section */
  .hero-section {
    height: 600px;
    margin-bottom: 4rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

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

  /* Page Header */
  .page-header {
    height: 400px;
    margin-bottom: 3rem;
  }

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

  /* Three Column Grids */
  .pathways-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .material-block {
    min-height: 180px;
  }

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

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

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

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

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

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

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Header Navigation */
  .main-nav {
    flex-grow: 1;
    display: block;
  }

  .nav-list {
    gap: 2rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    padding: 1rem 0;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.2rem;
  }

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

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

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

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Large Screens (1400px and up) */
@media (min-width: 1400px) {
  h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

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

  .hero-section {
    height: 650px;
  }

  .hero-title {
    font-size: 4rem;
  }

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

  .page-header {
    height: 450px;
  }

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

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  body {
    font-size: 14px;
  }

  p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  /* Header */
  .header-container {
    padding: 0.75rem 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  /* Navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    list-style: none;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-section {
    height: 300px;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

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

  .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  /* Page Header */
  .page-header {
    height: 250px;
    margin-bottom: 2rem;
  }

  .page-header-content {
    padding: 2rem 16px;
  }

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

  .page-header-content p {
    font-size: 1rem;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Grids */
  .pathways-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .routes-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .deck-levels {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .time-blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

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

  .rhythm-blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .specs-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Two Column to Single Column */
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .route-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .time-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .space-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .atmosphere-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .structure-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ship-closing {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .panoramic-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Images */
  .concept-image,
  .route-image,
  .time-image,
  .space-image-left,
  .space-image-right,
  .atmosphere-image-full,
  .structure-image-right,
  .closing-image,
  .pathway-image,
  .space-preview img,
  .hero-image,
  .page-header-image {
    height: 250px;
  }

  /* Forms */
  .contact-form {
    padding: 1.5rem;
    max-width: 100%;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-input,
  .form-textarea {
    padding: 0.75rem;
    font-size: 16px;
  }

  .submit-button {
    width: 100%;
    padding: 12px;
  }

  /* Cards */
  .pathway-card {
    margin-bottom: 1rem;
  }

  .space-preview {
    padding: 1rem;
  }

  .route-item {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 16px;
  }

  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .footer-section p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 0.75rem 16px;
    font-size: 0.8rem;
  }

  /* Spacing */
  .mt-1 { margin-top: 0.25rem; }
  .mt-2 { margin-top: 0.5rem; }
  .mt-3 { margin-top: 1rem; }
  .mt-4 { margin-top: 1.5rem; }

  .mb-1 { margin-bottom: 0.25rem; }
  .mb-2 { margin-bottom: 0.5rem; }
  .mb-3 { margin-bottom: 1rem; }
  .mb-4 { margin-bottom: 1.5rem; }

  /* Typography */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Sections */
  .maritime-rhythm,
  .emotional-callout,
  .editorial-transition,
  .concept-closing {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .maritime-rhythm {
    margin: 1.5rem 0;
  }

  /* Policy */
  .policy-container {
    padding: 1.5rem 16px;
  }

  .policy-page h1 {
    font-size: 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.2rem;
  }

  /* Hide non-essential elements on mobile */
  .hide-mobile {
    display: none;
  }

  /* Flex utilities */
  .flex-column {
    flex-direction: column;
  }
}

/* Extra Small Screens (360px and up) */
@media (max-width: 360px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .hero-section {
    height: 250px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

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

  .page-header {
    height: 200px;
  }

  .container {
    padding: 0 12px;
  }

  .cta-button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Form adjustments */
  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  /* Reduce spacing */
  .pathways-grid,
  .spaces-grid,
  .routes-list {
    gap: 1rem;
  }
}
