/* ===== RESPONSIVE DESIGN FIXES ===== */

/* Base responsive settings */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  overflow-x: hidden;
}

/* Container responsive settings */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid responsive settings */
.grid {
  display: grid;
  gap: 2rem;
}

/* ===== HEADER RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav {
    padding: 0.75rem 0;
  }
  
  .nav__logo {
    font-size: 1.1rem;
  }
  
  .nav__list {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .nav {
    padding: 0.5rem 0;
  }
  
  .nav__logo {
    font-size: 1rem;
  }
  
  .nav__logo-icon {
    max-height: 32px !important;
    max-width: 100px !important;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 2rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
  }
  
  .nav__link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    width: 100%;
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
  }
  
  .nav__toggle {
    display: flex !important;
    font-size: 1.2rem;
  }
  
  .nav__actions {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .nav__logo {
    font-size: 0.9rem;
  }
  
  .nav__logo-icon {
    max-height: 28px !important;
    max-width: 80px !important;
  }
  
  .nav__menu {
    width: 90%;
  }
}

/* ===== HERO SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__container {
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero__title {
    font-size: 3rem;
  }
  
  .hero__subtitle {
    font-size: 1.2rem;
  }
  
  .hero__visual {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero__image-container {
    width: 350px;
    height: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    padding: 5rem 0 3rem;
  }
  
  .hero__container {
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .hero__title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero__badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero__features {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .hero__feature {
    justify-content: center;
    font-size: 0.9rem;
  }
  
  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .hero__button {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .hero__image-container {
    width: 280px;
    height: 280px;
  }
  
  .hero__main-visual {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }
  
  .floating-pill {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
    padding: 4rem 0 2rem;
  }
  
  .hero__title {
    font-size: 1.8rem;
  }
  
  .hero__subtitle {
    font-size: 0.9rem;
  }
  
  .hero__badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .hero__button {
    max-width: 250px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .hero__image-container {
    width: 220px;
    height: 220px;
  }
  
  .hero__main-visual {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .floating-pill {
    width: 35px;
    height: 35px;
  }
}

/* ===== SECTIONS RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
  
  .section__title {
    font-size: 2.2rem;
  }
  
  .section__subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .section__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .section__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
  
  .section__title {
    font-size: 1.6rem;
  }
  
  .section__subtitle {
    font-size: 0.9rem;
  }
}

/* ===== FEATURES SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .features__container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .feature__card {
    padding: 1.5rem;
  }
  
  .feature__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    width: 100%;
  }
  
  .feature__title {
    font-size: 1.1rem;
  }
  
  .feature__description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .feature__card {
    padding: 1.25rem;
  }
  
  .feature__icon {
    font-size: 1.8rem;
    text-align: center;
    display: block;
    width: 100%;
  }
  
  .feature__title {
    font-size: 1rem;
  }
  
  .feature__description {
    font-size: 0.85rem;
  }
}

/* ===== CITIES SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cities__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cities__search {
    margin-bottom: 2rem;
  }
  
  .cities__search-input {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
  
  .cities__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .city__card {
    padding: 1.25rem;
  }
  
  .city__name {
    font-size: 1rem;
  }
  
  .city__info {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .cities__grid {
    grid-template-columns: 1fr;
  }
  
  .city__card {
    padding: 1rem;
  }
  
  .cities__search-input {
    font-size: 0.9rem;
    padding: 0.75rem 0.875rem;
  }
}

/* ===== HOURS SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hours__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hours__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hours__card {
    padding: 1.25rem;
  }
  
  .hours__day {
    font-size: 1.1rem;
  }
  
  .hours__time {
    font-size: 1rem;
  }
  
  .hours__info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .hours__info-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hours__grid {
    grid-template-columns: 1fr;
  }
  
  .hours__card {
    padding: 1rem;
  }
  
  .hours__day {
    font-size: 1rem;
  }
  
  .hours__time {
    font-size: 0.9rem;
  }
  
  .hours__info-card {
    padding: 1.25rem;
  }
}

/* ===== CONTACT SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact__info {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact__form {
    padding: 1.5rem;
  }
  
  .contact__form-group {
    margin-bottom: 1.25rem;
  }
  
  .contact__form-input,
  .contact__form-textarea {
    font-size: 1rem;
    padding: 0.875rem;
  }
  
  .contact__form-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact__info-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .contact__form {
    padding: 1.25rem;
  }
  
  .contact__form-input,
  .contact__form-textarea {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .contact__form-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .contact__info-card {
    padding: 1rem;
  }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer__content {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  .footer__social-links {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer__container {
    gap: 1.25rem;
  }
  
  .footer__title {
    font-size: 1rem;
  }
  
  .footer__description {
    font-size: 0.85rem;
  }
  
  .footer__link {
    font-size: 0.85rem;
  }
}

/* ===== UTILITY RESPONSIVE CLASSES ===== */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .full-width-mobile {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hide-small {
    display: none !important;
  }
  
  .show-small {
    display: block !important;
  }
}

/* ===== LANDSCAPE TABLET FIXES ===== */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

/* ===== SMALL LANDSCAPE PHONE FIXES ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
    padding: 3rem 0 2rem;
  }
  
  .hero__container {
    gap: 1rem;
  }
  
  .hero__title {
    font-size: 1.8rem;
  }
  
  .hero__features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== VERY LARGE SCREENS ===== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero__title {
    font-size: 4rem;
  }
  
  .hero__subtitle {
    font-size: 1.4rem;
  }
  
  .section__title {
    font-size: 3rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .nav__toggle,
  .theme-toggle,
  .hero__actions,
  .contact__form,
  .footer__social {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}
