/* General styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 10;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.nav-logo {
    max-width: 80px;
    padding-left: 20px;
    padding-top: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Default layout for larger screens */
    justify-content: flex-end;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f4a460;
}

nav ul li a[href$="SFC_Menu.pdf"] {
    background-color: #f4a460;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

nav ul li a[href$="SFC_Menu.pdf"]:hover {
    background-color: #d49357;
}

/* Hamburger menu for mobile view */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

/* Mobile styles */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide nav links by default on mobile */
    }

    .hamburger {
        display: flex; /* Show hamburger menu on mobile */
    }

    /* Show mobile nav links when toggled */
    nav ul.mobile {
        display: flex; /* Show mobile nav links */
        flex-direction: column; /* Stack links vertically */
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px; /* Adjust based on your nav height */
        right: 0;
        width: 100%;
        padding: 0;
        z-index: 999;
    }

    nav ul.mobile li {
        text-align: center; /* Center align text in mobile view */
        padding: 15px 0; /* Add padding for clickable area */
        margin: 0;
    }

    nav ul.mobile li a {
        padding: 10px;
    }
}

.background-container {
    background-image: url('assets/homebg.jpg');
    background-size: cover;
    background-position: center 10%;
    height: 80vh;
    position: relative;
}

#home {
    height: 66.67vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center items horizontally */
}

@media (max-width: 768px) {
    #home .logo {
        display: none; /* Hide on small screens */
    }

    #home .small-logo {
        display: block; /* Show on small screens */
        width: 70%;
        padding-bottom: 20px;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.logo {
    max-width: 1000px;
    height: auto;
    display: block;
    margin-top: 40px;
    display: block; /* Show by default */
}

.small-logo {
    display: none; /* Hide by default */
}

.logonav {
    max-width: 200px;
    display: flex;
    position: absolute;
    height: auto;
    justify-content: right;
}

.logo-container h2 {
    font-size: 2rem;
    color: white;
    margin-top: -20px;
    font-family: serif;
}

.cta-button {
    display: inline-block;
    background-color: #f4a460;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d49138;
}

/* Basic styles for the service section */
#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    background-color: #f4f4f4; /* Section background */
}

/* Styling for each service card */
.service-card {
    position: relative; /* Position to contain the shine effect */
    width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 10px;
    margin: 20px;
    color: white;
    font-size: 1.2em;
    background-size: cover; /* Ensures background covers the card */
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s, filter 0.3s ease;
}

/* Remove background behind the text */
.service-card h3 {
    font-weight: bold;
    font-size: 1 em;
    z-index: 2;
}

/* Background images for each card */
.service-card:nth-child(1) {
    background-image: url('assets/wedding.jpg');
}

.service-card:nth-child(2) {
    background-image: url('assets/corporate.jpg');
}

.service-card:nth-child(3) {
    background-image: url('assets/birthday.jpg');
}

.service-card:nth-child(4) {
    background-image: url('assets/temple.jpg');
}

.service-card:nth-child(5) {
    background-image: url('assets/private.jpg');
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Initial dim effect */
    transition: background 0.4s ease; /* Smooth transition for brightness */
    z-index: 1;
}

.service-card:hover::before {
    background: rgba(255, 255, 255, 0.1); /* Brighten the image slightly */
}

.service-card:hover {
    transform: scale(1.05); /* Slight scaling effect */
}

/* Thin shine effect */
.service-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    transform: skewX(-20deg); /* Skew the shine effect */
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth animation */
    z-index: 2;
}

/* Shine animation on hover */
.service-card:hover::after {
    opacity: 1;
    transform: translate(150%, 150%) skewX(-20deg); /* Move the shine effect across the card */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    #services {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
        height: 200px;
        margin: 10px 0;
    }
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    margin-top: 2rem;
}

.about-section {
    padding: 4rem 2rem;
    background-image: url('assets/aboutbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

#contact {
    padding: 50px 5px;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-content {
    padding-top: 50px;
    padding-bottom: 20px;
}

.contact-content p {
    text-align: center;
    font-size: 20px;
    color: #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 130px;
}

.contact-item i {
    font-size: 30px;
    color: #f4a460;
}

.contact-item .fab {
    margin-left: 10px;
}

.download-button {
    display: inline-block;
    background-color: #f4a460;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    text-align: center;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #e09e4d;
}

/* Mobile view */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    nav ul.mobile {
        display: flex;
    }

    .service-card {
        min-height: 200px;
    }

    #services {
        grid-template-columns: 1fr; /* One column in mobile view */
    }

    footer {
        padding: 1rem 0;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    #contact {
        padding: 20px 0; /* Add some padding for mobile */
    }

    .contact-grid {
        grid-template-columns: 1fr; /* One column in mobile view */
        padding: 0 20px; /* Add padding for mobile view */
    }
}
