/* html */
html{
  scroll-behavior: smooth;
}

/* Body */
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%;
}

.section-header {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: white;
}

/* 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, 0.8);
  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;
}





/*Prices-Section*/

#Prices{
  position: relative;
  min-height: 100vh;
  padding: 80px 5% 60px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#Prices::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#Prices .section-header,
#Prices .pricing-grid,
#Prices .price-negotiation{
  position: relative;
  z-index: 2;
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.pricing-tile {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(224, 224, 224, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 600px;
  backdrop-filter: blur(10px);
}

.pricing-tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #4CAF50;
  background: rgba(255, 255, 255, 1);
}

.pricing-tile-header {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2E7D32;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 0.5rem;
}

.pricing-tile-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1B5E20;
  margin: 1rem 0 0.5rem 0;
  text-align: center;
}

.pricing-tile-subscription {
  color: #666;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.pricing-tile-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.package-feature {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(240, 240, 240, 0.7);
  color: #333;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.package-feature:last-child {
  border-bottom: none;
}

.package-feature::before {
  content: "✓";
  color: #4CAF50;
  font-weight: bold;
  margin-right: 0.5rem;
}


.learn-more {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.learn-more:hover {
  background: linear-gradient(135deg, #45a049, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.price-negotiation {
  grid-column: 1 / -1;
  text-align: center;
  color: white;
  font-style: italic;
  margin-top: 2rem;
  padding: 1.5rem;
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
  border-radius:  8px;
  backdrop-filter: blur(5px);
}


/* Make the business tile stand out */
#business-tile {
  border: 3px solid #4CAF50;
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
  min-height: 620px;
}

#business-tile:hover {
  transform: scale(1.05) translateY(-10px);
  background: rgba(255, 255, 255, 1);
}

#business-tile .pricing-tile-header {
  color: #1B5E20;
  font-size: 1.6rem;
}

#business-tile .pricing-tile-price {
  color: #1B5E20;
  font-size: 2.8rem;
}

/* Ensure all content stays above the video */
.pricing-grid,
.section-header,
.price-negotiation {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 1.5rem;
  }
  
  #business-tile {
    transform: none;
  }
  
  #business-tile:hover {
    transform: translateY(-10px);
  }
}


@media (max-width: 768px) {
  .pricing-tile {
    padding: 1.5rem;
  }
  
  .pricing-tile-price {
    font-size: 2rem;
  }
  
  .pricing-tile-header {
    font-size: 1.3rem;
  }
  
  .section-header {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    padding: 0 10px;
  }
  
  .pricing-tile {
    padding: 1rem;
  }
  
  .section-header {
    font-size: 2rem;
  }
}

/* Contact Section - Full width green background */

#Contact {
  background-color: green;
  color: white;
  width: 100%;
  position: relative;
  z-index: 3;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

#Contact .section-header {
  color: white;
  text-shadow: none;
}


.contact-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  align-items: start;
}

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

.section-header{
  font-size: 2rem;
}

.section-header-text{
  font-size: 1.5;
}

.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;
}

/* Responsive fixes */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 1.5rem;
  }
  
  .pricing-tile {
    min-height: 550px; /* Adjust min-height for mobile */
  }
  
  #business-tile {
    transform: none;
    min-height: 550px;
  }
  
  #business-tile:hover {
    transform: translateY(-10px);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  #contact-info, #hours {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .pricing-tile {
    padding: 1.5rem;
    min-height: 500px;
  }
  
  .package-feature {
    min-height: 50px;
    padding: 0.6rem 0;
  }
  
  .main-section:first-of-type {
    padding-top: 100px; /* More space for mobile navbar */
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    padding: 0 10px;
  }
  
  .pricing-tile {
    padding: 1rem;
    min-height: 450px;
  }
  
  .price-negotiation {
    margin-top: 2rem;
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 5%;
    }
    
    .nav-links, .nav-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .navlink, #nav-phone {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .navlink, #nav-phone {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .nav-links, .nav-contact {
        gap: 3px;
    }
}