/* Maelie Lane LLC - Main Styles */

/* CSS Variables */
:root {
  --pink: #ff99c8;
  --light-pink: #ffcce0;
  --blue: #a9def9;
  --light-blue: #d4f1ff;
  --dark: #333333;
  --gray: #f5f5f7;
  --white: #ffffff;
  --metallic-blue: #5c7d99;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  min-height: 80px;
}

/* Logo Styles */
.header-logo-blue {
  filter: brightness(0) invert(39%) sepia(18%) saturate(1188%) hue-rotate(165deg) brightness(94%) contrast(92%) !important;
}

.logo {
  margin-top: 15px;
  margin-bottom: 5px;
}

.logo img {
  width: 150px;
  height: auto;
}

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo img {
  width: 300px;
  height: auto;
  filter: brightness(0) invert(39%) sepia(18%) saturate(1188%) hue-rotate(165deg) brightness(94%) contrast(92%) !important;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--pink);
}

/* CTA Button */
.cta-button {
  background: linear-gradient(45deg, var(--pink), var(--blue));
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  padding: 175px 0 150px;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-pink) 100%);
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6db3, #4a90e2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--dark);
}

/* Services Section */
.services {
  padding: 60px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 4px;
  background: linear-gradient(45deg, var(--pink), var(--blue));
  margin: 10px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 30px;
}

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

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

.service-icon i {
  font-size: 24px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-align: center;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 60px 0;
  background-color: var(--gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 700;
  background: linear-gradient(45deg, #ff6db3, #4a90e2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #444;
}

.about-image {
  flex: none;
  width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-blue) 100%);
}

.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.contact-info-card,
.contact-form-card {
  flex: 1;
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3,
.contact-form-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-details {
  margin-top: 30px;
}

.contact-detail-item {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--pink), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-align: center;
}

.contact-detail-item p {
  margin: 0;
  margin-bottom: 5px;
}

.contact-detail-item a,
.footer-info a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover,
.footer-info a:hover {
  color: var(--pink);
}

.contact-map {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--dark);
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  outline: none;
}

.form-button {
  margin-top: 10px;
  width: 100%;
}

/* Honeypot field for spam protection */
.form-group-hidden {
  display: none;
}

/* Checkbox Styles - Service Selection Buttons */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 5px;
}

.checkbox-item {
  position: relative;
}

.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  min-height: 40px;
  border: 2px solid var(--light-blue);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  background-color: var(--white);
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.checkbox-item label:hover {
  border-color: var(--blue);
  background-color: var(--light-blue);
}

.checkbox-item input[type="checkbox"]:checked + label {
  background: linear-gradient(45deg, var(--pink), var(--blue));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(169, 222, 249, 0.4);
}

.checkbox-item input[type="checkbox"]:focus + label {
  box-shadow: 0 0 0 3px rgba(169, 222, 249, 0.5);
}

/* Form Message Notification */
#form-message {
  padding: 15px;
  margin-top: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

#form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

#form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-info {
  flex: 1;
  min-width: 250px;
  max-width: 325px;
}

.footer-info p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

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

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

.footer-links a {
  text-decoration: none;
  color: #aaa;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-license {
  color: #aaa;
  margin: 0;
}

.fair-housing-link {
  color: #aaa !important;
  transition: color 0.3s ease;
}

.fair-housing-link:hover {
  color: var(--pink) !important;
}

/* PCollect Partner Section */
.pcollect-container {
  margin-top: 10px;
}

.pcollect-link {
  text-align: left;
}

.pcollect-link a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.pcollect-link img {
  max-width: 60px;
  height: auto;
  transition: opacity 0.3s ease;
  margin-bottom: 5px;
}

.pcollect-link span {
  color: var(--pink);
  font-size: 10px;
  letter-spacing: 0.3px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.pcollect-link a:hover span,
.pcollect-link a span:hover {
  color: var(--blue);
}

.pcollect-link img:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  overflow-y: auto;
}

.modal:target {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 0;
  color: var(--dark);
}

.close-modal {
  font-size: 30px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--dark);
}

.modal-body {
  color: #444;
  line-height: 1.6;
}

.modal-body h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--dark);
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-logo img {
    width: 200px;
  }

  .about-content {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .contact-container {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}
