@media (max-width: 1200px) {
  header {
    padding: 15px 30px;
  }

  nav ul {
    gap: 30px;
    margin-right: 50px;
  }

  .habo-logo {
    margin-left: 50px;
  }

  .hero-title {
    font-size: 5em;
  }

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

  .hero-image-container {
    bottom: -10%;
  }

  .speciality-container {
    gap: 30px;
  }

  .speciality-circle {
    width: 220px;
    height: 220px;
  }

  .speciality-item h3 {
    font-size: 1.6em;
  }

  .content-section-speciality h2 {
    font-size: 3em;
  }
}

@media (max-width: 992px) {
  /* Fix background on mobile devices */
  body,
  .hero-section {
    background-attachment: scroll; /* Changed from fixed - fixes pixelation on iOS */
  }

  /* Header */
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px var(--spacing-md);
    flex-wrap: nowrap;
  }

  .logo {
    margin-left: 0;
    z-index: 1002;
  }

  .habo-logo {
    padding-top: 0;
    height: 80px;
    margin-left: 0;
  }

  header.scrolled .habo-logo {
    height: 50px;
  }

  .header-contact {
    display: none;
  }

  /* Mobile Navigation */
  nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(51, 51, 51, 0.98));
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    animation: slideInFromRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-direction: column;
    padding: 100px 30px 40px;
    z-index: 1000;
  }

  @keyframes slideInFromRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  nav.nav-open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin-right: 0;
  }

  nav ul li {
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    font-size: 1.1em;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }

  nav ul li a:hover,
  nav ul li a.active {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--color-secondary);
    padding-left: 25px;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Overlay */
  nav.nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-section {
    padding: 150px var(--spacing-md) var(--spacing-xl);
    min-height: 400px;
  }

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

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

  .hero-pizza-image {
    width: 90%;
  }

  .hero-image-container {
    bottom: 5%;
  }

  .basil-leaf {
    height: 100px;
  }

  .basil-leaf.leaf-left {
    bottom: 25%;
    left: 5%;
  }

  .basil-leaf.leaf-right {
    bottom: 30%;
    right: 5%;
  }

  .how-to-order-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .how-to-order-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .section-header h2 {
    font-size: 2.5em;
  }

  .section-subtitle {
    font-size: 1.1em;
  }

  .order-card {
    border-radius: 15px;
  }

  .card-header {
    padding: 30px 25px 20px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }

  .icon-circle i {
    font-size: 2em;
  }

  .card-header h3 {
    font-size: 1.6em;
  }

  .card-body {
    padding: 25px;
    min-height: auto;
  }

  .hours-row {
    padding: 10px 12px;
  }

  .hours-row .day {
    font-size: 0.95em;
  }

  .hours-row .time {
    font-size: 1em;
  }

  .feature-item {
    padding: 10px 12px;
  }

  .feature-item span {
    font-size: 0.95em;
  }

  .payment-option {
    padding: 12px;
  }

  .payment-icon {
    width: 45px;
    height: 45px;
  }

  .payment-info h4 {
    font-size: 1em;
  }

  .payment-info p {
    font-size: 0.85em;
  }

  .cta-section {
    margin-top: 40px;
    padding: 40px 25px;
  }

  .cta-content h3 {
    font-size: 2em;
  }

  .cta-content p {
    font-size: 1.1em;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 1em;
  }

  /* Speciality Section */
  .speciality-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .speciality-circle {
    width: 280px;
    height: 280px;
  }

  .speciality-item h3 {
    font-size: 2em;
  }

  .content-section-speciality h2 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  /* Header */
  .logo {
    gap: 8px;
  }

  .habo-logo {
    height: 70px;
  }

  header.scrolled .habo-logo {
    height: 45px;
  }

  .hero-section {
    height: 85vh;
    padding-top: 120px;
    min-height: 350px;
  }

  .hero-title {
    font-size: 3em;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1em;
    letter-spacing: 1px;
  }

  .hero-pizza-image {
    width: 100%;
  }

  .hero-image-container {
    bottom: 10%;
  }

  .basil-leaf {
    height: 70px;
  }

  .basil-leaf.leaf-left {
    bottom: 20%;
    left: 2%;
  }

  .basil-leaf.leaf-right {
    bottom: 25%;
    right: 2%;
  }

  .hero-section-transition {
    height: 100px;
  }

  .how-to-order-section {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  .order-card {
    padding: 30px var(--spacing-md);
  }

  .order-icon {
    font-size: 3em;
  }

  .order-card h3 {
    font-size: 1.8em;
  }

  .order-card p {
    font-size: 1em;
  }

  .order-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .speciality-circle {
    width: 250px;
    height: 250px;
  }

  .speciality-item h3 {
    font-size: 1.8em;
  }

  .content-section-speciality h2 {
    font-size: 2.2em;
  }

  .map-container {
    padding-bottom: 50%;
    max-width: 90%;
    margin: 0 auto 60px;
  }

  .content-section-contact h2 {
    font-size: 2.8em;
  }

  .contact-info-section h2 {
    margin-bottom: 20px;
    font-size: 2.5em;
  }

  .contact-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .contact-simple-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: var(--spacing-lg);
  }

  .contact-simple-icon {
    font-size: 2.5em;
  }

  .contact-simple-item h3 {
    font-size: 1.6em;
  }

  .contact-simple-item p {
    font-size: 1em;
  }

  .contact-phone {
    font-size: 1.2em;
  }

  .button-write-us {
    font-size: 1.3em;
    padding: 12px 30px;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  /* Header */
  header {
    padding: 15px var(--spacing-sm);
  }

  .habo-logo {
    height: 60px;
  }

  header.scrolled .habo-logo {
    height: 40px;
  }

  .contact-item {
    font-size: 0.85em;
  }

  .hero-section {
    height: 75vh;
    padding-top: 100px;
  }

  .hero-content {
    margin-top: 60px;
  }

  .hero-title {
    font-size: 2.5em;
  }

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

  .hero-image-container {
    bottom: 15%;
    max-width: 90%;
  }

  .basil-leaf {
    height: 50px;
  }

  .basil-leaf.leaf-left {
    bottom: 18%;
    left: 0%;
  }

  .basil-leaf.leaf-right {
    bottom: 22%;
    right: 0%;
  }

  .basil-leaf.leaf-left4 {
    left: 15%;
    top: 5%;
    height: 80px;
  }

  .hero-section-transition {
    height: 80px;
  }

  .order-top {
    bottom: 60px;
    height: auto;
    min-height: 80px;
  }

  .how-to-order-section {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2em;
  }

  .section-subtitle {
    font-size: 1em;
  }

  .how-to-order-container {
    gap: 20px;
  }

  .order-card {
    border-radius: 12px;
  }

  .card-header {
    padding: 25px 20px 15px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .icon-circle i {
    font-size: 1.8em;
  }

  .card-header h3 {
    font-size: 1.4em;
  }

  .card-body {
    padding: 20px;
  }

  .hours-row {
    padding: 8px 10px;
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .hours-row .day,
  .hours-row .time {
    font-size: 0.9em;
  }

  .feature-item {
    padding: 10px;
  }

  .feature-item i {
    font-size: 1.1em;
  }

  .feature-item span {
    font-size: 0.9em;
  }

  .payment-option {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }

  .payment-icon {
    width: 50px;
    height: 50px;
  }

  .badge.recommended {
    align-self: center;
  }

  .info-note {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .info-note p {
    font-size: 0.85em;
  }

  .card-footer {
    padding: 15px 20px;
  }

  .status-badge {
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .order-button {
    font-size: 1em;
    padding: 10px 25px;
  }

  .cta-section {
    margin-top: 30px;
    padding: 30px 20px;
    border-radius: 15px;
  }

  .cta-content h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .cta-content p {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .cta-btn {
    padding: 12px 25px;
    font-size: 0.95em;
  }

  .speciality-circle {
    width: 200px;
    height: 200px;
  }

  .speciality-item h3 {
    font-size: 1.5em;
  }

  .content-section-speciality h2 {
    font-size: 2em;
  }

  .map-container {
    padding-bottom: 60%;
    margin: 0 auto 50px;
  }

  .content-section-contact h2 {
    font-size: 2.2em;
  }

  .contact-info-section h2 {
    margin-bottom: 15px;
    font-size: 2em;
  }

  .contact-subtitle {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .contact-simple-grid {
    gap: 40px;
    margin-bottom: 30px;
  }

  .contact-simple-icon {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .contact-simple-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .contact-simple-item p {
    font-size: 0.95em;
  }

  .contact-phone {
    font-size: 1.1em;
  }

  .contact-note {
    font-size: 0.9em;
  }

  .contact-link {
    font-size: 1em;
  }

  .button-write-us {
    font-size: 1.1em;
    padding: var(--spacing-sm) 25px;
    margin-top: 25px;
  }
}

@media print {
  header,
  .hamburger,
  .hero-image-container,
  .basil-leaf,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
/* ===== SPECIALITY SECTION RESPONSIVE ===== */
@media (max-width: 992px) {
  .speciality-circles-row {
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }

  .speciality-circle {
    width: 280px;
    height: 280px;
  }

  .speciality-circle-item h3 {
    font-size: 2em;
  }

  .speciality-expanded-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: 500px;
    z-index: 9999;
    max-height: 0;
    opacity: 0;
  }

  .speciality-expanded-card.active {
    max-height: 80vh;
    opacity: 1;
  }

  .speciality-expanded-card::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .speciality-expanded-card.active::before {
    opacity: 1;
  }

  .card-content {
    flex-direction: column;
    overflow-y: auto;
    max-height: 80vh;
  }

  .card-image {
    flex: 0 0 250px;
    min-height: 250px;
  }

  .card-info {
    padding: 30px;
  }

  .card-info h3 {
    font-size: 1.8em;
  }

  .card-info p {
    font-size: 1em;
  }

  .card-price {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .speciality-circles-row {
    gap: 40px;
  }

  .speciality-circle {
    width: 250px;
    height: 250px;
  }

  .speciality-circle-item h3 {
    font-size: 1.8em;
  }

  .speciality-expanded-card {
    width: 95%;
  }

  .card-image {
    flex: 0 0 200px;
    min-height: 200px;
  }

  .card-info {
    padding: 25px;
  }

  .card-info h3 {
    font-size: 1.6em;
  }

  .card-info p {
    font-size: 0.95em;
  }

  .card-price {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .speciality-circles-row {
    gap: 30px;
  }

  .speciality-circle {
    width: 200px;
    height: 200px;
  }

  .speciality-circle-item h3 {
    font-size: 1.5em;
  }

  .speciality-expanded-card {
    width: 95%;
    max-height: 90vh;
  }

  .speciality-expanded-card.active {
    max-height: 90vh;
  }

  .card-image {
    flex: 0 0 180px;
    min-height: 180px;
  }

  .card-info {
    padding: 20px;
  }

  .card-info h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .card-info p {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .card-price {
    font-size: 1.6em;
  }
}