/* Modern, minimalist dark mode design for Ataraxia Properties */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.6;
  font-size: 16px;
}

/* Header */
header {
  background: #111111;
  border-bottom: 1px solid #2a2a2a;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header .branding {
  display: flex;
  align-items: center;
  justify-content: center;
}

header h1 {
  margin: 0;
  font-weight: 300;
  font-size: 2.5rem;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

header h1 a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

header h1 a:hover {
  color: #e63946;
  text-decoration: none;
  letter-spacing: 0.2em;
}

/* Navigation */
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

header nav ul li {
  position: relative;
}

header nav ul li a {
  color: #b3b3b3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

header nav ul li a:hover {
  color: #e63946;
  text-decoration: none;
}

/* Dropdown menus */
header nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

header nav ul li ul li {
  padding: 0;
}

header nav ul li ul li a {
  display: block;
  color: #b3b3b3;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

header nav ul li ul li a:hover {
  color: #e63946;
  background: #222222;
}

header nav ul li:hover > ul {
  display: block;
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem 2rem;
}

/* Intro section */
.intro {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0;
}

.intro p {
  font-size: 1.25rem;
  color: #b3b3b3;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Projects section */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

/* Responsive grid adjustments for better distribution */
@media (min-width: 768px) and (max-width: 1199px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .projects {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  text-align: center;
}

.project-card:hover {
  border-color: #e63946;
  box-shadow: 0 12px 35px rgba(230, 57, 70, 0.3);
  transform: translateY(-4px);
}

.project-card h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.project-card .location {
  font-size: 0.9rem;
  color: #e63946;
  font-weight: 500;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card p {
  color: #b3b3b3;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.card-spacer {
  flex-grow: 1;
}

.project-card a {
  display: inline-block;
  background: #e63946;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
}

.project-card a:hover {
  background: #d62837;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.project-card .coming-soon {
  display: inline-block;
  background: #666666;
  color: #b3b3b3;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: default;
  text-align: center;
  width: 100%;
}

.project-card .phone-cta {
  display: inline-block;
  background: #e63946;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
}

.project-card .phone-cta:hover {
  background: #d62837;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

/* Footer */
footer {
  background: #111111;
  border-top: 1px solid #2a2a2a;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contact {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.phone-link, .facebook-link {
  color: #e63946;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.phone-link:hover, .facebook-link:hover {
  background: rgba(230, 57, 70, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.phone-link {
  border: 1px solid #e63946;
}

.facebook-link {
  background: #1877f2;
  color: #ffffff;
  border: 1px solid #1877f2;
}

.facebook-link:hover {
  background: #166fe5;
  border-color: #166fe5;
}

footer p {
  margin: 0;
  color: #808080;
  font-size: 0.9rem;
}

/* About page styles */
.about-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #b3b3b3;
  margin: 0;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-section h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.about-section p {
  color: #b3b3b3;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

.about-section ul {
  color: #b3b3b3;
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.about-section li {
  margin-bottom: 0.5rem;
}

.about-section strong {
  color: #e63946;
  font-weight: 600;
}

.values-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #2a2a2a;
}

.values-section h2 {
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 3rem 0;
  letter-spacing: -0.02em;
}

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

.value-item {
  text-align: center;
  padding: 2rem 1rem;
}

.value-item h3 {
  color: #e63946;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.value-item p {
  color: #b3b3b3;
  line-height: 1.6;
  margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }
  
  header h1 {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
  }
  
  header h1 a:hover {
    letter-spacing: 0.15em;
  }
  
  main {
    padding: 1.5rem 1rem 0.5rem 1rem;
  }
  
  .intro {
    margin-bottom: 2rem;
  }
  
  .projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  footer {
    margin-top: 2rem;
    padding: 1.25rem;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-item {
    padding: 1.5rem 0.5rem;
  }
  
  .footer-contact {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .phone-link, .facebook-link {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
