@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Global Styles (applies to all pages) */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
	padding-bottom: 50px; 
    animation: fadeIn 1s ease-in-out;
}

h1, h2, p {
    margin: 0;
    padding: 10px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}
h1 {
	font-size: 40px;
}
img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out; 
}

img:hover {
    transform: scale(1.05); 
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #b20000; 
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00873E; 
    color: #fff;
    padding: 15px;
    animation: slideIn 1s ease-out; 
}

.navbar .logo span {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar .nav-links li {
    display: inline;
}

.navbar .nav-links a {
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.navbar .nav-links a:hover {
    background-color: #a30000;
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none; 
}

.navbar .logo img {
    width: 100px; 
    height: 100px; 
    border-radius: 50%;
    margin-right: 10px; 
    transition: transform 0.3s ease-in-out;
}

.navbar .logo:hover img {
    transform: scale(1.1); 
}

.navbar .logo span {
    font-size: 22px;
    font-weight: bold;
    color: #F8F9FA;
    transition: color 0.3s ease-in-out;
}

.navbar .logo:hover {
    color: #ffdd57; 
}

/* Footer*/
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    animation: fadeIn 2s ease-in-out;
}


.footer-link {
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.footer-link:hover {
    color: #ffdd57;
    text-decoration: underline;
}

/*(index.html) */
.header {
    text-align: center;
    background-color: #b20000;
    color: white;
    padding: 50px;
    animation: slideIn 1.2s ease-out;
}

.header img {
    width: 60%;
	height: 350px;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.header img:hover {
    transform: scale(1.05); 
}

.collection-showcase {
    text-align: center;
    background-color: #fff;
    padding: 40px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.collection-showcase button {
    background-color: #008000; 
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.collection-showcase button:hover {
    background-color: #006400; 
    transform: scale(1.05); 
}

/* (category.html) */
.category-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 40px 20px;
    background-color: #fff;
}

.category-card {
    background-color: #eaeaea;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.category-card:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px); 
}

.category-card img {
    width: 100%; 
    height: 300px; 
    object-fit: cover; 
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.category-card img:hover {
    transform: scale(1.05); 
}

.category-card h2 {
    font-size: 1.5em;
    color: #b20000;
}

/* (gallery.html) */
.gallery-section {
    padding: 40px;
    background-color: #fff;
    text-align: center;
    animation: fadeIn 1.8s ease-in-out;
}

.gallery-item {
    display: inline-block;
    width: 30%;
    margin: 10px;
    background-color: #eaeaea;
    padding: 20px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gallery-item:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 400px; 
    height: 400px; 
    object-fit: cover;
    margin-bottom: 15px;
}

.gallery-item p {
    color: #333;
    font-size: 1.2em;
}


/* Product Description Page Styles (product.html) */
.product-description {
    text-align: center;
    background-color: #fff;
    padding: 50px;
}

.product-description img {
    width: 50%;
    margin-bottom: 30px;
    transition: transform 0.3s ease-in-out;
}

.product-description img:hover {
    transform: scale(1.05);
}

.add-to-bag-btn {
    background-color: #b20000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.add-to-bag-btn:hover {
    background-color: #a30000;
    transform: scale(1.05); 
}

/* Thank You Page Styles (thankyou.html) */
.thankyou-message {
    text-align: center;
    background-color: #fff;
    padding: 50px;
    animation: fadeIn 1.5s ease-in-out;
}

.thankyou-message h1 {
    color: #008000; 
}

.thankyou-message button {
    background-color: #b20000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.thankyou-message button:hover {
    background-color: #a30000;
    transform: scale(1.05);
}


/* Featured Section Styles */
.featured-section {
    text-align: center;
    background-color: #fff;
    padding: 40px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.featured-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
}

.featured-card {
    background-color: #eaeaea;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.featured-card:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.featured-card img:hover {
    transform: scale(1.05);
}

.featured-card h2 {
    font-size: 1.5em;
    color: #b20000;
}

.featured-card p {
    color: #333;
    font-size: 1.1em;
}

/* Keyframes for animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.product-gallery {
    text-align: center;
}

.photo-table {
    border-spacing: 5px; 
    margin: 0 auto; 
}

.photo-table td {
    padding: 0; 
    border: 2px solid #ccc; 
    width: 500px; 
    height: 300px; 
}

.gallery-photo {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    border: 2px solid #000; 
}

.thankyou-photo {
    display: block;
    margin: 0 auto; /* Center the image */
    max-width: 70%; /* Ensure the image scales responsively */
    height: 400px;
}
