/* General body styling with a full-page background */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light gray text for better readability */
    height: 100%;
    min-height: 100vh;
}

/* Navigation styling */
nav {
    margin: 20px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #4a90e2; /* Lighter blue for elegance */
    font-weight: bold;
}

/* Homepage styling */
.homepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: rgba(30, 30, 30, 0.9); /* Softer dark background */
    color: #e0e0e0;
}

.intro h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #4a90e2; /* Consistent light blue for heading */
}

.intro button {
    padding: 12px 24px;
    font-size: 1.2em;
    background-color: #ff6b6b; /* Soft red for contrast */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #1a1a1a;
    margin-top: 10px;
}

.intro button:hover {
    background-color: #d9534f; /* Darker red on hover */
}

/* Slideshow styling */
.slideshow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery page styling */
.gallery-page {
    padding: 40px;
    text-align: center;
    background-color: #2b2b2b; /* Dark gray background */
    min-height: 100vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Center the grid container */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Darker shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Pop-up styling for gallery images */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10;
}

.popup img {
    max-width: 80%;
    max-height: 80%;
    margin-bottom: 10px;
}

.popup p {
    color: #e0e0e0;
    font-size: 1.2em;
}

/* Pagination styling */
.pagination button {
    padding: 10px 20px;
    margin: 5px;
    background-color: #4a90e2; /* Lighter blue */
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.pagination button:hover {
    background-color: #2a6d9b; /* Darker blue on hover */
}

/* About page styling */
.about-page {
    padding: 40px;
    background-color: #292929; /* Slightly lighter dark background */
    text-align: center;
    min-height: 100vh;
}

.about-page h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #4a90e2; /* Consistent heading color */
}

.about-page p {
    font-size: 1.2em;
    color: #e0e0e0;
    margin: 15px 0;
}

/* Profile image styling with 1:1 aspect ratio */
.profile-image {
    width: 150px; /* Fixed size for profile look */
    height: 150px; /* Fixed size for profile look */
    margin: 20px auto;
    overflow: hidden; /* Ensures image doesn't overflow */
    border-radius: 50%; /* Makes it circular */
}
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains 1:1 aspect ratio */
    border-radius: 50%;
}

/* Navigation styling */
.about-nav {
    margin-top: 30px;
}
.about-nav a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack image and text */
        align-items: center;
    }
    .about-text {
        max-width: 100%;
    }
    .about-page p {
        font-size: 16px;
    }
}

/* Container for centering and responsive padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

/* Flexbox for image and text side by side */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Adjust margins and max width for about text */
.about-text {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify; /* Aligns text evenly for a cleaner look */
}

.about-text p {
    margin: 10px 0;
}

/* Contact page styling */
.contact-page {
    padding: 40px;
    background-color: #1f1f1f; /* Darker background */
    text-align: center;
    min-height: 100vh;
}

.contact-page form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-page input {
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #666; /* Darker border */
    width: 80%;
    max-width: 400px;
}

.contact-page input[type="submit"] {
    background-color: #ff6b6b; /* Soft red */
    color: #1a1a1a;
    cursor: pointer;
    border: none;
    max-width: 200px;
}

.contact-page input[type="submit"]:hover {
    background-color: #d9534f; /* Darker red on hover */
}

/* Shop page styling */
.shop-page {
    padding: 40px;
    text-align: center;
    min-height: 100vh;
}

.product img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Consistent darker shadow */
}

.product p {
    font-size: 1.1em;
    margin-top: 10px;
}
