/* Enhanced Header Styles with Slideshow */
header {
    color: #fff;
    padding: 180px 20px; /* Increased padding for more impact */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Remove margin for full-width look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Slideshow background - default first image */
.header-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.header-slideshow div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.header-slideshow div.active {
    opacity: 1;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark tint overlay instead of green */
    z-index: 1;
}

header h1 {
    font-size: 5rem; /* Larger font size */
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    animation: fadeInDown 1.5s ease-in-out;
    letter-spacing: 1px; /* Add letter spacing */
    font-weight: 800; /* Extra bold */
}

header p {
    font-size: 1.8rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease-in-out;
    max-width: 700px; /* Limit width for better readability */
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* Add a decorative element */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgb(6, 132, 120) 25%, 
        rgb(6, 132, 120) 75%, 
        transparent 100%);
    z-index: 3;
}

/* Enhanced About Section Styles */
#about {
    padding: 90px 20px; /* More padding */
    background-color: #fff;
    text-align: center;
    border-radius: 0; /* Remove border radius for modern look */
    margin: 0 auto; /* Remove margin */
    max-width: 100%; /* Full width */
    box-shadow: none; /* Remove shadow */
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 132, 120, 0.5) 25%, 
        rgba(6, 132, 120, 0.5) 75%, 
        transparent 100%);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
}

#about h2 {
    font-size: 3.2rem; /* Larger heading */
    color: rgb(6, 132, 120);
    margin-bottom: 50px; /* More space */
    position: relative;
    animation: fadeInDown 1s ease-in-out;
    letter-spacing: 0.5px;
}

#about h2::after {
    content: '';
    display: block;
    width: 80px; /* Wider line */
    height: 4px;
    background: rgb(6, 132, 120);
    margin: 15px auto 0; /* More space */
    animation: expandLine 1s ease-in-out;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 50px; /* Variable 1: Gap between text and image (adjust as needed) */
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-in-out;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    flex: 0.85; /* Variable 2: This controls the relative width */
    text-align: left;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 315px; /* Variable 3: Height of the text box (should match image height) */
    overflow-y: auto;
    border-left: 4px solid rgb(6, 132, 120);
    backdrop-filter: blur(5px);
}

.about-image {
    flex: 1; /* Variable 4: This should match Variable 2 for equal widths */
    position: relative;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 482px; /* Variable 5: This should match Variable 3 */
}

/* Custom scrollbar styling */
.about-text::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.about-text::-webkit-scrollbar-track {
    background: rgba(6, 132, 120, 0.1); /* Light theme color for the track */
    border-radius: 4px;
}

.about-text::-webkit-scrollbar-thumb {
    background: rgb(6, 132, 120); /* Theme color for the scrollbar thumb */
    border-radius: 4px;
}

.about-text::-webkit-scrollbar-thumb:hover {
    background: rgb(4, 100, 90); /* Darker shade on hover */
}

.about-text p {
    font-size: 1.15rem;
    color: #444;
    line-height: 2; /* Increased line height */
    margin-bottom: 25px; /* More space between paragraphs */
    position: relative;
    padding-left: 25px; /* Add padding for the bullet effect */
    transition: color 0.3s ease;
}

.about-text p::before {
    content: '→'; /* Arrow bullet point */
    color: rgb(6, 132, 120);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1; /* Always visible */
    transition: transform 0.3s ease;
}

.about-text p:hover::before {
    transform: translateX(5px); /* Move right on hover */
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 400px; /* Match the height of the text container */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    animation: fadeInUp 1s ease-in-out;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    flex: 1;
    padding: 40px 30px; /* More padding */
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent; /* For hover effect */
}

.feature::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0%;
    height: 4px;
    background: rgb(6, 132, 120);
    transition: width 0.3s ease;
}

.feature:hover::before {
    width: 100%;
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 3rem; /* Larger icons */
    color: rgb(6, 132, 120);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2) translateY(-5px); /* Grow and lift on hover */
}

.feature h3 {
    font-size: 1.8rem; /* Larger heading */
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8; /* Increased line height */
    transition: color 0.3s ease;
}

/* Call-to-Action Button inspired by Gatefoot Forge */
.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 32px;
    font-size: 1.2rem;
    color: #fff;
    background: rgb(6, 132, 120);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid rgb(6, 132, 120);
}

.cta-button:hover {
    background: transparent;
    color: rgb(6, 132, 120);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Add a light background pattern */
body {
    background-image: 
        linear-gradient(rgba(249, 249, 249, 0.97), rgba(249, 249, 249, 0.97)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2306847c' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* Enhanced Footer Styles */
footer {
    margin-top: 60px;
    padding: 0;
    background: url('../images/Shop.jpg') no-repeat center center/cover;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.footer-map, .footer-contact {
    flex: 1;
    padding: 40px;
    height: 380px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer-map {
    border-radius: 20px 0 0 20px;
    margin: 40px 0 40px 40px;
    overflow: hidden;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-map iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid rgba(6, 132, 120, 0.2);
}

.footer-contact {
    border-radius: 0 20px 20px 0;
    margin: 40px 40px 40px 0;
    justify-content: center;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(6, 132, 120, 0.2);
}

.footer-logo {
    margin-bottom: 20px;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-contact h4 {
    font-style: italic;
    color: rgb(6, 132, 120);
    font-weight: 500;
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-align: center;
}

.footer-contact p {
    margin: 12px 0;
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: rgb(6, 132, 120);
    margin-right: 10px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-contact a {
    color: rgb(6, 132, 120);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-contact a:hover {
    color: rgb(4, 100, 90);
    transform: translateX(3px);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-map, .footer-contact {
        width: calc(100% - 40px);
        margin: 20px;
        border-radius: 20px;
        height: auto;
    }
    
    .footer-map {
        height: 250px;
    }
    
    .footer-contact {
        border-left: none;
        border-top: 1px solid rgba(6, 132, 120, 0.2);
    }
}

/* Add a scroll-down indicator inspired by Gatefoot Forge */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
    cursor: pointer;
    background: rgba(6, 132, 120, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background: rgb(6, 132, 120);
    transform: translateX(-50%) scale(1.1);
}

.scroll-down i {
    font-size: 1.8rem;
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 3.2rem;
    }

    header p {
        font-size: 1.4rem;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text, .about-image {
        /* No width overrides here, let flex handle it */
    }

    .about-text {
        max-height: none;
        padding: 25px;
    }

    .about-features {
        flex-direction: column;
        gap: 20px;
    }

    #about h2 {
        font-size: 2.5rem;
    }
}