/* Mobile and Desktop Optimization for Oasis Point Presentation */

/* Additional responsive styles for better mobile experience */
@media (max-width: 768px) {
  /* Improve header for mobile */
  .header-container {
    padding: 12px 15px;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  /* Enhance mobile menu */
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
  }
  
  nav.active {
    padding-top: 60px;
  }
  
  nav ul li a {
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
  }
  
  /* Improve hero section for mobile */
  .hero {
    padding: 0 15px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Adjust section padding for mobile */
  section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  /* Improve cards layout for mobile */
  .features-grid, 
  .diff-container, 
  .investment-structure {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card, 
  .diff-item, 
  .investment-card {
    padding: 20px;
  }
  
  /* Adjust financial section for mobile */
  .financial-charts {
    flex-direction: column;
  }
  
  .chart-container {
    margin-bottom: 30px;
    padding: 20px;
  }
  
  .chart {
    height: 250px;
  }
  
  /* Improve contact section for mobile */
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  /* Adjust footer for mobile */
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-col {
    width: 100%;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Adjust hero section for tablets */
  .hero h1 {
    font-size: 2.8rem;
  }
  
  /* Adjust grid layouts for tablets */
  .features-grid, 
  .diff-container, 
  .investment-structure {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Improve financial charts for tablets */
  .financial-charts {
    flex-wrap: wrap;
  }
  
  .chart-container {
    flex: 1 1 45%;
    margin-bottom: 20px;
  }
}

/* Large desktop optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .section-header p {
    font-size: 1.3rem;
  }
  
  .feature-card, 
  .diff-item, 
  .investment-card {
    padding: 40px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
  
  .feature-card:hover,
  .diff-item:hover,
  .investment-card:hover {
    transform: none;
  }
  
  /* Increase tap target sizes */
  nav ul li a,
  .btn,
  .footer-links a {
    padding: 12px;
  }
  
  .social-links a {
    width: 48px;
    height: 48px;
  }
}

/* Print styles for investors who want to print the information */
@media print {
  header, 
  footer,
  .cta,
  .contact-form,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .hero {
    height: auto;
    background: none;
    color: #000;
    padding: 20pt 0;
  }
  
  .hero h1,
  .section-header h2 {
    color: #000;
  }
  
  .chart-container {
    page-break-inside: avoid;
  }
  
  section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }
  
  .financial-table th {
    background-color: #eee;
    color: #000;
  }
  
  /* Add page breaks before major sections */
  #model, #differentiators, #investment, #financial {
    page-break-before: always;
  }
}

/* Accessibility improvements */
:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-color);
  color: white;
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Improve contrast for better readability */
.feature-card, 
.diff-item, 
.investment-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Reduce motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
  }
  
  .feature-card:hover,
  .diff-item:hover,
  .investment-card:hover {
    transform: none;
  }
}
