/* Global Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #F4F4F4;
    background-image: url('images/homep.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.header-container {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center;     /* Centers content vertically */
    gap: 20px;               /* Space between logo and button */
    margin-top: 20px;        /* Space from top */
}

.logo {
    width: 100px;
    height: auto;
}

.logout-btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #333;
}



/* Background Image */
body {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Navigation Title */
nav h1 {
    font-family: 'Dancing Script', cursive;
    color: #000000;
    font-size: 3em;
    margin: 0;
}


/* Stylish Navigation Buttons */
.center-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 300px auto 100px auto; /* Added bottom margin for spacing */
    width: 80%;

}


.nav-box {
    width: 200px;
    height: 200px;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #000; /* Thin black border */
}

.nav-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.nav-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.nav-box:hover img {
    opacity: 0.6;
}

.nav-box span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    padding: 10px 0;
     font-family: 'Pacifico', cursive;
}



/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70vh;
    background-size: cover;
    background-position: center;
   
}

.hero h2 {
    font-size: 3em;
    margin: 10px 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.5em;
    margin: 10px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.button {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.button:hover {
    background-color: #45a049;
}

/* Logout Button */
.logout-btn {
    position: absolute;
    top: 6px;
    right: 20px;
    background-color: #FFFFFF; /* White background */
    color: #9CAF88;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #333; /* Darker shade on hover */
}

<style>
    /* General Styling */
    .swirly-font {
        font-family: 'Cinzel', serif;
    }

    .login-font {
        font-family: 'Meow Script', cursive;
    }

    .button-text {
        font-family: 'Cinzel', serif;
    }

    .nav-box span {
        font-size: 1.2rem;
        font-weight: bold;
    }

    

</style>


}


/* Footer Style - Matches Index Page */
    footer {
    background-color: #9CAF88; /* Sage green color */
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    bottom: 0;
    left: 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Cinzel', serif;
}


/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 768px) {
    body {
        background-size: cover;
        background-attachment: scroll;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .center-buttons {
        flex-direction: column;
        gap: 15px;
        margin: 20px auto;
        width: 90%;
    }

    .nav-box {
        width: 100%;
        height: 150px;
    }

    .rsvp-container {
        position: relative;
        width: 90%;
        margin: 20px auto;
    }

    .rsvp-container h2 {
        font-size: 1.8em;
    }

    .logout-btn {
        top: 10px;
        right: 10px;
        font-size: 0.9em;
        padding: 8px 16px;
    }

    footer {
        font-size: 0.9em;
        padding: 10px;
    }
}

@media only screen and (max-width: 480px) {
    /* Further Reduce Hero Text Size */
    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 0.9em;
    }

    /* Reduce Button Size */
    .button, .logout-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    /* Reduce Footer Text Size */
    footer {
        font-size: 0.8em;
    }
}