/* Contact Page Styles - Anacapa Theme */

.contact-page {
  padding-top: 7rem;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Hero Section */
.contact-hero-section {
  height: 100vh;
  background-color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}

.contact-hero-section .hero-content {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 800px;
  z-index: 2;
  display: block;
}

.page-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  display: block;
}

.hero-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 600px;
  font-weight: 300;
  text-align: center;
  margin: 0 auto;
  opacity: 0.8;
  display: block;
  margin-bottom: 2rem;
}

.contact-hero-section .form-toggle-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

body.contact-page .contact-hero-section .form-btn {
  background: white !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 350px;
  min-width: 350px;
  max-width: 350px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  box-shadow: none !important;
}

body.contact-page .contact-hero-section .form-btn:hover {
  background-color: var(--accent-color) !important;
  color: white !important;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 121, 0, 0.7), 0 4px 15px rgba(255, 121, 0, 0.5) !important;
}

.contact-hero-section .contact-info-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 3rem;
  max-width: 1200px;
  width: 100%;
}

.contact-hero-section .office-info {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  text-align: left;
}

.contact-hero-section .office-info .office-logo {
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.contact-hero-section .office-info p {
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-hero-section .office-map {
  flex: 2;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 350px;
}

.contact-hero-section .office-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .contact-hero-section {
    height: auto;
    min-height: 100vh;
    padding: 2rem 0;
    overflow-x: hidden;
  }
  
  .contact-hero-section .hero-content {
    position: relative;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem 0;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-hero-section .page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  
  .contact-hero-section .hero-intro {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 90%;
    padding: 0 1rem;
  }
  
  .contact-hero-section .form-toggle-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
  }
  
  .contact-hero-section .form-btn {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
  }
  
  .contact-hero-section .contact-info-section {
    flex-direction: column;
    max-width: 90%;
    margin: 2rem auto 0;
    gap: 1.5rem;
    width: 90%;
    box-sizing: border-box;
    align-items: center;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
  }
  
  .contact-hero-section .office-info,
  .contact-hero-section .office-map {
    flex: none;
    width: 100%;
    min-height: 250px;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .contact-hero-section .office-info {
    padding: 1.5rem;
  }
  
  .contact-hero-section .office-map iframe {
    min-height: 250px;
  }
}


/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: #f8f8f8;
  position: relative;
}


.contact-section .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Form Toggle Buttons */
.form-toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}


/* Contact Info Section */
.contact-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.office-info {
  background: white;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent-color);
}

.office-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.office-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.office-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 300;
}

/* Contact info links hover effect */
.office-info a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.office-info a:hover {
  color: var(--accent-color);
}

.office-map {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--accent-color);
  display: flex;
  flex-direction: column;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  filter: grayscale(20%) contrast(1.1) brightness(1.05);
  transition: filter 0.3s ease;
}

.office-map iframe:hover {
  filter: grayscale(0%) contrast(1.2) brightness(1.1);
}



/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .hero-intro {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .form-toggle-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  
  .contact-info-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
}

@media (max-width: 480px) {
  .contact-hero-section {
    padding: 4rem 0 2rem 0;
  }
  
  .page-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .hero-intro {
    font-size: 1rem;
    max-width: 600px;
  }
  
  .contact-section {
    padding: 4rem 0;
  }
  
  
  .office-info {
    padding: 1.5rem;
  }
  
  .office-map iframe {
    height: 250px;
  }
}

/* Social Media Section - Contact Page Specific */
body.contact-page .social-section {
  padding: 6rem 0;
  background-color: white;
}

body.contact-page .social-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

body.contact-page .social-icons-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  width: 100%;
}

body.contact-page .social-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

body.contact-page .social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 0;
  background: white;
  box-shadow: 
    inset -2px -2px 4px rgba(0, 0, 0, 0.2),
    inset 2px 2px 4px rgba(255, 255, 255, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1);
  width: 120px;
  height: 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  gap: 0.5rem;
}

body.contact-page .social-icon-link:hover {
  transform: translateY(-5px);
  box-shadow: 
    inset -2px -2px 4px rgba(0, 0, 0, 0.2),
    inset 2px 2px 4px rgba(255, 255, 255, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.15);
}

body.contact-page .social-icon-link img {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  transition: all 0.3s ease;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  display: block;
}

body.contact-page .social-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  display: block;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

/* Facebook - Blue */
body.contact-page .social-icon-link.facebook {
  background: #1877f2 !important;
}

body.contact-page .social-icon-link.facebook:hover {
  background: #166fe5 !important;
  box-shadow: 
    inset -2px -2px 4px rgba(0, 0, 0, 0.2),
    inset 2px 2px 4px rgba(255, 255, 255, 0.3),
    0 8px 25px rgba(24, 119, 242, 0.4) !important;
}

body.contact-page .social-icon-link.facebook img {
  filter: brightness(0) invert(1) !important;
}

body.contact-page .social-icon-link.facebook .social-label {
  color: white !important;
}

/* Instagram - Gradient */
body.contact-page .social-icon-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

body.contact-page .social-icon-link.instagram:hover {
  background: linear-gradient(45deg, #e6852a 0%, #d55a2f 25%, #d11e36 50%, #c11a59 75%, #ad1579 100%) !important;
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4) !important;
}

body.contact-page .social-icon-link.instagram img {
  filter: brightness(0) invert(1) !important;
}

body.contact-page .social-icon-link.instagram .social-label {
  color: white !important;
}

/* Houzz - Green */
body.contact-page .social-icon-link.houzz {
  background: #4fbc15 !important;
}

body.contact-page .social-icon-link.houzz:hover {
  background: #45a612 !important;
  box-shadow: 0 8px 25px rgba(79, 188, 21, 0.4) !important;
}

body.contact-page .social-icon-link.houzz img {
  filter: brightness(0) invert(1) !important;
}

body.contact-page .social-icon-link.houzz .social-label {
  color: white !important;
}

/* LinkedIn - Blue */
body.contact-page .social-icon-link.linkedin {
  background: #0077b5 !important;
}

body.contact-page .social-icon-link.linkedin:hover {
  background: #006ba1 !important;
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4) !important;
}

body.contact-page .social-icon-link.linkedin img {
  filter: brightness(0) invert(1) !important;
}

body.contact-page .social-icon-link.linkedin .social-label {
  color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  body.contact-page .social-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  body.contact-page .social-icon-link {
    padding: 0.75rem;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
  }
  
  body.contact-page .social-icon-link img {
    width: 1.8rem;
    height: 1.8rem;
  }
  
  body.contact-page .social-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  body.contact-page .social-section {
    padding: 4rem 0;
  }
  
  body.contact-page .social-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  body.contact-page .social-icon-link {
    padding: 0.5rem;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
  }
  
  body.contact-page .social-icon-link img {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  body.contact-page .social-label {
    font-size: 0.6rem;
  }
}