/* General Styles */
/* In your styles.css or filter.css file, use @import */
/* General Styles */
/* In your styles.css or filter.css file, use @import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --fa-animation-delay: 0s; 
    --fa-rotate-angle: 0deg; }

    .fa-rotate-by {
        /* Ensure a valid rotation value */
        transform: rotate(var(--fa-rotate-angle));
    }
    
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header */
.header {
    background-color: #4B006E;
    color: #fff;
    font-size: 24px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Bar */
.nav {
    background-color: #660080;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    position: relative;
}

.nav  a {
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav a:hover {
    background-color: #9C27B0;
    transform: scale(1.05);
}

.nav a:active {
    background-color: #7B1FA2;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 30px;
     /* Changed from blue for better contrast */
    color: #fff; 
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

/* Temple Grid */
.temple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.temple-card {
    background: #ece6e6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
}

.temple-card img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    margin-top: 10px;
}

.temple-card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #333;
}

/* Footer */
.footer {
    background-color: #4B006E;
    color: azure;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Show Hamburger Menu */
    .hamburger {
        display: block;
    }

    /* Hide Navigation by Default */
    .nav {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        width: 100%;
        background-color: #660080;
        top: 60px;
        left: 20px;
        z-index: 1000;
        padding-bottom: 10px;
    }

    /* Show Navigation When Active */
    .nav.show {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    /* Button Spacing for Mobile */
    .nav a {
        width: 90%;
        padding: 10px;
        margin: 5px 5px;
    }
}

/* Fix Heading IDs */
h1 {
    font-size: 40px;
    text-align: center;
}

h2 {
    font-size: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }
}

/* Smooth Fade-In Effect for Menu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}