/* ============================================
   DEAN LUXURY ROYAL - LUXURY LANDSCAPING
   Premium Website Styles
   ============================================ */

/* CSS Variables */
:root {
  --gold: #c9a84c;
  --dark: #0a0a0f;
  --navy: #0d1117;
  --white: #ffffff;
  --overlay: rgba(10, 10, 15, 0.7);
  --transition: all 0.3s ease;
}

/* Font Awesome Icons */
.fa, .fas, .fab {
  color: var(--gold);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
}

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

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

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

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo .crown {
  font-size: 1.8rem;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--gold);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.8), rgba(13, 17, 23, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

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

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--gold);
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.3);
}

.btn-gold {
  width: 100%;
  background-color: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.3);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--navy);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
  transition: var(--transition);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(201, 168, 76, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(10, 10, 15, 0.8));
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background-color: var(--navy);
  color: var(--white);
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: var(--gold);
  cursor: pointer;
  z-index: 10000;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--navy);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--gold);
  font-weight: 600;
}

/* Stats Bar */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--dark));
  padding: 3rem 0;
  margin: 3rem 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.contact-item a:hover {
  color: var(--gold);
}

/* Form */
.contact-form {
  background-color: var(--navy);
  padding: 2.5rem;
  border-radius: 10px;
  border: 2px solid rgba(201, 168, 76, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 5px;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
}

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

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background-color: var(--navy);
  color: var(--white);
}

.success-message {
  display: none;
  background-color: rgba(76, 175, 80, 0.2);
  border: 2px solid #4caf50;
  color: #4caf50;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

/* Map */
.map-container {
  margin-top: 3rem;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 168, 76, 0.1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background-color: var(--navy);
  padding: 3rem 0 1.5rem;
  border-top: 2px solid var(--gold);
  margin-top: 5rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  border: 2px solid var(--gold);
}

.scroll-top.show {
  display: flex;
}

.scroll-top:hover {
  background-color: transparent;
  color: var(--gold);
  transform: translateY(-5px);
}

/* Page Banner (for inner pages) */
.page-banner {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  margin-top: 70px;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.85), rgba(13, 17, 23, 0.85));
  z-index: 1;
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--navy);
  padding: 2.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(201, 168, 76, 0.2);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--dark));
  padding: 5rem 0;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin: 5rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 0;
    gap: 0;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-banner h1 {
    font-size: 2.5rem;
  }

  .cards-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .scroll-top {
    bottom: 80px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .card,
  .service-card {
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .whatsapp-float,
  .scroll-top,
  .menu-toggle {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }
}
