/* Enhanced Caribbean Style CSS with Seathai Properties branding */

:root {
  /* Primary colors */
  --primary-blue: #0066FF; /* Seathai Properties blue */
  --primary-navy: #001440; /* Seathai Properties navy */
  --caribbean-turquoise: #40E0D0; /* Caribbean turquoise */
  --caribbean-yellow: #FFD700; /* Sunny yellow */
  --caribbean-brown: #A67B5B; /* Clear brown */
  --white: #FFFFFF;
  
  /* Secondary colors */
  --light-turquoise: #7FFFD4;
  --light-yellow: #FFF8DC;
  --light-brown: #D2B48C;
  --light-blue: #E6F0FF;
  --dark-blue: #00264D;
  
  /* Font families */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.6;
  background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-navy);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--caribbean-turquoise);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

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

.btn:hover {
  background-color: var(--caribbean-turquoise);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(64, 224, 208, 0.3);
}

.btn-secondary {
  background-color: var(--caribbean-brown);
  box-shadow: 0 4px 8px rgba(166, 123, 91, 0.2);
}

.btn-secondary:hover {
  background-color: var(--caribbean-yellow);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  border-bottom: 4px solid var(--caribbean-turquoise);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 80px; /* Match header height */
  width: auto;
  transition: all 0.3s ease;
}

.logo-triangle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid var(--light-turquoise);
  opacity: 0.2;
  z-index: -1;
  transform: rotate(180deg);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
  position: relative;
}

nav ul li a {
  color: var(--primary-navy);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s ease;
}

nav ul li a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  transition: all 0.3s ease;
}

nav ul li a:hover:before,
nav ul li a.active:before {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-blue);
}

.language-toggle {
  display: flex;
  align-items: center;
}

.language-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 5px;
  border-radius: 3px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.language-toggle button.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.language-toggle button:not(.active) {
  color: var(--primary-navy);
}

.language-toggle button:hover:not(.active) {
  background-color: var(--light-blue);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 20, 64, 0.7), rgba(0, 102, 255, 0.5));
  z-index: 1;
}

.hero-section:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-buttons .btn {
  min-width: 180px;
}

/* Search Section */
.search-section {
  background-color: var(--white);
  padding: 30px 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background-image: linear-gradient(135deg, rgba(64, 224, 208, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 1px solid rgba(64, 224, 208, 0.2);
}

.search-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.search-box {
  position: relative;
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-navy);
}

.search-box select,
.search-box input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.search-box select:focus,
.search-box input:focus {
  outline: none;
  border-color: var(--caribbean-turquoise);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
}

.search-btn {
  grid-column: span 1;
  align-self: end;
  height: 50px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.search-btn:hover {
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--primary-blue));
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(64, 224, 208, 0.3);
}

.search-btn i {
  font-size: 1.2rem;
}

/* Featured Properties Section */
.featured-properties {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
}

.featured-properties:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%2340E0D0" stroke-width="0.5" stroke-dasharray="5,5" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.property-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(64, 224, 208, 0.2);
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  z-index: 2;
}

.property-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--caribbean-yellow);
  color: var(--primary-navy);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
}

.property-details {
  padding: 20px;
}

.property-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.property-location {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--caribbean-brown);
  font-weight: 500;
}

.property-location i {
  margin-right: 5px;
  color: var(--primary-blue);
}

.property-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
}

.feature i {
  color: var(--caribbean-turquoise);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.property-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  color: var(--white);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.property-btn:hover {
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--primary-blue));
  color: var(--white);
}

/* Locations Section */
.locations-section {
  padding: 80px 0;
  background-color: var(--light-blue);
  position: relative;
  overflow: hidden;
}

.locations-section:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--caribbean-yellow);
  opacity: 0.1;
  border-radius: 50%;
}

.locations-section:after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--caribbean-turquoise);
  opacity: 0.1;
  border-radius: 50%;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.location-card {
  position: relative;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.location-card:hover .location-image {
  transform: scale(1.1);
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 20, 64, 0.8), transparent);
  color: var(--white);
  transition: all 0.3s ease;
}

.location-card:hover .location-overlay {
  background: linear-gradient(to top, rgba(64, 224, 208, 0.8), transparent);
}

.location-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--white);
}

.location-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
}

.why-choose-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="%23FFD700" opacity="0.3" /></svg>');
  opacity: 0.5;
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--caribbean-turquoise);
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-blue), var(--caribbean-turquoise));
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--light-blue), var(--light-turquoise));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-navy);
}

.feature-desc {
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-blue);
  position: relative;
  overflow: hidden;
}

.testimonials:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M30,10 Q50,30 30,50 Q10,70 30,90" fill="none" stroke="%2340E0D0" stroke-width="1" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--caribbean-turquoise);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 5px;
}

.testimonial-location {
  color: var(--caribbean-brown);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150"><path d="M0,75 C25,50 75,100 150,75" fill="none" stroke="%2340E0D0" stroke-width="2" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn {
  background-color: var(--caribbean-yellow);
  color: var(--primary-navy);
  font-weight: 600;
  padding: 15px 30px;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-content .btn:hover {
  background-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise), var(--caribbean-yellow));
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  margin-right: 15px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--caribbean-turquoise);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-newsletter h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--caribbean-turquoise);
  transform: translateX(5px);
}

.contact-info div {
  display: flex;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info div i {
  margin-right: 15px;
  color: var(--caribbean-turquoise);
  font-size: 1.2rem;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--caribbean-turquoise);
  color: var(--primary-navy);
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--caribbean-yellow);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Properties Page Styles */
.properties-header {
  background: linear-gradient(to right, var(--primary-navy), var(--primary-blue));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.properties-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 C25,25 75,75 100,50" fill="none" stroke="%2340E0D0" stroke-width="1" stroke-dasharray="5,5" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.properties-header h1 {
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.properties-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.filter-section {
  padding: 30px 0;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: 10px;
  background-image: linear-gradient(135deg, rgba(64, 224, 208, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.filter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.filter-box {
  position: relative;
}

.filter-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-navy);
}

.filter-box select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.filter-box select:focus {
  outline: none;
  border-color: var(--caribbean-turquoise);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
}

.filter-btn {
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-btn:hover {
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--primary-blue));
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(64, 224, 208, 0.3);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.filter-tag {
  background-color: var(--light-blue);
  color: var(--primary-navy);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.filter-tag i {
  margin-left: 5px;
  cursor: pointer;
  color: var(--primary-blue);
}

.properties-list {
  padding: 50px 0;
}

.view-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.view-toggle button {
  background-color: var(--white);
  border: 1px solid #ddd;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-toggle button:first-child {
  border-radius: 5px 0 0 5px;
}

.view-toggle button:last-child {
  border-radius: 0 5px 5px 0;
}

.view-toggle button.active {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.properties-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 5px;
  background-color: var(--white);
  color: var(--primary-navy);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.pagination a.active {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.pagination a:hover:not(.active) {
  background-color: var(--light-blue);
  border-color: var(--light-blue);
}

/* Property Detail Page */
.property-detail-header {
  background-color: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.property-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-title-left h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.property-location-detail {
  display: flex;
  align-items: center;
  color: var(--caribbean-brown);
  font-weight: 500;
}

.property-location-detail i {
  margin-right: 5px;
  color: var(--primary-blue);
}

.property-title-right {
  text-align: right;
}

.property-price-detail {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.property-id {
  font-size: 0.9rem;
  color: #666;
}

.property-gallery {
  padding: 50px 0;
  background-color: var(--light-blue);
}

.gallery-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  height: 500px;
}

.gallery-main {
  grid-row: span 2;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.gallery-more {
  position: relative;
  cursor: pointer;
}

.gallery-more:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 20, 64, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}

.gallery-more:after {
  content: 'View All Photos';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.property-details-section {
  padding: 50px 0;
}

.property-details-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.property-description {
  margin-bottom: 40px;
}

.property-description h2 {
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.property-description p {
  line-height: 1.8;
  color: #666;
}

.property-features-detail h2 {
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-item i {
  color: var(--caribbean-turquoise);
  margin-right: 10px;
  font-size: 1.2rem;
}

.property-sidebar {
  position: sticky;
  top: 100px;
}

.agent-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  border: 1px solid rgba(64, 224, 208, 0.1);
}

.agent-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.agent-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 5px;
}

.agent-title {
  font-size: 0.9rem;
  color: var(--caribbean-brown);
}

.agent-contact {
  margin-bottom: 20px;
}

.agent-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.agent-contact-item i {
  color: var(--primary-blue);
  margin-right: 10px;
  font-size: 1.1rem;
}

.contact-form-sidebar h3 {
  margin-bottom: 20px;
  color: var(--primary-navy);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--caribbean-turquoise);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
}

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

.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, var(--primary-blue), var(--caribbean-turquoise));
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--primary-blue));
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(64, 224, 208, 0.3);
}

.property-map {
  margin-top: 50px;
}

.property-map h2 {
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.similar-properties {
  padding: 50px 0;
  background-color: var(--light-blue);
}

/* Israeli Investors Page */
.investors-header {
  background: linear-gradient(to right, var(--primary-navy), var(--primary-blue));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.investors-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 C25,25 75,75 100,50" fill="none" stroke="%2340E0D0" stroke-width="1" stroke-dasharray="5,5" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.investors-header h1 {
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.investors-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.investors-content {
  padding: 80px 0;
}

.investors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.investor-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
  overflow: hidden;
}

.investor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--caribbean-turquoise);
}

.investor-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-blue), var(--caribbean-turquoise));
}

.investor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-navy);
}

.investor-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.investment-stats {
  padding: 80px 0;
  background-color: var(--light-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.1);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--caribbean-turquoise);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--primary-navy);
  font-weight: 500;
}

/* Contact Page */
.contact-header {
  background: linear-gradient(to right, var(--primary-navy), var(--primary-blue));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 C25,25 75,75 100,50" fill="none" stroke="%2340E0D0" stroke-width="1" stroke-dasharray="5,5" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.contact-header h1 {
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.contact-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-container h2 {
  margin-bottom: 30px;
  color: var(--primary-navy);
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--light-blue), var(--light-turquoise));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.contact-info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.contact-info-content p {
  color: #666;
  line-height: 1.6;
}

.contact-form-container h2 {
  margin-bottom: 30px;
  color: var(--primary-navy);
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(64, 224, 208, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-map {
  margin-top: 80px;
}

.contact-map h2 {
  margin-bottom: 30px;
  color: var(--primary-navy);
  text-align: center;
}

.map-container-large {
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: var(--light-blue);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--caribbean-turquoise);
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary-navy);
}

.team-position {
  color: var(--caribbean-brown);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--light-blue);
  border-radius: 50%;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* RTL Support for Hebrew */
.rtl {
  direction: rtl;
  text-align: right;
}

.rtl nav ul li {
  margin-right: 30px;
  margin-left: 0;
}

.rtl .property-location i,
.rtl .contact-info-item i,
.rtl .feature-item i {
  margin-left: 5px;
  margin-right: 0;
}

.rtl .footer-links h3:after,
.rtl .footer-contact h3:after,
.rtl .footer-newsletter h3:after {
  right: 0;
  left: auto;
}

.rtl .contact-info-icon {
  margin-left: 20px;
  margin-right: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .header-container {
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .property-details-container {
    grid-template-columns: 1fr;
  }
  
  .property-sidebar {
    position: static;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .search-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-btn {
    grid-column: span 2;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  
  .gallery-main {
    grid-row: span 1;
    height: 300px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 15px 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-container {
    grid-template-columns: 1fr;
  }
  
  .search-btn {
    grid-column: span 1;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
    min-height: 500px;
  }
  
  .properties-grid,
  .locations-grid,
  .features-grid,
  .investors-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .property-title-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .property-title-right {
    text-align: left;
    margin-top: 20px;
  }
}

/* Caribbean Style Enhancements */
.palm-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 C60,30 70,50 50,90" fill="none" stroke="%2340E0D0" stroke-width="2" /></svg>');
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.palm-top-right {
  top: 0;
  right: 0;
  transform: rotate(45deg);
}

.palm-bottom-left {
  bottom: 0;
  left: 0;
  transform: rotate(225deg);
}

.wave-decoration {
  position: absolute;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2340E0D0" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.wave-top {
  top: 0;
  transform: rotate(180deg);
}

.wave-bottom {
  bottom: 0;
}

.tropical-gradient {
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.tropical-border {
  border-left: 4px solid var(--caribbean-turquoise);
  border-right: 4px solid var(--caribbean-yellow);
  border-radius: 10px;
}

.tropical-shadow {
  box-shadow: 0 10px 20px rgba(64, 224, 208, 0.1), 0 6px 6px rgba(255, 215, 0, 0.1);
}

/* Additional Caribbean Elements */
.tropical-pattern {
  position: relative;
}

.tropical-pattern:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M0,20 C10,10 30,30 40,20" fill="none" stroke="%2340E0D0" stroke-width="1" opacity="0.5" /></svg>');
  opacity: 0.05;
  z-index: 0;
}

.tropical-accent {
  position: relative;
}

.tropical-accent:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
  border-radius: 3px;
}

.sun-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.sun-top-right {
  top: 50px;
  right: 50px;
}

/* Enhanced Buttons */
.btn-tropical {
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
  color: var(--primary-navy);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-tropical:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-tropical:hover:before {
  left: 100%;
}

.btn-tropical:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(64, 224, 208, 0.3);
}

/* Enhanced Cards */
.card-tropical {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
}

.card-tropical:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
  z-index: 1;
}

.card-tropical:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--caribbean-turquoise);
}

/* Enhanced Headers */
.header-tropical {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.header-tropical:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
  border-radius: 3px;
}

.header-tropical-center {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.header-tropical-center:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--caribbean-turquoise), var(--caribbean-yellow));
  border-radius: 3px;
}
