* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  overflow-x: hidden;
  width: 100%;
}

html {
  overflow-x: hidden;
}

a {
  color: #000;
}
.primary-button, .whatsapp-button {
  text-decoration: none;
  padding: 20px 40px;
  color: #000;
  font-size: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.secondary-button {
  text-decoration: none;
  padding: 15px 30px;
  color: #000;
  font-size: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background-color: #e5e5e5;
  border-color: #ccc;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.primary-button {
  background-color: #fff;
}

.whatsapp-button {
  background-color: #25D366;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent horizontal scrolling for all sections */
section {
  width: 100%;
  overflow-x: hidden;
  padding: 4rem 0;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for long text that might cause overflow */
p, h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

header {
  background-color: #fff;
  padding: 1rem 2rem;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
  position: relative;
}

header h1 {
  font-family: "Berkshire Swash", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(38, 49, 49);
  font-size: 1.7rem;
  margin: 0;
}

header h1 a {
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  display: block;
}

nav ul li a:hover {
  background-color: #f8f9fa;
  color: #4a4a4a;
  transform: translateY(-1px);
}

nav ul li a.active {
  background-color: #d5ecec;
  color: #333;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(213, 236, 236, 0.4);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: #f8f9fa;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile menu active state */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.hero {
  background-image: url('images/camera-matrimoniale-trancredi.jpeg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 2rem 0;
}

/* Shorter hero for non-homepage pages */
.hero:not(.homepage-hero) {
  height: 40vh;
}

.hero a:not(.primary-button) {
  color: #fff;
}

.hero:before {
  position: absolute;
  content: '';
  background-color: #0000004a;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 48px;
}

.hero .price {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* CTA Sections */
.rooms-cta, .services-cta {
  text-align: center;
  margin-top: 2rem;
}

.rooms-cta .secondary-button, .services-cta .secondary-button {
  display: inline-block;
  margin: 0 auto;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: #333;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.feature .material-icons {
  color: #4a4a4a;
  font-size: 20px;
  margin-bottom: 0;
}

.reviews-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviews-cta p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.intro-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.highlight {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid #d5ecec;
  transition: transform 0.3s ease;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.highlight .material-icons {
  font-size: 48px;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.highlight h3 {
  margin-bottom: 1rem;
  color: #333;
}

.highlight p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.highlight .secondary-button {
  margin-top: 1rem;
  display: inline-block;
}

h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.intro-text {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #333;
}

.room, .service {
  margin-bottom: 2rem;
}
.room img, .service img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.reviews {
  background-color: #f9f9f9;
}
.review {
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.review-author {
  font-weight: bold;
  margin-top: 0.5rem;
}
.services {
  background-color: #d5ecec;
}
.service {
  text-align: center;
}
.material-icons {
  font-size: 48px;
  color: #4a4a4a;
  margin-bottom: 1rem;
}
footer {
  background-color: #d5ecec;
  color: #000;
  padding: 3rem 0 1rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  text-align: center;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #666;
}

.footer-bottom {
  border-top: 1px solid #b8d8d8;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #666;
}

.contact-info-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.contact-info-footer a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-footer .material-icons {
  font-size: 18px;
}

.room h3 {
  font-size: 1.5rem;
}

.rooms img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Room Detail Page Styles */
.room-detail {
  padding: 2rem 0;
}

.room-info {
  max-width: 800px;
  margin: 0 auto;
}

.amenities-list, .services-list {
  list-style: none;
  margin: 1rem 0 2rem 0;
}

.amenities-list li, .services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.amenities-list .material-icons, .services-list .material-icons {
  font-size: 24px;
  margin-bottom: 0;
  color: #4a4a4a;
}

.booking-section {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.back-to-rooms {
  margin-top: 2rem;
  text-align: center;
}

/* Contact Page Styles */
.contact-info {
  background-color: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-card .material-icons {
  font-size: 48px;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: #333;
}

.contact-card p {
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  text-decoration: underline;
}

.map-section {
  padding: 3rem 0;
}

.map-container {
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.directions {
  margin-top: 3rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.direction-card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #4a4a4a;
}

.direction-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: #333;
}

.direction-card .material-icons {
  font-size: 24px;
  margin-bottom: 0;
}

.booking-info {
  background-color: #d5ecec;
}

.booking-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.booking-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.booking-card h3 {
  margin-bottom: 1rem;
  color: #333;
}

.booking-card ul {
  list-style: none;
}

.booking-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.booking-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4a4a4a;
  font-weight: bold;
}

.booking-info {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

#cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9999;
}

#cookie-consent b {
  font-size: 1.5rem;
  margin-top: 0;
}

#cookie-consent p {
  margin-bottom: 15px;
}

#cookie-consent button {
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#accept-all {
  background-color: #4CAF50;
  color: white;
}

#accept-necessary {
  background-color: #f1f1f1;
  color: #333;
}

#cookie-settings {
  background-color: #f1f1f1;
  color: #333;
}

.room a.primary-button {
  background-color: #d5ecec;
  border: 2px solid #4a4a4a;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.room a.primary-button:hover {
  background-color: #4a4a4a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Services Page Styles */
.additional-services {
  background-color: #f9f9f9;
  padding: 3rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 4px solid #d5ecec;
}

.service-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: #333;
}

.service-card .material-icons {
  font-size: 24px;
  margin-bottom: 0;
  color: #4a4a4a;
}

/* Reviews Page Styles */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars .material-icons {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 0;
}

.review-stats {
  margin-top: 3rem;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4a4a4a;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.stat-card .stars {
  justify-content: center;
}

/* Other Rooms Section Styles */
.other-rooms {
  background-color: #f9f9f9;
  padding: 4rem 0;
}

.rooms-suggestions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.room-suggestion {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-suggestion:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.room-suggestion img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.room-suggestion:hover img {
  transform: scale(1.05);
}

.room-suggestion-content {
  padding: 2rem;
}

.room-suggestion-content h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.5rem;
}

.room-suggestion-content p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.6;
}

.room-suggestion-content .price {
  font-size: 1.2rem;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
}

.room-suggestion-content .primary-button {
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-size: 1rem;
  background-color: #d5ecec;
  border: 2px solid #4a4a4a;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.room-suggestion-content .primary-button:hover {
  background-color: #4a4a4a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


@media (min-width: 768px) {
  .rooms, .reviews-container, .services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .room, .review, .service {
    margin: 0;
  }

  header h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .button-container, .contact-buttons {
    flex-direction: row;
  }

  .hero-features {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .feature {
    padding: 1rem 2rem;
  }

  .intro-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .room, .review {
      flex-basis: 31%;
  }
  .service {
      flex-basis: 23%;
  }

  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .directions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-details {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rooms-suggestions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    flex-wrap: wrap;
  }

  header h1 {
    font-size: 1.5rem;
  }

  nav {
    order: 3;
    width: 100%;
    margin-top: 1rem;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  nav ul.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

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

  nav ul li a {
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    font-size: 1.1rem;
  }

  nav ul li a:hover {
    background-color: #f8f9fa;
    transform: none;
  }

  nav ul li a.active {
    background-color: #d5ecec;
    box-shadow: none;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  /* Mobile Hero Fixes */
  .hero {
    padding: 1rem 0;
    min-height: 60vh;
  }

  .hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .hero-features {
    margin: 1rem 0;
    padding: 0 1rem;
  }

  .feature {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Adjust hero height for mobile */
  .hero:not(.homepage-hero) {
    height: 30vh;
    min-height: 200px;
  }

  .hero-features {
    flex-direction: column;
  }

  /* Mobile Layout Fixes */
  .rooms, .reviews-container, .services-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .room, .review, .service {
    width: 100%;
    margin: 0;
  }

  /* Mobile section padding adjustment */
  section {
    padding: 2rem 0;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .booking-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rooms-suggestions {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Prevent horizontal scrolling */
  .container {
    padding: 20px 15px;
    overflow-x: hidden;
  }

  /* Button container fixes */
  .button-container, .contact-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .button-container .primary-button,
  .button-container .whatsapp-button,
  .contact-buttons .primary-button,
  .contact-buttons .whatsapp-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Footer mobile fixes */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Map container fixes */
  .map-container {
    width: 100%;
    height: 300px;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
  }

  /* Contact card fixes */
  .contact-card {
    padding: 1.5rem;
  }

  /* Room suggestion fixes */
  .room-suggestion {
    width: 100%;
  }

  .room-suggestion img {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  /* iPhone Hero Fixes */
  .hero {
    padding: 0.5rem 0;
    min-height: 50vh;
  }

  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }

  .hero-features {
    margin: 0.5rem 0;
    padding: 0 0.5rem;
  }

  .feature {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .feature .material-icons {
    font-size: 16px;
  }

  /* Further reduce hero height for very small screens */
  .hero:not(.homepage-hero) {
    height: 25vh;
    min-height: 180px;
  }

  /* Additional mobile fixes for very small screens */
  .container {
    padding: 15px 10px;
  }

  /* Very small screen section padding adjustment */
  section {
    padding: 1.5rem 0;
  }

  .room, .review, .service {
    padding: 1rem;
  }

  .room img, .service img {
    width: 100%;
    height: 200px;
  }

  .contact-card {
    padding: 1rem;
  }

  .booking-section {
    padding: 1.5rem;
  }

  .map-container {
    height: 250px;
  }

  /* Button fixes for very small screens */
  .primary-button, .whatsapp-button {
    padding: 15px 20px;
    font-size: 16px;
  }

  .secondary-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Footer fixes for very small screens */
  .footer-section {
    padding: 1rem 0;
  }

  .footer-links a {
    padding: 0.5rem 0;
  }

  /* Prevent text overflow */
  h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }
}