* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}


html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --bg-color: #fff;
  --text-color: #221314;
  --secondary-color: #5a7184;
  --main-color: #6e54fa;
  --accent-color: #f8b73f;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}
.home {
    width: 100%;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 10%;
    
    /* Default settings for desktop */
    background:  url('1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fix for 768px and smaller devices */
@media (max-width: 768px) {
    .home {
        /* 'contain' shows the WHOLE image, but might leave gaps. 
           '100% 100%' stretches it (can look distorted).
           Better option: use a specific percentage to see more width. */
        background-size: 100% auto; 
        background-position: top center;
        
        /* Adjust height so the image doesn't look stretched or cut off */
        min-height: 70vh; 
        padding-top: 80px; /* Offset for your header */
    }

    .home-content h1 {
        font-size: 2.5rem; /* Shrink text so it doesn't hide the image */
    }
}
.home-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); /* Responsive font: shrinks on mobile */
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.home-content span {
    color: #ffb41f; /* Your accent yellow color */
}

.home-content p {
    color: #eee;
    font-size: 1.2rem;
    margin: 20px 0;
}
/* --- GLOBAL BUTTON STYLING --- */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
}

.btn:hover {
    background: var(--main-color); /* Changes to purple on hover */
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px); /* Pushes down slightly when clicked */
}
/* ===== BODY ===== */
body {
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8%;
  background: transparent;
  transition: 0.3s ease;
}

header.sticky {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.logo {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text-color);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  gap: 1rem;
}

.navbar a {
  color: var(--text-color);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: 0.3s;
}

.navbar a:hover {
  background: rgba(0,0,0,0.05);
}

#menu_icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* ===== SECTIONS ===== */
section {
  padding: 90px 8%;
}

section h1.heading {
  text-align: center;
  padding-bottom: 3rem;
}

.heading span {
  font-size: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255,165,0,0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin: 0.15rem;
}

.heading span.space {
  background: none;
}



/* ===== BOOKING FORM ===== */
.form-container {
  max-width: 900px;
  margin: auto;
}

.book-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.book-form .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.book-form .inputBox {
  flex: 1 1 48%;
}

.book-form input,
.book-form textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

.book-form input:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--main-color);
}

.book-form .btn {
  margin-top: 10px;
  width: 100%;
  padding: 1rem;
  background: var(--accent-color);
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.book-form .btn:hover {
  background: var(--main-color);
}

/* ===== SERVICES & ABOUT CARDS ===== */
.services .box-container,
.about .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.services .box,
.about .box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.services .box:hover,
.about .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

.services .content,
.about .content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.services .btn,
.about .btn {
  display: block;
  margin: 1rem auto;
  width: 70%;
  padding: 0.7rem;
  background: var(--accent-color);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  transition: 0.3s;
}

.services .btn:hover,
.about .btn:hover {
  background: var(--main-color);
}

/* About images */
.about .box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 100px 8%;
  background: #f9f9f9;
}

.contact .heading {
  margin-bottom: 3rem;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

/* Contact Image */
/* Contact Image Container */
/* 1. Ensure the row centers its children when they wrap */
.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center; /* This centers the items horizontally */
}


/* 3. Adjust the Form to be centered */
.contact form {
  flex: 1 1 400px;
  width: 100%;
  max-width: 600px; /* Keeps form width consistent with the image */
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  /* 1. Reset the side padding so it doesn't push everything to the right */
  .contact {
    padding: 100px 2rem; /* Reduced from 8% to 2rem */
  }

  /* 2. Force the row to center everything */
  .contact .row {
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack them vertically */
    text-align: center;
  }

  /* 3. Make the image and form take up the full available width */
  .contact .image, 
  .contact form {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%; /* Ensures they don't stay small */
    margin: 0 auto;  /* Standard centering fallback */
  }

  /* 4. Fix the image specifically */
  .contact .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }
}
.contact form .inputBox {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact form .inputBox input {
  flex: 1 1 48%;
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s;
}

.contact form .inputBox input:focus {
  border-color: #6e54fa; /* main color */
  outline: none;
}

.contact form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  transition: 0.3s;
}

.contact form textarea:focus {
  border-color: #6e54fa;
  outline: none;
}

/* Submit Button */
.contact form .btn {
  padding: 1rem;
  background: #f8b73f;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.contact form .btn:hover {
  background: #6e54fa;
}
/* ===== FOOTER ===== */
.footer {
  background: #221314;
  color: #fff;
  padding: 4rem 8% 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-box p,
.footer-box ul li a {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.footer .social a:hover {
  background: var(--accent-color);
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #aaa;
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .home {
        padding: 0 5%;
        background-attachment: scroll; /* Better performance on mobile */
    }

    /* Fix for the overlapping booking/contact forms */
    .book-form .inputBox, 
    .contact form .inputBox input {
        flex: 1 1 100%; /* Make inputs full width on mobile */
    }

    /* Adjust the heading spans so they don't break weirdly */
    .heading span {
        font-size: 1.2rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .home-content h1 {
        font-size: 2.2rem; /* Solid fallback for very small phones */
    }
    
    section {
        padding: 60px 4%;
    }

    .services .box-container,
    .about .box-container {
        grid-template-columns: 1fr; /* Single column for cards */
    }
}
@media (max-width: 768px) {
  #menu_icon { display: block; }
  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 250px;
    padding: 2rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .navbar.active { right: 0; }
}

@media (max-width:768px) {
  .home {
    min-height: 100vh;
    /* Fixed backgrounds often glitch on mobile, 'scroll' is safer */
    background-attachment: scroll; 
    background-position: center;
  }
  
  section { padding: 60px 5%; }

  .home-btn {
    width: 80%; /* Takes up more space on tiny screens */
    padding: 12px;
    font-size: 1rem;
  }
}