/* ===== Ousai Group Properties - Main Stylesheet ===== */

/* --- Google Fonts --- */
/* --- CSS Variables --- */
:root {
  --primary-blue: #004274;
  --primary-blue-hover: #003a64;
  --accent-blue: #00aeff;
  --accent-gold: #a58a56;
  --accent-gold-hover: #b89a4a;
  --text-dark: #2e3e49;
  --text-medium: #5a6a75;
  --text-light: #8b9898;
  --text-white: #ffffff;
  --body-bg: #f8f8f8;
  --white: #ffffff;
  --navy-dark: #153965;
  --gold-light: #d4c18b;
  --dark-btn: #211c25;
  --border-light: #dce0e0;
  --border-lighter: #efefef;
  --gray-100: #f7f8f8;
  --gray-200: #e6e6e6;
  --gray-300: #cccccc;
  --gray-400: #a1a7a8;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Lora', Georgia, serif;
  --font-footer: 'Roboto', Arial, sans-serif;

  --header-height: 60px;
  --max-width: 1210px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: var(--text-dark);
  background-color: var(--body-bg);
  min-height: 100vh;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--primary-blue);
  border-bottom: 1px solid var(--primary-blue);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.header-logo {
  flex-shrink: 0;
  line-height: 0;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo .logo-mobile {
  display: none;
  height: 30px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.main-nav li a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: var(--header-height);
  color: var(--text-white);
  white-space: nowrap;
}

.main-nav li a:hover,
.main-nav li a.active {
  color: var(--accent-blue);
  background-color: rgba(255, 255, 255, 0.2);
}

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 8px 0;
  z-index: 1001;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li a {
  color: var(--navy-dark);
  height: auto;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid #f0f0f0;
}

.main-nav .dropdown-menu li:last-child a {
  border-bottom: none;
}

.main-nav .dropdown-menu li a:hover {
  color: var(--gold-light);
  background-color: rgba(0, 0, 0, 0.03);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-favorites {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}

.header-favorites:hover {
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.1);
}

.header-favorites svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-favorites .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  padding: 20px 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .mobile-nav {
  font-family: var(--font-heading);
}

.mobile-menu .mobile-nav a {
  display: block;
  padding: 12px 20px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-lighter);
}

.mobile-menu .mobile-nav a:hover {
  color: var(--accent-gold);
  background: var(--gray-100);
}

/* --- Hero / Page Banner --- */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--text-white);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 66, 116, 0.75) 0%, rgba(0, 30, 60, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Page Banner (shorter hero for subpages) */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-blue);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 66, 116, 0.8);
}

.page-banner .hero-content h1 {
  font-size: 38px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  color: var(--text-white);
}

.btn-secondary {
  background-color: var(--accent-gold);
  color: var(--text-white);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn-outline:hover {
  background-color: var(--text-white);
  color: var(--primary-blue);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-dark:hover {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-gray {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-medium);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.section-title-bar {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 16px auto;
}

/* --- Content Sections --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse .split-text {
  direction: ltr;
}

.split-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.split-text p {
  color: var(--text-medium);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
  margin-bottom: 16px;
}

.service-card .service-icon img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.value-card {
  background: var(--white);
  padding: 40px 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-lighter);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

/* --- Trusted Partner Section --- */
.trusted-partner {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 80px 0;
}

.trusted-partner .split-text h2 {
  color: var(--text-white);
  font-size: 42px;
  line-height: 1.15;
}

.trusted-partner .split-text p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 3/2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--text-white);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  border: none;
  font-size: 30px;
  padding: 16px 12px;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* --- Contact Form --- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-detail svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent-gold);
  margin-top: 2px;
}

.contact-detail a {
  color: var(--text-dark);
  font-size: 15px;
}

.contact-detail a:hover {
  color: var(--accent-gold);
}

.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(165, 138, 86, 0.15);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-gold);
}

.form-check label {
  font-size: 13px;
  color: var(--text-medium);
}

.form-feedback {
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Testimonials --- */
.testimonial-block {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-block .quote-icon {
  font-size: 48px;
  color: var(--accent-gold);
  margin-bottom: 16px;
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medium);
  font-style: italic;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--accent-gold);
  color: var(--text-white);
  text-align: center;
  padding: 64px 20px;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-white);
}

.cta-banner p {
  margin-bottom: 24px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-outline {
  border-color: var(--text-white);
  color: var(--text-white);
}

.cta-banner .btn-outline:hover {
  background-color: var(--text-white);
  color: var(--accent-gold);
}

/* --- Project Detail Page --- */
.project-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 60, 0.7);
}

.project-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 700px;
}

.project-hero .hero-content h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.project-hero .hero-content p {
  font-size: 16px;
  line-height: 1.7;
}

.project-content {
  padding: 60px 0;
}

.project-content p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-location {
  padding: 60px 0;
  background: var(--white);
}

.project-location h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 16px;
}

.project-location .map-placeholder {
  background: var(--gray-100);
  height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 16px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-light);
  background: var(--white);
  border-bottom: 1px solid var(--border-lighter);
}

.breadcrumbs a {
  color: var(--text-medium);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs span {
  margin: 0 8px;
}

/* --- Thank You Page --- */
.thank-you-section {
  text-align: center;
  padding: 100px 20px;
}

.thank-you-section .check-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: #d4edda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-section .check-icon svg {
  width: 40px;
  height: 40px;
  color: #28a745;
}

.thank-you-section h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 12px;
}

.thank-you-section p {
  color: var(--text-medium);
  margin-bottom: 28px;
  font-size: 16px;
}

/* --- 404 Page --- */
.error-section {
  text-align: center;
  padding: 100px 20px;
}

.error-section h1 {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--primary-blue);
  margin-bottom: 12px;
  line-height: 1;
}

.error-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 12px;
}

.error-section p {
  color: var(--text-medium);
  margin-bottom: 28px;
}

/* --- Floating Contact Widget --- */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  color: var(--text-white);
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-btn.phone {
  background-color: var(--accent-gold);
}

.floating-btn.email {
  background-color: var(--primary-blue);
}

.floating-btn.toggle {
  background-color: var(--dark-btn);
  font-size: 24px;
  z-index: 999;
}

.floating-btn.toggle.active {
  background-color: var(--accent-gold);
}

.floating-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-menu.active {
  display: flex;
}

.floating-btn .tooltip {
  position: absolute;
  right: 64px;
  background: var(--text-dark);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-btn:hover .tooltip {
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-blue);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-footer);
  font-size: 14px;
  font-weight: 300;
}

.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: var(--text-white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .content-split.reverse {
    direction: ltr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .project-hero .hero-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-logo .logo-desktop {
    display: none;
  }

  .header-logo .logo-mobile {
    display: block;
  }

  .header-favorites {
    display: none;
  }

  .hero-section {
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trusted-partner .split-text h2 {
    font-size: 28px;
  }

  .floating-contact {
    bottom: 16px;
    right: 16px;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Ousai editorial refinement ===== */
:root {
  --primary-blue: #132330;
  --primary-blue-hover: #0b1720;
  --accent-blue: #b5965a;
  --accent-gold: #b5965a;
  --accent-gold-hover: #c9aa6b;
  --text-dark: #1b2730;
  --text-medium: #657078;
  --body-bg: #f7f5f1;
  --gray-100: #f1eee8;
  --border-light: #ddd8ce;
  --max-width: 1280px;
  --header-height: 78px;
}

body { background: var(--body-bg); color: var(--text-dark); }
.site-header { height: var(--header-height); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(19,35,48,.08); backdrop-filter: blur(16px); }
.site-header.scrolled { box-shadow: 0 12px 35px rgba(19,35,48,.10); }
.header-inner { padding: 0 28px; }
.header-logo img { height: 47px; width: auto; object-fit: contain; }
.header-logo .logo-mobile { height: 32px; }
.main-nav { font-family: var(--font-body); font-size: 12px; letter-spacing: 1.9px; }
.main-nav li a { height: var(--header-height); color: var(--primary-blue); padding: 0 17px; }
.main-nav li a:hover, .main-nav li a.active { color: var(--accent-gold); background: transparent; }
.main-nav .dropdown-menu { background: #fff; border-top: 2px solid var(--accent-gold); box-shadow: 0 20px 45px rgba(19,35,48,.12); }
.main-nav .dropdown-menu a { height: auto; padding: 15px 20px; font-size: 11px; letter-spacing: 1.4px; }
.header-favorites { color: var(--primary-blue); }
.hamburger span { background: var(--primary-blue); }
.hero-section { min-height: min(700px, calc(100vh - 78px)); margin-top: 0; background-position: center; }
.hero-section::before, .project-hero::before, .page-banner::before { background: linear-gradient(90deg, rgba(10,22,30,.74), rgba(10,22,30,.18) 70%), linear-gradient(0deg, rgba(10,22,30,.36), transparent 50%); }
.hero-content { max-width: 870px; text-align: left; margin-left: max(0px, calc((100vw - var(--max-width))/2)); padding: 70px 28px; }
.hero-content::before { content: 'OUSAI PROPERTIES · CYPRUS'; display: block; color: #d5bb83; font: 500 11px/1 var(--font-body); letter-spacing: 3px; margin-bottom: 22px; }
.hero-content h1 { max-width: 820px; font-size: clamp(38px, 5vw, 74px); line-height: 1.06; letter-spacing: -.035em; }
.hero-content p { max-width: 560px; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.82); }
.btn { border-radius: 0; letter-spacing: 1.7px; font-size: 10px; padding: 15px 25px; }
.btn-outline { border-color: #d5bb83; color: #fff; }
.btn-outline:hover { background: var(--accent-gold); border-color: var(--accent-gold); }
.section { padding: 110px 0; }
.section-gray { background: #f1eee8; }
.content-split { gap: clamp(44px, 8vw, 120px); }
.split-text h2, .section-header h2, .trusted-partner .split-text h2 { font-size: clamp(31px, 4vw, 51px); line-height: 1.1; letter-spacing: -.035em; }
.split-text p, .section-header p { max-width: 560px; line-height: 1.9; color: var(--text-medium); }
.split-image { position: relative; }
.split-image::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(181,150,90,.55); z-index: 0; }
.split-image img { position: relative; z-index: 1; aspect-ratio: 1.45; object-fit: cover; }
.section-header { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-title-bar { width: 54px; height: 2px; background: var(--accent-gold); margin: 22px auto 0; }
.trusted-partner { background: var(--primary-blue); color: #fff; padding: 110px 0; }
.trusted-partner .split-text h2 { color: #fff; }
.trusted-partner .split-text p { color: rgba(255,255,255,.68); }
.service-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); padding: 25px 20px; min-height: 135px; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(213,187,131,.65); background: rgba(255,255,255,.09); }
.service-icon { background: transparent; }
.service-card h4 { color: #fff; font: 500 14px/1.35 var(--font-body); }
.cta-banner { background: linear-gradient(110deg, rgba(19,35,48,.95), rgba(19,35,48,.75)), url('../assets/OusaiPropertiesGroup-1024x692.webp') center/cover; padding: 105px 0; }
.cta-banner h2 { font-size: clamp(32px, 4vw, 52px); }
.site-footer { background: #0d1820; }
.site-footer a:hover { color: #d5bb83; }
.footer-bottom { color: rgba(255,255,255,.46); }
.floating-contact .toggle, .floating-contact .floating-btn { background: var(--accent-gold); }
.floating-contact .floating-btn:hover { background: var(--primary-blue); }
.project-hero, .page-banner { min-height: 440px; }
.project-hero .hero-content, .page-banner .hero-content { padding-top: 80px; }
.project-hero .hero-content h1, .page-banner .hero-content h1 { font-size: clamp(40px, 6vw, 72px); }
.gallery-grid img { transition: transform .45s ease, filter .45s ease; }
.gallery-grid a:hover img { transform: scale(1.035); filter: saturate(.86); }
.map-frame { height: 400px; overflow: hidden; border: 1px solid rgba(19,35,48,.12); background: #e9e6df; box-shadow: 0 16px 36px rgba(19,35,48,.08); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.gallery-grid { content-visibility: auto; contain-intrinsic-size: 1200px 1800px; }
#lla-award-fallback { position: fixed; top: 100px; right: 10px; z-index: 9998; display: block; width: 50px; height: 50px; overflow: hidden; border-radius: 5px; background: #fff; box-shadow: 0 8px 22px rgba(19,35,48,.2); }
#lla-award-fallback img { display: block; width: 50px; height: 50px; object-fit: contain; }
.eyebrow { color: var(--accent-gold) !important; font: 600 10px/1.2 var(--font-body); letter-spacing: 2.8px; text-transform: uppercase; }
.project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { color: var(--text-dark); display: block; }
.project-card img { width: 100%; aspect-ratio: 1.18; object-fit: cover; margin-bottom: 22px; transition: transform .45s ease; }
.project-card:hover img { transform: translateY(-6px); }
.project-card-meta { color: var(--accent-gold); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
.project-card h3 { margin: 8px 0 12px; font: 500 28px/1.15 var(--font-heading); }
.project-card-link { border-bottom: 1px solid var(--accent-gold); color: var(--primary-blue); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; padding-bottom: 4px; }
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agent-card { min-height: 190px; padding: 28px; border-top: 2px solid var(--accent-gold); background: #fff; box-shadow: 0 15px 40px rgba(19,35,48,.06); }
.agent-card h3 { font: 500 28px/1.1 var(--font-heading); margin-bottom: 12px; }
.agent-card p { color: var(--text-medium); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
input, textarea, select { border-radius: 0 !important; border-color: #d4cec3 !important; background: rgba(255,255,255,.72) !important; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-gold) !important; box-shadow: 0 0 0 3px rgba(181,150,90,.14) !important; outline: 0; }

@media (max-width: 768px) {
  :root { --header-height: 68px; }
  .header-inner { padding: 0 18px; }
  .site-header { height: var(--header-height); }
  .hero-section { min-height: 620px; }
  .hero-content { margin: 0; padding: 55px 24px; align-self: end; }
  .hero-content h1 { font-size: clamp(36px, 11vw, 52px); }
  .section { padding: 76px 0; }
  .split-image::after { inset: 12px -10px -10px 10px; }
  .trusted-partner { padding: 78px 0; }
  .project-cards { grid-template-columns: 1fr; gap: 44px; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .map-frame { height: 330px; }
  #lla-award-fallback { top: 82px; right: 8px; }
}
