/* Meble Eleganckie - Style mobilne dla Cyberpunk Neon */

/* Tablet i mniejsze ekrany */
@media screen and (max-width: 1023px) {
  
  /* Hero na tabletach */
  .hero .title {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  /* Navbar na tabletach */
  .navbar-menu {
    background: var(--dark-card);
    border-top: 1px solid var(--neon-cyan);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
  }
  
  .navbar-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  }
  
  /* Product gallery na tabletach */
  .product-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  /* Cards na tabletach */
  .card {
    margin-bottom: 1.5rem;
  }
}

/* Smartfony i małe urządzenia */
@media screen and (max-width: 768px) {
  
  /* Body padding dla mobilnych */
  body {
    font-size: 0.9rem;
  }
  
  /* Grid pattern mniejszy na mobile */
  body::before {
    background-size: 30px 30px;
  }
  
  /* Hero na smartfonach */
  .hero .hero-body {
    padding: 3rem 1rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  /* Navbar mobilny */
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand .navbar-item img {
    max-height: 2.5rem;
  }
  
  .navbar-burger {
    color: var(--neon-cyan);
    width: 3.25rem;
    height: 3.25rem;
  }
  
  .navbar-burger span {
    height: 2px;
    width: 18px;
  }
  
  .navbar-burger:hover {
    background-color: rgba(0, 255, 255, 0.1);
  }
  
  .navbar-menu {
    padding: 0;
    margin-top: 1px;
  }
  
  .navbar-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Headings mobilne */
  h1, .title.is-1 {
    font-size: 2rem;
  }
  
  h2, .title.is-2 {
    font-size: 1.5rem;
  }
  
  h3, .title.is-3 {
    font-size: 1.3rem;
  }
  
  h4, .title.is-4 {
    font-size: 1.1rem;
  }
  
  /* Sekcje mobilne */
  .section {
    padding: 2rem 1rem;
  }
  
  /* Container mobilny */
  .container {
    padding: 0 1rem;
  }
  
  /* Columns na mobile */
  .columns {
    margin: 0 -0.5rem;
  }
  
  .column {
    padding: 0.5rem;
  }
  
  /* Cards mobilne */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .card-header {
    padding: 0.75rem 1rem;
  }
  
  /* Buttons mobilne */
  .button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  
  /* Formularz mobilny */
  .field {
    margin-bottom: 1.5rem;
  }
  
  .label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .input, .textarea {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .textarea {
    min-height: 120px;
  }
  
  /* Contact info mobilne */
  a[href^="tel:"], a[href^="mailto:"] {
    font-size: 1.1rem;
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.05);
  }
  
  /* Product gallery mobilna */
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-item img {
    height: 200px;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .product-info h3 {
    font-size: 1rem;
  }
  
  .product-info p {
    font-size: 0.85rem;
  }
  
  /* Footer mobilny */
  .footer {
    padding: 2rem 1rem 1.5rem;
    text-align: center;
  }
  
  .footer .columns {
    margin: 0;
  }
  
  .footer .column {
    margin-bottom: 1.5rem;
  }
  
  /* Content mobilny */
  .content {
    font-size: 0.9rem;
  }
  
  .content p {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .content ul {
    padding-left: 1.5rem;
  }
  
  /* Social links mobilne */
  .social-link {
    font-size: 1.3rem;
    margin: 0 0.5rem;
    display: inline-block;
    padding: 0.5rem;
  }
  
  /* Table responsive */
  .table-container {
    overflow-x: auto;
  }
  
  /* Breadcrumb mobilny */
  .breadcrumb {
    font-size: 0.8rem;
  }
  
  .breadcrumb ul {
    flex-wrap: wrap;
  }
  
  .breadcrumb li {
    margin-bottom: 0.25rem;
  }
}

/* Bardzo małe ekrany (320px i mniejsze) */
@media screen and (max-width: 320px) {
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 1.5rem 0.75rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .card-content {
    padding: 0.75rem;
  }
  
  .button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .input, .textarea {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
  
  .product-info {
    padding: 0.75rem;
  }
  
  a[href^="tel:"], a[href^="mailto:"] {
    font-size: 1rem;
    padding: 0.4rem;
  }
}

/* Orientacja pozioma na telefonie */
@media screen and (max-width: 768px) and (orientation: landscape) {
  
  .hero .hero-body {
    padding: 2rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 1.5rem 1rem;
  }
  
  .navbar-menu {
    max-height: 300px;
    overflow-y: auto;
  }
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
  
  .button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  a[href^="tel:"], a[href^="mailto:"] {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-link {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Usunięcie hover efektów na urządzeniach dotykowych */
  .card:hover {
    transform: none;
    box-shadow: 0 4px 25px rgba(0, 255, 255, 0.2);
  }
  
  .button:hover {
    transform: none;
  }
  
  .product-item:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.2);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  
  /* Crisper borders and shadows for retina displays */
  .card, .button, .input, .textarea {
    border-width: 0.5px;
  }
  
  .text-shadow, h1, h2, h3, h4, h5, h6 {
    text-shadow: 0 0 5px currentColor;
  }
}

/* Accessibility - prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .neon-flicker {
    animation: none;
  }
  
  .hero .title {
    animation: none;
  }
}

/* Dark mode support (jeśli system używa dark mode) */
@media (prefers-color-scheme: dark) {
  /* Już używamy dark theme jako domyślny */
}

/* Print styles */
@media print {
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .navbar, .footer {
    display: none !important;
  }
  
  .card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
  }
  
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
  }
}