html{
    scroll-behavior: smooth;
}

body{
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
}



/* Remove margin from main-page to allow full-width sections */
.main-page{
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Link features */
a {
  color: inherit; 
  text-decoration: none; 
}

a:visited, a:active, a:link  {
  color: inherit; 
}

a:hover {
  color: inherit; 
}

/* Make all sections full width with consistent height */
.main-section {
  width: 100%;
  min-height: 50vh; /* Consistent height for all sections */
  padding: 80px 5%; /* Consistent padding */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* Navbar - Make it full width */
.navbar{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 1);
  padding: 15px 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 1000;
  box-sizing: border-box;
}

.nav-links{
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  flex: 1;

}
.nav-contact{
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  flex: 1;
}

.navlink{
  font-size: 1.3rem;
  text-decoration: none;
  padding: 10px 20px;
  color: white;
  transition: color 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.navlink:hover {
  color: #4CAF50;
  text-decoration: underline;
  
}

#nav-phone{
  margin: 0;
  font-size: 1.3rem;
  padding: 10px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}

/*Form Section*/
/* Form Section - Gradient background left, picture right */
/* Form Section - Video background with form on left, content on right */
#form-section {
    position: relative;
    background: transparent;
    color: black;
    padding: 80px;
    display: flex;
    justify-content: center;
    align-items: stretch; /* Make children stretch to full height */
    min-height: 100vh;
    overflow: hidden;
}

/* Video Background */
.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place behind content */
}

/* Overlay to improve text readability */
#form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for better contrast */
    z-index: 0;
}

#form-section .form-content {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 2%;
    min-height: auto;/* Full viewport height */
    position: relative;
    z-index: 2; /* Above video and overlay */
}

/* Left side - Form with gradient background */
.contact-form-container {
    flex: 0 0 50%; /* Fixed 50% width */
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: right;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

/* Right side - Content area */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 60px 40px;
}


/* Form styling */
.contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: white;
    margin: 0 auto;
}

.contact-form label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.contact-form #message {
  height: 120px;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}


#submit-button {
    padding: 15px 30px;
    background: white;
    color: #2E7D32;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

#submit-button:hover {
    background: green;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#submit-button:active {
    transform: translateY(-1px);
}

/* Right side content styling */
.content-container {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 10px; /* Reduced vertical padding */
    margin: 60px 0; /* More vertical margin */
}

#form-header {
  font-size: 3rem;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

#contact-form-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: white;
  text-align: center;
  margin-bottom: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    #form-section .form-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .contact-form-container {
        padding: 40px 20px;
        width: 100%;
    }
    
    .picture-section {
        padding: 40px 20px;
        width: 100%;
    }
    
    .form-img {
        height: 400px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    #form-header {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .form-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #form-header {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 30px 15px;
    }
    
    .picture-section {
        padding: 30px 15px;
    }
    
    .form-img {
        height: 250px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}


/* Contact Section - Full width green background */
#Contact {
  background-color: green;
  color: white;
  width: 100%;
}

/* Contact Section */
.contact-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin-top: 5px;
  align-items: start;
  
}

.contact-subsection{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.section-header{
  font-size: 2rem;
}
.contact-header{
  text-decoration: underline;
}

.section-header2{
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: 30px;
  text-align: center;
}

.subsection-header{
    text-decoration: underline;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.subsection-text, .hours-info{
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

#contact-info{
    justify-self: start;
    text-align: left;
}

#contact-info .subsection-header,
#contact-info .subsection-text{
    text-align: left;
    width: 100%;
}

#socials{
    justify-self: center;
}

.social-links-container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

#hours{
    justify-self: end;
    text-align: right;
}

#hours .subsection-header,
#hours .hours-info{
    text-align: right;
    width: 100%;
}

#maillink{
    color: white;
    text-decoration: none;
}

#maillink:hover{
    text-decoration: underline;
}

/* Social Media links */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 32px;
  height: 30px; 
  width: 30px;  
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  color: white; 
  z-index: 2;
  text-decoration: none;
}

.social-link i {
  text-align: center;
  pointer-events: none;
}

.social-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.social-link[href*="facebook"] {
  background-color: #1877f2 !important;
}

.social-link[href*="instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.social-link[href*="twitter"],
.social-link[href*="x.com"] {
  background-color: #000000 !important;
}

.social-link[href*="linkedin"] {
  background-color: #0077b5 !important;
}

/* Remove individual icon background colors */
#Facebook, #Instagram, #Xcom, #Linkedin {
  background-color: transparent !important;
  background: transparent !important;
}

/* Footer */
.copyright {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  width: 100%;
  margin: 0;
}