/* Elite Resort Care - Luxury Property Management Site */
:root {
  --navy: #0a1628;
  --navy-light: #1a2a44;
  --navy-mid: #1e3a5f;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #5a6a7a;
  --shadow: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.55), rgba(10,22,40,0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  margin-bottom: 24px;
  line-height: 1.25;
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid var(--gold);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Quote section */
.quote-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.quote-image {
  background-size: cover;
  background-position: center;
}

.quote-text {
  background: var(--navy-mid);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.quote-text blockquote {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.4;
}

.quote-text cite {
  display: block;
  margin-top: 16px;
  font-size: 1rem;
  color: var(--gold);
  font-style: normal;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
}

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

/* About / Welcome */
.about-section {
  background: var(--white);
}

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

.about-content h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 24px;
}

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

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Why Choose */
.why-section {
  background: var(--navy);
  color: var(--white);
}

.why-section .section-title {
  color: var(--gold-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  padding: 28px;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}

.why-card h4 {
  color: var(--gold-light);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Contact */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

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

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

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-quote {
  margin-top: 40px;
  padding: 28px;
  background: var(--navy-mid);
  color: var(--gold-light);
  border-radius: 4px;
  font-style: italic;
  font-size: 1.15rem;
}

.contact-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--gold);
  font-style: normal;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin-bottom: 28px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Service detail page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding: 40px 0;
  border-bottom: 1px solid #e8e4dc;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}

.service-detail-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.service-detail-content p {
  color: var(--text-muted);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.cta-banner p {
  margin-bottom: 28px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .quote-section,
  .about-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

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

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 12px 16px;
  }

  .logo img {
    height: 36px;
  }

  .quote-text blockquote {
    font-size: 1.4rem;
  }
}