/* =============================================
   GREEN PALM CITY - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
  --primary-green: #0d7a3e;
  --primary-dark: #065a2b;
  --primary-light: #15a050;
  --accent-gold: #f4c430;
  --accent-gold-dark: #d4a520;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --bg-cream: #fefef5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.script-heading {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 400;
  color: var(--text-light);
}

/* Islamic Pattern Border */
.pattern-border {
  height: 30px;
  background: 
    linear-gradient(90deg, var(--accent-gold) 25%, transparent 25%),
    linear-gradient(90deg, transparent 75%, var(--accent-gold) 75%),
    linear-gradient(0deg, var(--accent-gold) 25%, transparent 25%),
    linear-gradient(0deg, transparent 75%, var(--accent-gold) 75%);
  background-size: 20px 20px;
  background-color: var(--primary-dark);
  opacity: 0.9;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2.5rem;
}

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

.logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

/* Nav Button - Download Brochure */
.nav-links .btn {
  margin-left: 10px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.btn-download {
  position: relative;
  overflow: hidden;
}

.btn-download .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 6px;
  transition: var(--transition);
}

.btn-download:hover .btn-icon {
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 196, 48, 0.4);
}

.btn-secondary {
  background: var(--primary-green);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 50%, #043d1f 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L50 90 M30 30 Q50 20 70 30 M25 45 Q50 30 75 45 M20 60 Q50 45 80 60' stroke='%23ffffff10' fill='none' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tagline {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.palm-emoji {
  font-size: 4rem;
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50% { transform: translateY(-50%) rotate(5deg); }
}

/* =============================================
   SECTIONS - General
   ============================================= */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.section-white {
  background: #ffffff;
}

.section-green {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
}

.section-green h2,
.section-green h3 {
  color: var(--text-light);
}

.section-green p {
  color: rgba(255, 255, 255, 0.9);
}

/* =============================================
   PLOT TYPES SECTION
   ============================================= */
.plots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.plot-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-green);
}

.plot-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.plot-card.commercial {
  border-top-color: var(--accent-gold);
}

.plot-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.plot-type {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.plot-size {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
}

.plot-size span {
  font-size: 1rem;
  font-weight: 400;
}

.plot-features {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =============================================
   PROGRESS SECTION
   ============================================= */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.progress-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.progress-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.progress-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.progress-placeholder span {
  font-size: 4rem;
  margin-bottom: 10px;
}

.progress-placeholder p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-content {
  padding: 25px;
}

.progress-status {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.status-ongoing {
  background: #fff3cd;
  color: #856404;
}

.status-upcoming {
  background: #cce5ff;
  color: #004085;
}

.progress-content h3 {
  margin-bottom: 10px;
}

.progress-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =============================================
   PRICE ALERT BANNER
   ============================================= */
.price-alert {
  background: linear-gradient(90deg, #ff6b6b 0%, #ee5a5a 100%);
  padding: 25px 0;
  text-align: center;
}

.price-alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.price-alert h3 {
  color: var(--text-light);
  font-size: 1.5rem;
}

.price-alert p {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.3rem;
}

/* =============================================
   CONTACT CARDS
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.contact-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--text-light);
}

.contact-card h3 {
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.contact-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-green);
}

.contact-phone a:hover {
  color: var(--primary-light);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

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

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.feature-text p {
  font-size: 0.9rem;
  margin: 0;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Team Section */
.team-photo-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.team-photo {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
}

.team-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.team-caption {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin-top: 40px;
}

.highlight-box h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.highlight-box p {
  color: var(--text-dark);
  opacity: 0.9;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-details {
  padding: 20px 0;
}

.contact-details h3 {
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.detail-text h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.detail-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.detail-text a {
  color: var(--primary-green);
}

.detail-text a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #032614 100%);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

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

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content,
  .contact-info-section {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .palm-emoji {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .price-alert-content {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .plot-card,
  .contact-card,
  .progress-card {
    padding: 20px;
  }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--primary-green); }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Page Header for inner pages */
.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--accent-gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

