/* Mobile Responsive Styles */

/* Tablet Styles */
@media only screen and (max-width: 992px) {
  .navbar .nav-wrapper {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .content-page h1 {
    font-size: 2rem;
  }
  
  .content-page h2 {
    font-size: 1.7rem;
  }
  
  .content-page h3 {
    font-size: 1.3rem;
  }
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
  .navbar .nav-wrapper {
    padding: 0 0.5rem;
  }
  
  .navbar .brand-logo {
    font-size: 1.5rem;
  }
  
  .navbar .brand-logo img {
    height: 32px;
  }
  
  .hero {
    height: 80vh;
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-content .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .section-title p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card .card-image {
    height: 200px;
  }
  
  .card .card-content {
    padding: 1rem;
  }
  
  .card .card-title {
    font-size: 1.1rem;
  }
  
  .card .card-action {
    padding: 0.8rem 1rem;
  }
  
  .form-container {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .calculator {
    padding: 1.5rem;
    margin: 1rem 0.5rem;
  }
  
  .calculator-result {
    padding: 1.5rem;
  }
  
  .calculator-result h3 {
    font-size: 1.5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .gallery-overlay {
    padding: 1rem;
  }
  
  .gallery-overlay h3 {
    font-size: 1rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin: 0 0.5rem 1.5rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col {
    margin-bottom: 1.5rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .content-page {
    padding: 1rem;
  }
  
  .content-page h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .content-page h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
  }
  
  .content-page h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
  }
  
  .content-page p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .content-page ul {
    margin-left: 1.5rem;
  }
  
  .breadcrumbs {
    padding: 0.5rem 0;
  }
  
  .breadcrumbs .container {
    padding: 0 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .thank-you-container {
    padding: 2rem 1rem;
  }
  
  .thank-you-container h1 {
    font-size: 2rem;
  }
  
  .thank-you-container .icon {
    font-size: 3rem;
  }
  
  .thank-you-container p {
    font-size: 1rem;
  }
  
  /* Sidenav Styles */
  .sidenav {
    background: var(--white);
  }
  
  .sidenav li > a {
    color: var(--text-color) !important;
    font-weight: 500;
  }
  
  .sidenav li > a:hover {
    background: var(--primary-color);
    color: var(--white) !important;
  }
  
  /* Mobile Form Adjustments */
  .input-field {
    margin-bottom: 1.5rem;
  }
  
  .input-field input,
  .input-field textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .input-field label {
    font-size: 0.9rem;
  }
  
  .gdpr-consent {
    margin: 1.5rem 0;
  }
  
  .gdpr-consent label {
    font-size: 0.85rem;
  }
  
  /* Mobile Navigation Improvements */
  .navbar .nav-wrapper .brand-logo {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .navbar .nav-wrapper .sidenav-trigger {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Mobile Card Improvements */
  .row .col.s12 {
    padding: 0 0.5rem;
  }
  
  .collection {
    margin: 0 0.5rem;
  }
  
  .collection .collection-item {
    padding: 1rem;
  }
  
  /* Mobile Table Improvements */
  .responsive-table {
    overflow-x: auto;
  }
  
  .responsive-table table {
    min-width: 600px;
  }
  
  /* Mobile Utility Classes */
  .hide-on-small-only {
    display: none !important;
  }
  
  .show-on-small {
    display: block !important;
  }
  
  .center-on-small {
    text-align: center !important;
  }
  
  .full-width-mobile {
    width: 100% !important;
  }
  
  .no-padding-mobile {
    padding: 0 !important;
  }
  
  .small-margin-mobile {
    margin: 0.5rem !important;
  }
}

/* Extra Small Mobile Styles */
@media only screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .content-page h1 {
    font-size: 1.6rem;
  }
  
  .content-page h2 {
    font-size: 1.3rem;
  }
  
  .content-page h3 {
    font-size: 1.1rem;
  }
  
  .card .card-content {
    padding: 0.8rem;
  }
  
  .form-container {
    padding: 1rem;
  }
  
  .calculator {
    padding: 1rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .thank-you-container h1 {
    font-size: 1.8rem;
  }
  
  .thank-you-container .icon {
    font-size: 2.5rem;
  }
}

/* Landscape Mobile Styles */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 100vh;
    padding: 0 2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-content .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  
  .card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  
  .gallery-item:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
  }
  
  .social-icons a:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .sidenav-trigger {
    display: none !important;
  }
  
  .hero {
    height: auto;
    margin-top: 0;
    background: none;
    color: var(--text-color);
  }
  
  .content-page {
    margin-top: 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .page-break {
    page-break-before: always;
  }
}