/* Mobile Responsive Styles for Workstation Website */

/* Base responsive utilities */
@media screen and (max-width: 768px) {
  /* Hide desktop-only content */
  .is-hidden-mobile {
    display: none !important;
  }

  /* Show mobile-only content */
  .is-visible-mobile {
    display: block !important;
  }
  /* Typography adjustments for mobile */
  .cta-header {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .cta-text {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Large text adjustments */
  .font-single-day {
    font-size: 2em !important;
  }
  
  .title.is-size-1 {
    font-size: 2rem !important;
  }
  
  .font-serrat {
    font-size: 2rem !important;
  }
  
  /* Hero section adjustments */
  .hero {
    padding: 2rem 0 !important;
  }
  
  .hero .title {
    font-size: 1.8rem !important;
  }
  
  /* Container padding adjustments */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Brand logos responsive grid */
  .brand-logos {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .brand-logo {
    width: 80px !important;
    height: 80px !important;
  }
  
  /* Column adjustments for mobile */
  .columns {
    margin: 0 !important;
  }
  
  .column {
    padding: 0.5rem !important;
  }
  
  /* Mobile-specific spacing */
  .mt-6 {
    margin-top: 2rem !important;
  }
  
  .mb-6 {
    margin-bottom: 2rem !important;
  }
  
  .pb-6 {
    padding-bottom: 2rem !important;
  }
  
  /* Button adjustments */
  .button.large {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
  }
  
  /* Image responsiveness */
  .image img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Navigation adjustments for mobile */
  .navbar-brand {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }

  .navbar-brand .navbar-item:first-child {
    padding: 0.5rem !important;
  }

  /* Hide some navbar items on mobile to prevent overcrowding */
  .navbar-brand .navbar-item:not(:first-child):not(.navbar-burger) {
    display: none !important;
  }

  .navbar-burger {
    display: block !important;
  }

  .navbar-menu {
    display: none !important;
  }

  .navbar-menu.is-active {
    display: block !important;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    background-color: white !important;
  }
  
  /* Footer adjustments */
  .footer .columns {
    text-align: center !important;
  }
  
  .footer .column {
    margin-bottom: 1rem !important;
  }
  
  /* Features page specific adjustments */
  .features-grid .columns {
    flex-direction: column !important;
  }

  .features-grid .column {
    margin-bottom: 2rem !important;
  }

  .features-grid img {
    width: 30% !important;
    max-width: 120px !important;
  }

  /* Features page styling for mobile */
  .feature-section .columns {
    flex-direction: column !important;
  }

  .feature-section .column {
    margin-bottom: 2rem !important;
  }

  .feature-content {
    text-align: center !important;
    padding: 1rem !important;
  }

  .feature-image {
    margin-bottom: 2rem !important;
  }

  .feature-highlights {
    text-align: left !important;
  }

  .highlight-item {
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .highlight-item .icon {
    margin-right: 0.75rem !important;
    flex-shrink: 0 !important;
  }

  /* Form adjustments */
  .field.is-grouped {
    flex-direction: column !important;
  }

  .field.is-grouped .control {
    margin-bottom: 0.5rem !important;
  }

  .field.is-grouped .control.is-expanded {
    width: 100% !important;
  }
  
  /* Cookie consent adjustments */
  .hero.is-small.is-link {
    position: fixed !important;
    bottom: 1rem !important;
    right: 1rem !important;
    left: 1rem !important;
    width: auto !important;
    z-index: 1000 !important;
  }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .cta-header {
    font-size: 3rem !important;
  }
  
  .font-serrat {
    font-size: 2.5rem !important;
  }
  
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .button {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  
  .navbar-item {
    min-height: 44px !important;
  }
  
  .cursor-pointer {
    cursor: default !important;
  }
}

/* High DPI display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .image img {
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
  }
}

/* Landscape mobile adjustments */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 1rem 0 !important;
  }
  
  .section {
    padding: 1.5rem 0 !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero.is-small.is-link,
  .button {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
  
  .section {
    padding: 1rem 0 !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .hero.is-small.is-link {
    background-color: #363636 !important;
    color: #f5f5f5 !important;
  }
}

/* Remove blue outlines and focus rings */
.button:focus,
.navbar-item:focus,
.input:focus,
.textarea:focus,
.select select:focus,
.checkbox:focus,
.radio:focus,
a:focus,
button:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit !important;
}

/* Remove default browser focus styles */
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove focus styles from form elements */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #dbdbdb !important;
}

/* Features Page Styling */
.feature-section {
  padding: 4rem 1.5rem;
}

.feature-content {
  padding: 2rem 0;
}

.feature-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.feature-highlights {
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.highlight-item .icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-image img:hover {
  transform: translateY(-4px);
}

/* Button styling improvements */
.button.is-medium {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.button.is-medium:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section spacing */
.feature-section:nth-child(even) {
  background-color: #fafafa;
}

/* Desktop specific styling */
@media screen and (min-width: 769px) {
  .feature-section {
    padding: 6rem 1.5rem;
  }

  .feature-content {
    padding: 2rem;
    text-align: left;
  }

  .highlight-item {
    font-size: 1.1rem;
  }

  .feature-image {
    padding: 2rem;
  }
}

/* Mobile menu toggle functionality */
.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Desktop navbar - ensure items stay inline */
@media screen and (min-width: 769px) {
  .navbar-brand {
    display: flex !important;
    align-items: center !important;
  }

  .navbar-brand .navbar-item {
    display: flex !important;
  }

  .navbar-brand .navbar-item:first-child img {
    width: auto !important;
  }

  .navbar-burger {
    display: none !important;
  }

  .navbar-menu {
    display: flex !important;
  }
}

/* Improved mobile navigation */
@media screen and (max-width: 768px) {
  .navbar-menu {
    background-color: white;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    padding: 0.5rem 0;
  }

  .navbar-menu .navbar-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    display: block !important;
  }

  .navbar-menu .navbar-item:last-child {
    border-bottom: none;
  }

  .navbar-menu .navbar-start {
    display: block !important;
  }

  .navbar-menu .navbar-end {
    display: block !important;
  }
}
