/* Global Reset & Box Sizing */
* {
    box-sizing: border-box;
  }
  
  /* General Styles */
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* Navbar Styles */
  .navbar {
    background: #1b3840;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
  }
  
  .nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    background: none;
    border: none;
    padding: 5px 10px;
    line-height: 1;
    position: relative;
  }
  
  .menu-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -3px; /* shifts it down slightly */
  }
  
  .menu-label {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    top: -1px; /* shifts it up slightly */
  }
  
  /* Hide the word “Menu” on small screens */
  @media (max-width: 600px) {
    .menu-label {
      display: none;
    }
  }
  
  .close-menu {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #1b3840;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
    list-style: none;
    margin: 0;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    display: flex;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links li a {
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    display: block;
  }
  
  .nav-links li a:hover {
    color: #fe7f54;
  }
  
  /* Back Button for Other Pages */
  .back-button {
    position: fixed;
    top: 15px;
    left: 15px;
    background: #ffffff;
    color: #1b3840;
    font-size: 0.9em; /* smaller text */
    text-decoration: none;
    z-index: 1002;
    display: flex;
    align-items: center;
    border: 1px solid #1b3840; /* thinner border */
    padding: 4px 10px; /* smaller padding */
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
  }
  
  .back-button::before {
    content: "\2190";
    margin-right: 8px;
    font-size: 1.3em;
  }
  
  .back-button:hover {
    background-color: #1b3840;
    color: white;
  }
  
/* Hero Section */
.hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* Fill the screen and crop if needed */
  
  width: 100%;
  height: 100vh; /* Full screen height */

  position: relative;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

  
  .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-out;
  }
  
  .hero-content p {
    font-size: 1.4em;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease-out;
  }
  
  .btn-primary {
    padding: 12px 25px;
    background: #fe7f54;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background 0.3s, transform 0.3s;
    margin: 10px auto;
    display: inline-block;
    text-align: center;
    text-decoration: none;
  }
  
  .btn-primary:hover {
    background: #fe7f54;
    transform: scale(1.05);
  }
  
  /* About Section */
  .about-section {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
    color: #333;
  }
  
  .about-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .about-box,
  .cabin-box,
  .gallery-box {
    background-color: #fff;
    padding: 20px 30px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
  }
  
  .about-box p,
  .cabin-box p,
  .gallery-box p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  .app-previews-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.app-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.app-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.app-text {
    flex: 1;
    min-width: 250px;
}

.app-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.app-text p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn-store {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007aff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-store:hover {
    background-color: #005bb5;
}
 /* Features Section */
  .features-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .features-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .features-grid {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
  }
  
  .feature-item {
    flex: 0 0 100%; /* full width until limited by media query */
    max-width: 350px; /* match original sizing */
    scroll-snap-align: start;
    padding: 20px;
    border: 1px solid #ddd;
    border-left: 5px solid #fe7f54;
    border-radius: 5px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    color: #222;
    text-decoration: none;
    text-align: center;
  }
  
  .feature-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
  }
  
  .feature-item h3 {
    display: inline-flex;
    align-items: center; /* centers text and arrow vertically */
    justify-content: center;
    gap: 5px; /* replaces margin-left for better alignment */
  }
  
  .feature-item h3::after {
    content: '→';
    font-size: 1.2em;
    color: #fe7f54;
    transition: transform 0.2s ease;
    display: inline-block;
    transform: translateY(1px); /* fine-tune vertical alignment */
  }
    
  .feature-item:hover h3::after {
    transform: translate(5px, 1px); /* slides arrow right on hover */
  }
  
  .feature-item a {
    text-decoration: none;
    color: #333;
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
  }
/* SECTION WRAPPER */
.projects-section {
  padding: 50px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ensures section content is centered */
}

/* SECTION TITLE */
.projects-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* PROJECT CARD */
.project-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin: 0 auto 25px;     /* centers the card */
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  gap: 20px;

  max-width: 900px;        /* matches most website content widths */
  width: 90%;
}

/* PROJECT IMAGE */
.project-img {
  width: 160px;
  height: auto;
  border-radius: 10px;
}

/* TEXT CONTENT — CENTERED WITH PAGE */
.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;
  text-align: center;

  /* This perfectly centers the text relative to the page */
  max-width: 500px;
  margin: 0 auto;
}

/* TITLE */
.project-info h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

/* DESCRIPTION */
.project-info p {
  margin: 10px 0 15px;
  font-size: 1rem;
}

/* BUTTON */
.project-btn {
  display: inline-block;
  background: #0077ff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.project-btn:hover {
  background: #005fcc;
}

/* ----------------------------- */
/* RESPONSIVE RULES */
/* ----------------------------- */

@media (max-width: 768px) {
  .project-box {
    flex-direction: column;     /* stack image + text */
    text-align: center;
  }

  .project-img {
    width: 200px;
  }

  .project-info {
    max-width: 100%;           /* full width on mobile */
  }
}


  /* Reviews Section */
  .reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .review-item {
    background-color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .review-item p {
    font-size: 1em;
    line-height: 1.6;
  }
  
  .reviews-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  /* Gallery Section */
  .gallery-section {
    padding: 60px 0;
    background: #f9f9f9ff;
    text-align: center;
  }
  .cabin-gallery {
    padding: 60px 0;
    background: #fff;
    text-align: center;
  }
  .gallery-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
  }
  
  .gallery-grid img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Contact Section */
  .contact-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 600px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
  }
  
  .contact-form button {
    padding: 12px 25px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
    display: block;
  }
  
  .contact-form button:hover {
    background: #000000;
    transform: scale(1.05);
  }
  
  /* Footer */
  .footer {
    padding: 20px;
    text-align: center;
    background: #000000;
    color: #fff;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-content h1 {
      font-size: 2.5em;
    }
  
    .hero-content p {
      font-size: 1.2em;
    }
  
    .gallery-grid img {
      width: 150px;
      height: 200px;
    }
  
    .features-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      height: auto;
      padding: 60px 20px;
    }
  
    .hero-content h1 {
      font-size: 2em;
    }
  
    .hero-content p {
      font-size: 1em;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
    }
  
    .gallery-grid {
      flex-wrap: nowrap;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 10px;
      padding: 10px;
    }
  
    .gallery-grid img {
      flex: 0 0 auto;
      width: 250px;
      height: 180px;
      scroll-snap-align: center;
    }
  
    .btn-primary {
      width: 100%;
      font-size: 1em;
    }
  
    .about-box {
      padding: 15px;
    }
  
    .contact-form {
      width: 100%;
      padding: 0 15px;
    }
  }