/* DreamHome Contact Page CSS - style.css */

/* ==================== */
/* BASE STYLES & VARIABLES */
/* ==================== */
:root {
  /* Color Palette */
  --coral-50: #97deff;
  --coral-100: #fee9e2;
  --coral-500: #43b8f3;
  --coral-600: #97deff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, 
               Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: #f4fcff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */
.text-coral {
  color: var(--coral-500);
}

.btn-primary {
  background-color: var(--coral-500);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== */
/* HEADER STYLES */
/* ==================== */
.header {
  padding: 16px 0;
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--coral-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--coral-500);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 16px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--coral-500);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background-color: var(--coral-600);
  transform: scale(1.1);
}

/* ==================== */
/* CONTACT HERO SECTION */
/* ==================== */
.contact-hero {
  padding: 100px 0;
  background-color: #f4fcff;
  text-align: center;
}

.contact-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 20px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==================== */
/* CONTACT FORM SECTION */
/* ==================== */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 184, 243, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ==================== */
/* CONTACT INFO SECTION */
/* ==================== */
.contact-info {
  padding: 40px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 30px;
}

.info-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--coral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--coral-500);
  font-size: 20px;
}

.info-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.info-content p {
  color: var(--gray-600);
  line-height: 1.6;
}

.info-content p:not(:last-child) {
  margin-bottom: 5px;
}

/* ==================== */
/* MAP SECTION */
/* ==================== */
.map-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.map-section .container {
  text-align: center;
}

.map-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 40px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== */
/* TEAM CTA SECTION */
/* ==================== */
.team-cta {
  padding: 80px 0;
  background-color: var(--coral-500);
  color: var(--white);
  text-align: center;
}

.team-cta .cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.team-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.team-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.7;
}

/* ==================== */
/* FOOTER STYLES */
/* ==================== */
footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: var(--gray-200);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--coral-500);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-200);
}

.footer-contact i {
  width: 20px;
  color: var(--coral-500);
}

.footer-copyright {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-200);
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form,
  .contact-info {
    padding: 30px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .contact-hero h1,
  .map-section h2,
  .team-cta h2 {
    font-size: 32px;
  }
  
  .contact-hero p {
    font-size: 18px;
  }
  
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .info-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1,
  .map-section h2,
  .team-cta h2 {
    font-size: 28px;
  }
  
  .contact-form h2,
  .contact-info h2 {
    font-size: 24px;
  }
  
  .btn-primary {
    width: 100%;
  }
}