/* Manzil Mark Reality LLP - Main Stylesheet */

:root {
  --color-black: #111111;
  --color-charcoal: #2c2c2c;
  --color-dark: #1a1a1a;
  --color-grey: #666666;
  --color-light-grey: #999999;
  --color-border: #e5e5e0;
  --color-cream: #fafaf8;
  --color-white: #ffffff;
  --color-accent: #8b6914;
  --color-accent-hover: #6d5210;
  --color-green: #2d6a4f;
  --color-green-light: #40916c;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 40px);
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-grey);
  line-height: 1.7;
}

.section-header-light .section-title {
  color: var(--color-white);
}

.section-header-light .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.header-contact-link:hover {
  color: var(--color-white);
}

.header-hours {
  color: rgba(255, 255, 255, 0.65);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-grey);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background-color: rgba(139, 105, 20, 0.08);
}

.nav-cta {
  background-color: var(--color-accent);
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background-color: var(--color-accent-hover) !important;
  color: var(--color-white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-charcoal);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.88) 0%, rgba(44, 44, 44, 0.75) 50%, rgba(26, 26, 26, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: rgba(139, 105, 20, 0.25);
  border: 1px solid rgba(139, 105, 20, 0.5);
  color: #d4a843;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: #d4a843;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* About */
.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.about-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-grey);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  margin: 28px 0 32px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-charcoal);
}

.about-features svg {
  flex-shrink: 0;
  color: var(--color-green);
  margin-top: 2px;
}

/* Services */
.services {
  background-color: var(--color-charcoal);
  background-image: linear-gradient(180deg, var(--color-dark) 0%, var(--color-charcoal) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(139, 105, 20, 0.2);
  border-radius: var(--radius-sm);
  color: #d4a843;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: #d4a843;
}

.service-link:hover {
  color: var(--color-white);
}

/* Properties */
.properties {
  background-color: var(--color-cream);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.property-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.property-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-tag-rent {
  background-color: var(--color-accent);
}

.property-body {
  padding: 24px;
}

.property-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 8px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-grey);
  margin-bottom: 16px;
}

.property-details {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.property-details span {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.property-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
}

.properties-cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.properties-cta p {
  font-size: 17px;
  color: var(--color-grey);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
  background-color: var(--color-dark);
  background-image: linear-gradient(180deg, var(--color-charcoal) 0%, var(--color-dark) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.testimonial-stars {
  color: #d4a843;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
}

.testimonial-card footer span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.footer-brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.footer-brand-tag {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-contact-item:hover {
  color: var(--color-white);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d4a843;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition);
}

.footer-social a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.footer-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-form-wrap > p {
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}

.form-note.success {
  color: #40916c;
}

.form-note.error {
  color: #e63946;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-top-right {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 36px);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .section {
    padding: 70px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 320px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .header-top-left {
    gap: 12px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
