:root {
    --primary: #2c3e50;
    --secondary: #ff7e5f;
    --white: #ffffff;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --font-main: 'Poppins', sans-serif;
    --font-alt: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-alt);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* Base styles are for mobile */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Header & Navigation */
#header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(44, 62, 80, 0.07);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link:focus {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.booking-button {
    color: #ff7e5f;
    background: rgba(255, 126, 95, 0.08);
    border-radius: 24px;
    padding: 8px 24px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
    font-weight: 600;
}
.booking-button:hover {
    color: var(--white);
    background: var(--secondary);
}
.booking-button::after {
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
    border-radius: 8px;
    min-width: 180px;
    padding: 12px 0;
    z-index: 100;
    list-style: none;
}
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 24px;
    color: var(--primary);
    font-size: 0.98rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.dropdown-link:hover {
    background: rgba(255, 126, 95, 0.08);
    color: var(--secondary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
    margin: 5px 0;
}
/* Responsive (Mobile) Styles */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.4s ease;
        padding-top: 32px;
        gap: 24px;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-item.dropdown .fa-chevron-down {
    transition: transform 0.3s ease;
}

.nav-item.dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: 100%;
    padding: 0;
    background-color: #f8f9fa; /* Light background for visibility */
    margin-top: 8px;
    
    /* Animation styles */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.nav-item.dropdown.open > .dropdown-menu {
    max-height: 500px; /* Allow space for dropdown to open */
    padding: 10px 0;
}
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-size: 2.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  margin: 20px auto 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Section - Harold Feng Style */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 15px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease;
}

.hero-btn {
  animation: fadeInUp 1.4s ease;
  font-size: 1rem;
  padding: 15px 35px;
  border-radius: 50px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New styles for slideshow */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Keeping your fixed background */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Enhanced UPQODE-style hover effects */
.service-card {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover {
  transform: scale(0.98);
}

.gallery-overlay {
  background: linear-gradient(to top, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.5) 30%, rgba(0, 0, 0, 0) 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Page transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: 9998;
  transform: translateY(100%);
}

/* Add smooth page reveal animation */
@keyframes pageReveal {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0%); }
}

@keyframes pageHide {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}

/* Page loader animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  animation: rotate 2s linear infinite;
}

.loader-logo circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: dash 2s ease-in-out infinite alternate;
}

.loader-logo path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: dash 2s ease-in-out infinite alternate 0.5s;
}

.loader-text {
  font-family: var(--font-alt);
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dashoffset: 150; }
  100% { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}
/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-img img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

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

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

/* Services Section */
.services {
  background-color: var(--light);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
  height: 250px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-description {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Gallery Section - UPQODE Hover Effect */
/* --- UPDATED GALLERY STYLES --- */

/* Main container for the masonry layout */
.gallery-container {
  /* 
    This creates the columns. It will start with 1 column on mobile,
    and go up to 4 on large screens. You can adjust these numbers.
  */
  columns: 1;
  column-gap: 20px; /* This sets the space between columns */
}

/* --- Media queries for responsive columns --- */
/* For tablets */
@media (min-width: 768px) {
  .gallery-container {
    columns: 2;
  }
}

/* For small desktops */
@media (min-width: 992px) {
  .gallery-container {
    columns: 3;
  }
}

/* For large desktops */
@media (min-width: 1200px) {
  .gallery-container {
    columns: 4;
  }
}


/* 
  Updated gallery item. We remove the fixed height and add a property
  to prevent items from breaking across columns.
*/
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px; /* Adds space below each item */
  break-inside: avoid; /* This is crucial! Prevents items from splitting across columns */
  height: auto; /* Allow height to be determined by content */
}

/* 
  The rest of your styles for the image, overlay, and hover effects
  can remain exactly the same as they work perfectly with this new layout.
*/
.gallery-img {
  width: 100%;
  height: auto; /* Let the image's height be natural */
  object-fit: cover;
  display: block; /* Removes any extra space below the image */
  transition: transform 0.8s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-title {
  color: #fff; /* Replaced var(--white) for this example */
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-category {
  color: #ffc107; /* Replaced var(--secondary) for this example */
  font-size: 0.85rem;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-category {
  transform: translateY(0);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light);
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.testimonial-slide {
  text-align: center;
  display: none;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

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

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 30px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  line-height: 0;
}

.testimonial-text::before {
  top: 10px;
  left: 0;
}

.testimonial-text::after {
  bottom: -10px;
  right: 0;
  transform: rotate(180deg);
}

.testimonial-author {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background-color: var(--secondary);
}

/* Booking Section */
.booking {
  background-color: var(--white);
}

.booking-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-col {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 0.95rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 126, 95, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.date-picker {
  margin-bottom: 15px;
}

.form-text {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 5px;
}

.date-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.date-chip {
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.remove-date {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: 8px;
  padding: 0;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-input {
  margin-right: 10px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.success-message {
  display: none;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
}

.footer-column h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 10px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 15px;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 5px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--primary);
}

/* UPQODE-like Hover Effects */
.hover-effect {
  overflow: hidden;
  position: relative;
}

.hover-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.hover-effect img {
  transition: transform 0.8s ease;
}

.hover-effect:hover::before {
  opacity: 1;
}

.hover-effect:hover img {
  transform: scale(1.1);
}

.hover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 30px;
  transition: all 0.5s ease;
}

.hover-effect:hover .hover-content {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Responsive Design */

@media screen and (max-width: 992px) {
 h1 {
  /* min size, preferred size, max size */
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
}

  
  .about-content {
    flex-direction: column;
  }
  
  .about-img,
  .about-text {
    flex: none;
    width: 100%;
  }
}

/* Mobile styles */
@media (max-width: 992px) {
  .hamburger {
    display: block; /* Show the hamburger on smaller screens */
    z-index: 1001; /* Make sure it's clickable */
  }

  .nav-menu {
    position: fixed;
    z-index: 1000;
    top: 70px; /* Position it below the header */
    left: -100%; /* Start off-screen */
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: left 0.4s ease; /* Animate the slide-in effect */
    padding: 20px 0;
    box-shadow: 0 10px 24px rgba(44, 62, 80, 0.1);
  }

  .nav-menu.active {
    left: 0; /* Slide the menu in when active */
  }

  .nav-item {
    margin: 1rem 0;
  }

  /* Animate hamburger bars into an 'X' */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 70px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    max-width: 350px;
    margin: 0 auto;
  }
}
