/* =====================================================
   GLOBAL SETTINGS & VARIABLES
===================================================== */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

:root {
  --max-width: 1500px;
  --accent: #1e1e1e;
  --accent-dark: #878787;
  --muted: #878787;
  --bg: #161616;
  --card-bg: #1e1e1e;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  --gap: 1rem;
  --fw-regular: 400;
  --fw-semibold: 600;
}

/* =====================================================
   RESET & BASE
===================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Merriweather", sans-serif;
  color: #fff;
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.brand .logo {
  width: 10%;
  height: 10%;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--muted);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.ghost {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  background: url('../assets/background.jpeg') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--accent);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn.primary:hover {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.hero .btn.ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.hero .btn.ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
  padding: 1.5rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}


/* =====================================================
   CHOOSE US SECTION - ENHANCED
===================================================== */
.choose-us-section {
  background: #fff;
  padding: 4rem 1rem;
}

.choose-us-container {
  display: flex;
  flex-direction: column;
  gap: 4rem; /* Increased gap for better separation */
  max-width: var(--max-width);
  margin: 0 auto;
}

.choose-us-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: #f9f9f9; /* Light background for blocks */
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-us-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.choose-us-block h2 { /* Changed from h1 to h2 to match your HTML */
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 0.5rem;
  position: relative;
}

.choose-us-block hr {
  border: 2px solid var(--accent); /* Use your accent color */
  width: 60px;
  margin: 0 auto 1rem; /* Center the hr */
  opacity: 0.8;
}

.choose-us-block p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Image styling for desktop */
.choose-us-image {
  width: 100%;
  max-width: 800px; /* Larger max-width for better desktop display */
  height: 400px; /* Consistent height */
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  filter: brightness(1.05) contrast(1.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
}

.choose-us-image:hover {
  transform: scale(1.02);
  filter: brightness(1.08) contrast(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   RESPONSIVE ENHANCEMENTS
===================================================== */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
  .choose-us-block {
    padding: 1.5rem;
  }
  
  .choose-us-block h2 {
    font-size: 2rem;
  }
  
  .choose-us-image {
    height: 350px;
    max-width: 700px;
  }
}

/* Mobile View (up to 768px) */
@media (max-width: 768px) {
  .choose-us-section {
    padding: 3rem 1rem;
  }
  
  .choose-us-container {
    gap: 3rem;
  }
  
  .choose-us-block {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }
  
  .choose-us-block h2 {
    font-size: 1.8rem;
  }
  
  .choose-us-block p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .choose-us-image {
    height: 300px; /* Slightly smaller on mobile */
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  
  .choose-us-image:hover {
    transform: scale(1.01); /* Smaller hover effect on mobile */
  }
}

/* Small Mobile View (up to 480px) */
@media (max-width: 480px) {
  .choose-us-section {
    padding: 2rem 0.5rem;
  }
  
  .choose-us-block {
    padding: 1.25rem 0.75rem;
    gap: 1rem;
  }
  
  .choose-us-block h2 {
    font-size: 1.6rem;
  }
  
  .choose-us-block p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .choose-us-image {
    height: 250px; /* Optimal height for small screens */
  }
}

/* Desktop optimization for larger screens */
@media (min-width: 1200px) {
  .choose-us-container {
    gap: 5rem;
  }
  
  .choose-us-block {
    padding: 3rem;
  }
  
  .choose-us-block h2 {
    font-size: 2.5rem;
  }
  
  .choose-us-block p {
    font-size: 1.2rem;
    max-width: 800px;
  }
  
  .choose-us-image {
    height: 450px;
    max-width: 900px;
  }
}

/* =====================================================
   GALLERY
===================================================== */
.gallery-section {
  padding: 3rem 1rem;
}

.gallery-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  position: relative;
}

.gallery-section .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #fff;
  margin: 15px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 25px;
}

.gallery-item {
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-caption {
  padding: 15px;
}

.gallery-caption h3 {
  color: #fff;
}

.gallery-caption p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-social {
  margin: 1rem 0;
}

.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.3rem;
}

.footer-bottom {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* =====================================================
   MOBILE MENU (Testimonial Style)
===================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  transition: right 0.35s ease;
  border-left: 1px solid #333;
}

.mobile-menu-panel.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-menu-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #333;
}

.mobile-menu-title {
  font-size: 1.8rem;
  margin: 0;
}

.mobile-menu-subtitle {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: var(--muted);
}

.mobile-menu-content {
  padding: 2rem;
}

.mobile-menu-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-menu-nav li {
  margin-bottom: 0.5rem;
}

.mobile-menu-nav a {
  display: block;
  padding: 1rem;
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: var(--accent);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-menu-btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius);
}

.mobile-menu-btn-primary:hover {
  background: var(--accent-dark);
}

.mobile-menu-btn-secondary {
  border: 1px solid #333;
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}

.mobile-menu-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .brand .logo {
    width: 25%;
    height: 25%;
  }
}

@media (max-width: 720px) {
  .main-nav ul {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  }

  .choose-us-block h1 {
    font-size: 1.8rem;
  }

  .choose-us-block p {
    font-size: 1rem;
  }
}
