/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #b0d997; /* Fresh Green */
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    color: orange;
}

/* Logo in Header */
.logo-container {
    position: absolute;
    top: 10px;
    left: 20px;
}

.logo {
    width: 100px; /* Professional size */
    height: auto;
    border-radius: 10px;
}

/* Navigation Styling */
nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color: #8bc098; /* Darker green on hover */
    color: #ffcc00; /* Yellow */
    border-radius: 5px;
}

/* Centered Homepage Content */
.home-intro {
    text-align: center;
    padding: 50px 20px;
}

/* Shop Image Styling (Second Image - Matches Previous Design) */
.shop-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.shop-image {
    width: 120%; /* Larger and more prominent */
    max-width: 1200px; /* Maximum width */
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Hover Effect for Images */
.shop-image:hover {
    transform: scale(1.1);
}

/* Typography Enhancements */
.home-intro h2 {
    font-size: 36px;
    font-weight: bold;
    margin-top: 20px;
    color: #2c3e50;
}

.home-intro p {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.5;
}

/* Footer Styling */
footer {
    background-color: #98b47e;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        padding: 15px;
    }

    .logo-container {
        position: static;
        text-align: center;
        margin-bottom: 10px;
    }

    .logo {
        width: 80px;
    }

    nav ul {
        padding: 0;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .home-intro h2 {
        font-size: 28px;
    }

    .home-intro p {
        font-size: 18px;
    }

    .shop-image {
        width: 100%;
        max-width: 600px;
    }

    footer {
        font-size: 14px;
    }
}





.shop-image:hover {
    transform: scale(1.1);
    cursor: pointer;
}



/* Product Section Styling */
.products {
    text-align: center;
    padding: 40px 20px;
}

.products h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Product Container (Grid Layout) */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-items: center;
}

/* Individual Product Styling */
.product {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Product Image Styling */
.product img {
    width: 100%; /* Ensures image takes up full width of its container */
    max-width: 250px; /* Maximum width for images */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.05); /* Slight zoom effect for images */
}

/* Product Name and Price Styling */
.product h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.product p {
    font-size: 16px;
    color: #2980b9; /* Blue color for price */
}



/* Product Details Styling */
.product-details {
    text-align: center;
    padding: 20px;
}

.product-image-container {
    width: 80%;
    margin: 20px auto;
}

.product-image {
    max-width: 500px; /* Control the image size */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    background-color: #98b47e; /* Darker Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00; /* Yellow */
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}



/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #b0d997; /* Fresh Green */
    color: white;
    padding: 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

header .logo-container {
    text-align: center;
    margin-bottom: 15px;
}

header .logo {
    width: 120px; /* Logo size */
    height: auto;
    border-radius: 10px;
}

header h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: orange;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color: #8bc098; /* Darker green on hover */
    color: #ffcc00; /* Yellow */
    border-radius: 5px;
}

/* Product Details Styling */
.product-details {
    text-align: center;
    padding: 20px;
}

.product-image-container {
    width: 60%;
    margin: 30px auto;
}

.product-image {
    width: 100%;
    height: auto;
    max-width: 700px; /* Larger size */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    background-color: #98b47e; /* Darker Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00; /* Yellow */
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}






/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #b0d997; /* Fresh Green */
    color: white;
    padding: 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

header .logo-container {
    text-align: center;
    margin-bottom: 15px;
}

header .logo {
    width: 120px; /* Logo size */
    height: auto;
    border-radius: 10px;
}

header h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: orange;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color: #8bc098; /* Darker green on hover */
    color: #ffcc00; /* Yellow */
    border-radius: 5px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-out;
}

/* Input Fields Styling */
form input,
form select,
form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

/* Input Focus Effect */
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #2980b9;
}

/* Button Styling */
input[type="submit"], button {
    background-color: #f1c40f; /* Bright Yellow */
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

input[type="submit"]:hover, button:hover {
    background-color: #f39c12; /* Slightly darker yellow */
}

/* Footer Styling */
footer {
    background-color: #98b47e; /* Darker Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00; /* Yellow */
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    form {
        width: 90%;
    }

    header h1 {
        font-size: 28px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 16px;
    }

    footer {
        font-size: 12px;
    }
}



/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #b0d997; /* Fresh Green */
    color: white;
    padding: 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

header .logo-container {
    text-align: center;
    margin-bottom: 15px;
}

header .logo {
    width: 120px; /* Logo size */
    height: auto;
    border-radius: 10px;
}

header h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: orange;
}

/* Login Section Styling */
.login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

/* Error Message Styling */
.error-message {
    background-color: #e74c3c; /* Red */
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Form Styling */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-out;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.login-form input:focus {
    border-color: #2980b9;
}

/* Button Styling */
.login-form input[type="submit"] {
    background-color: #f1c40f; /* Bright Yellow */
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.login-form input[type="submit"]:hover {
    background-color: #f39c12; /* Slightly darker yellow */
}

/* Footer Styling */
footer {
    background-color: #98b47e; /* Darker Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00; /* Yellow */
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .login-form {
        width: 90%;
    }

    header h1 {
        font-size: 28px;
    }

    footer {
        font-size: 12px;
    }
}


/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #b0d997; /* Fresh Green */
    color: white;
    padding: 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

header .logo-container {
    text-align: center;
    margin-bottom: 15px;
}

header .logo {
    width: 120px;
    height: auto;
    border-radius: 10px;
}

header h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: orange;
}

/* Navigation Styling */
nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color: #8bc098; /* Darker green on hover */
    color: #ffcc00; /* Yellow */
    border-radius: 5px;
}

/* Admin Dashboard Styling */
.admin-container {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product Table */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.product-table th {
    background-color: #8bc098;
    color: white;
}

.product-table td {
    background-color: #f9f9f9;
}

/* Product Image */
.product-img {
    width: 80px;
    height: auto;
    border-radius: 5px;
}

/* Action Buttons */
.edit-btn, .delete-btn {
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block; /* Ensures both buttons are aligned in the same row */
    margin-right: 10px; /* Optional: Adds space between the buttons */
}

.edit-btn {
    background-color: #3498db;
    color: white;
}

.edit-btn:hover {
    background-color: #2980b9;
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Footer Styling */
footer {
    background-color: #98b47e; /* Darker Green */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}









/* Contact Page Styling */
.contact-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-container h2 {
    color: #444;
}

.contact-container input, .contact-container textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-container textarea {
    height: 120px;
    resize: none;
}

.contact-container input[type="submit"] {
    background-color: #8bc098;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-container input[type="submit"]:hover {
    background-color: #6b9b75;
}

/* Success and Error Messages */
.success-msg {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

.error-msg {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Contact Details Section */
.contact-details {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details p {
    font-size: 18px;
    color: #555;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 10px;
}

.social-links a {
    font-size: 18px;
    color: #8bc098;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #6b9b75;
}

/* Map Section */
.map-container {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #98b47e;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}


/* Default Header */
header {
    background-color: #b0d997;
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* When Scrolling */
header.shrink {
    padding: 10px; /* Reduce header height */
}

/* Logo Styling */
.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #69de86;
    display: block;
    margin: 0 auto 10px;
    transition: all 0.3s ease-in-out;
}

/* Shrinking Logo */
header.shrink .logo {
    width: 60px;
    height: 60px;
}

/* Shrinking H1 */
header.shrink h1 {
    font-size: 30px;
}


/* Default Header */
header {
    background-color: #b0d997;
    color: white;
    padding: 25px 20px; /* Bigger padding initially */
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Shrinking on Scroll */
header.shrink {
    padding: 5px 20px;  /* Reduce header height */
}

/* Logo Styling */
.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #69de86;
    display: block;
    margin: 0 auto 5px;
    transition: all 0.3s ease-in-out;
}

/* Shrinking Logo */
header.shrink .logo {
    width: 50px;
    height: 50px;
}

/* Heading Style */
h1 {
    font-size: 40px;
    font-weight: bold;
    color: orange;
    transition: all 0.3s ease-in-out;
}

/* Shrinking Heading */
header.shrink h1 {
    font-size: 20px;
}

/* Reduce header height only for edit_product.php */
.edit-product-page header {
    height: 80px; /* Adjust as needed */
    padding: 5px 0;
}

/* Reduce logo size for edit_product.php */
.edit-product-page .logo {
    height: 55px; /* Adjust logo size */
    width: auto;
}

/* Adjust h1 font size */
.edit-product-page header h1 {
    font-size: 18px;
    margin: 0;
    padding: 5px 0;
}


.product-image-container {
    width: 33.33%; /* Reduce container to one-third */
    margin: 0 auto; /* Center the image */
    display: flex;
    justify-content: center;
}

.product-image {
    width: 100%; /* Ensure it fills the container */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure full image visibility */
    border-radius: 8px; /* Optional: Slight rounded corners */
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #69de86;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Increase logo size only on index.php */
body.index-page .logo-container img {
    width: 200px; /* Adjust size as needed */
    height: auto;
}

/* Add space between header and body */
body.index-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 50px; /* Adjust space as needed */
}

/* Add space between header and body */
body.login-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 100px; /* Adjust space as needed */
}

/* Add space between header and body */
body.prod-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 100px; /* Adjust space as needed */
}

/* Reduce header height only on map.php */
body.map-page header {
    height: 60px; /* Adjust the height as needed */
    padding: 10px 0; /* Adjust the padding if necessary */
}

/* Add space between header and body */
body.admin-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 50px; /* Adjust space as needed */
}

/* Add space between header and body */
body.cont-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 200px; /* Adjust space as needed */
}



/* Add space between header and body */
body.edit-product-page, body.product-page, body.map-page, body.product-details-page, body.add-product-page, body.edit-product-page {
    margin-top: 100px; /* Adjust space as needed */
}


.social-media {
    text-align: center;
    margin-bottom: 10px;
}

.social-media a {
    margin: 0 10px;
    display: inline-block;
}

.social-media img {
    width: 30px; /* Adjust size as needed */
    height: auto;
    transition: transform 0.3s;
}

.social-media img:hover {
    transform: scale(1.2);
}


.gallery {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4;
}

.gallery h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
    animation: fadeIn 1s ease-in-out;
}

.gallery p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Full-screen preview */
.fullscreen-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.gallery {
    text-align: center;
    padding: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Fullscreen effect when hovering */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 9999;
    transition: transform 0.5s ease-in-out;
}
.gallery {
    text-align: center;
    padding: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.5s ease-in-out, width 0.5s ease-in-out;
}

/* Expand width on hover */
.gallery-item img:hover {
    width: 120%;
    transform: scale(1.1);
}

/* Fullscreen effect when hovered for 3 seconds */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 9999;
    transition: transform 0.5s ease-in-out;
}




