/* Base Styles & Variables */
:root {
  --primary-color: #0d5c2a;
  --secondary-color: #1b5e20;
  --accent-color: #c8e6c9;
  --text-color: #333;
  --light-text: #666;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Palm Hills Info Section */
.palm-hills-info {
  padding: 30px 0;
  background: var(--white);
  text-align: center;
}

.palm-hills-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.palm-hills-logo {
  height: 150px;
  width: auto;
}

.palm-hills-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  font-family: 'Playfair Display', serif;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.logo p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--light-text);
}

.nav ul {
  display: flex;
}

.nav ul li {
  margin-left: 25px;
}

.nav ul li a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav ul li a:hover:after {
  width: 100%;
}

.header-cta {
  margin-left: 20px;
}

.header-cta .btn {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.header-cta .btn i {
  margin-right: 8px;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.drawer-header .logo h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.drawer-header .logo p {
  font-size: 0.8rem;
}

.close-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-nav ul {
  display: block;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  display: block;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.mobile-nav ul li a {
  display: block;
  padding: 20px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav ul li a:hover {
  background: var(--primary-color);
  color: white;
  padding-left: 25px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('كمبوند-بامبو-بالم-هيلز.webp') center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 60px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-cta .btn {
  margin: 0;
  flex: 0 0 auto;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-video {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-video video {
  width: 100%;
  height: auto;
  display: block;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

/* Master Plan Section */
.master-plan {
  padding: 100px 0;
  background: var(--white);
}

.master-plan .section-header p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-top: 10px;
}

.master-plan-content {
  display: flex;
  justify-content: center;
}

.master-plan-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 100%;
  height: auto;
}

/* Location Section */
.location {
  padding: 100px 0;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-style: italic;
}

.location-features li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.location-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 30px;
  padding-top: 5px;
}

.map-placeholder {
  background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
  border-radius: 10px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.map-placeholder:before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.map-text {
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 1;
}

.map-text h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: white;
}

.map-text p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Units Section */
.units {
  padding: 100px 0;
  background: var(--light-bg);
}

.units-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

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

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

.unit-image {
  height: 200px;
  overflow: hidden;
}

.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.unit-card:hover .unit-image img {
  transform: scale(1.05);
}

.unit-details {
  padding: 20px;
}

.unit-details h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.unit-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.unit-details ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.unit-details ul li:before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.finishing {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.finishing h3 {
  text-align: center;
  margin-bottom: 20px;
}

.finishing ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.finishing ul li {
  margin: 10px 20px;
  text-align: center;
  flex: 1 0 200px;
}

.finishing ul li:before {
  display: block;
  font-size: 2rem;
  content: '✓';
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Community Section */
.community {
  padding: 100px 0;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.feature:hover {
  background: var(--light-bg);
}

.feature i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature h3 {
  margin-bottom: 15px;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-placeholder {
  background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
  border-radius: 10px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.gallery-placeholder:before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.gallery-content {
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 1;
}

.gallery-content i {
  font-size: 3rem;
  color: white;
  margin-bottom: 15px;
}

.gallery-content h3 {
  margin-bottom: 10px;
  color: white;
}

.gallery-content p {
  margin-bottom: 0;
}

/* Payment Section */
.payment {
  padding: 100px 0;
  background: var(--light-bg);
}

.payment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.payment-summary {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.payment-details, .investment-benefits {
  margin-bottom: 2rem;
}

.payment-details li, .investment-benefits li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.payment-details li:before, .investment-benefits li:before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.payment-infographic {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
}

.step:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

/* Why Choose Section */
.why-choose {
  padding: 100px 0;
}

.why-choose-content {
  max-width: 800px;
  margin: 0 auto;
}

.benefits li {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 5px;
  background: var(--light-bg);
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
}

.benefits li:hover {
  background: var(--accent-color);
  transform: translateX(5px);
}

.benefits li i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
  min-width: 30px;
  padding-top: 5px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(rgba(13, 92, 42, 0.9), rgba(13, 92, 42, 0.9)) center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.testimonials .section-header h2:after {
  background: var(--white);
}

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

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #c8e6c9; /* Light green color for the testimonial text */
}

.author {
  font-weight: 600;
  font-style: normal;
  color: #a5d6a7; /* Slightly darker green for the author text */
}


/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 92, 42, 0.1);
}

/* Form Message */
#formMessage {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 15px;
  margin-top: 15px;
  display: none;
}

#formMessage p {
  margin: 0;
  font-weight: 500;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

.gallery .section-header p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .gallery-item img {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-contact h3,
.footer-social h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-contact h3:after,
.footer-social h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--white);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  width: 20px;
}

.social-icons {
  display: flex;
}

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

.social-icons a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

/* Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
}

.floating-call-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content,
  .location-content,
  .payment-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .about-image,
  .location-map {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .finishing ul {
    flex-direction: column;
  }
  
  .finishing ul li {
    margin: 15px 0;
  }
  
  .floating-call-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 90vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}