* {
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    text-align: center;
}

.buttons a {
    display: inline-block;
    padding: 12px 20px;
    margin-right: 15px; 
    background-color: red;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .buttons a:hover {
    background-color: rgb(246, 30, 30);
    transform: scale(1.05);
  }
  
 
  .buttons a:nth-of-type(2) {
    background-color: red; 
    color: #000;
    animation: pulse 1.5s infinite;
  }
  
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      background-color: rgb(216, 4, 4);
    }
    50% {
      transform: scale(1.1);
      background-color: red;
    }
    100% {
      transform: scale(1);
      background-color:rgb(183, 3, 3);
    }
  }
  



#service {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('aloe.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; 
    border-radius: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.announcement-tab, .directions-tab {
   
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.announcement-link, .directions-link{
    color: black;
    font-weight: bold;
    text-decoration: none;
}
.announcement-link, .directions-link:hover {
    transform: scaleY(1.5);
}

header {
    background-color: white;
    border-bottom: 2px solid red;
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
   
}

header .header-text {
    text-align: center;
    width: 100%;
}

header img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin: 10px 0;
}

header p {
    color:white;
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 10px 0;
    flex-wrap: wrap;
    width: 100%;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    margin: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.active, nav a:hover {
    border-color: red;
}

.hero {
    padding: 50px 5%;
    background-color: #f1f1f1;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin: 20px auto;
    color: #555;
    max-width: 600px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 5%;
    background-color: white;
    text-align: center;
    width: 100%;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.service-card h3 {
    color: red;
    font-size: 1.5rem;
}

.contact {
    padding: 40px 5%;
    background-color: #f1f1f1;
    text-align: center;
    width: 100%;
}

.locationLink{
    display: none;
}

.contact h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.hero-header, .hero-contact {
    position: relative;
    width: 100%;
    height: 60vh; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}


.hero-header {
    background-image: url('header-hero.jpg'); /* Replace with actual image */
}

.hero-contact {
    background-image: url('contact-hero.jpg'); /* Replace with actual image */
}


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay effect */
    backdrop-filter: blur(1.2px); /* Glassy effect */
}

/* Centered content inside hero sections */
.header-content, .contact-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
}

.header-content img {
    max-width: 150px;
}

.header-text h1 {
    font-size: 2.5rem;
    margin: 10px 0;
}

.header-text p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Contact section text */
.contact-content h2 {
    font-size: 2rem;
}

.contact-content p, .contact-content a {
    font-size: 1.2rem;
}

.contact form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-top: 2px solid red;
    color: #333;
    width: 100%;
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    color: red;
}

.about-details {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.about-details.show-more {
    display: block;
}

.see-more-btn {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
    width: 70%;
    max-width: 300px;
}

.see-more-btn:hover {
    background-color: rgb(254, 20, 20);
}

.header-content a{
    color: red;
    font-weight: 900;
    text-decoration-line: none;
    padding-top: 1rem;

}

.header-content i{
    color: white;
    font-weight: 900;
}

.hero-header .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .hero-header .buttons p {
    margin: 0;
  }
  
  .shoppingButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
 /* deep maroon for Isintu Siyabukwa branding */
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
  }
  
  .shoppingButton:hover {
    background-color: #a00000;
    transform: translateY(-3px);
  }
  
  .shoppingButton i {
    font-size: 1.1rem;
  }
  
  .shoppingButton:hover {
    background-color: rgb(252, 15, 15); 
    transform: scale(1.05);
  }

  .shoppingButton i {
    font-size: 18px;
  }






@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
        width: 100%;
    }

    .contact-content p{
        font-size: medium;
    }
    .shoppingButton {
        font-size: 0.85rem;
        padding: 10px 14px;
      }
    
      .buttons {
        gap: 10px;
      }

  
    .location{
        display: none;
    }

    .locationLink{
        display: block;
    }

    .hero-header {
        height: 40vh;
    }

    .hero-contact{
        height: 40vh;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }

    .header-text p {
        font-size: 0.8rem;
    }

    .contact-content h2 {
        font-size: 1.8rem;
    }

    .contact-content i{
        font-size: 16px;
    }

   

    .about-container p{
        font-size: small;
    }
    header h1 {
        display: none;
    }

    header p{
        font-size: smaller;
    }

    header img {
        width: 85px;
        height: 70px;
        margin-top: 0.8rem;
    }

    nav {
        width: 100%;
    }

    .hero {
        padding: 30px 5%;
        width: 100%;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 5%;
        width: 100%;
    }

    .contact {
        padding: 30px 5%;
        width: 100%;
    }
    .location{
        width: 250px;
        height: 150px;
    }
}



@media (max-width: 480px) {
    header {
        padding: 10px;
        width: 100%;
    }
    

    header img {
        width: 85px;
        height: 70px;
        margin-top: 0.8rem;
    }

    .contact-content i{
        font-size: 16px;
    }

    .contact-content span{
        font-size: small;
    }

    .contact-content p{
        font-size: medium;
    }

    #ibhafu{
        margin-bottom: 8rem;
    }


    .hero-header  {
        height: 30vh; 
    }
    .hero-contact{
        height: 30vh;
    }
    .header-text h1 {
        font-size: 1.8rem;
    }

    .location{
        display: none;
    }

    .shoppingButton{
        font-size: 10px;
        margin-bottom: 1.6rem;
    }

    .locationLink{
        display: block;
    }

    .header-text p{
        font-size: 0.6rem;
    }

    .contact-content h2 {
        font-size: 1.5rem;
    }

    header h1{
        display: none;
    }

    .about-container p{
        font-size: small;
    }

    header p{
        font-size: smaller;
    }

    header img {
        max-width: 80px;
    }

    .hero {
        padding: 20px 5%;
        width: 100%;
    }
    
    

    .services {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 5%;
        width: 100%;
    }

    .contact {
        padding: 20px 5%;
        width: 100%;
    }

    .see-more-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
        max-width: 70%;
    }
    .location{
        width: 250px;
        height: 150px;
    }
}
