/* Import Roboto Light from Google Fonts */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap'); */

/* Load LEMONMILK-Regular.otf */
@font-face {
    font-family: 'LEMONMILK-Regular';
    src: url('fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Optional: ensures text remains visible during load */
}

/* Load LEMONMILK-Light.otf */
@font-face {
    font-family: 'LEMONMILK-Light';
    src: url('fonts/LEMONMILK-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Optional: ensures text remains visible during load */
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif; /* Roboto Light for body text */
    font-weight: 300; /* Light weight */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f2f3ec; /* Updated background color */
    color: #333;
}

/* Main Container */
.container {
    max-width: 1000px; /* Reduced from 1200px for a more contained look */
    margin: 0 auto; /* Center the container */
    padding: 20px;
    /* background-color: #fff; */ /* Remove or comment out this line */
    /* border-radius: 8px; */ /* Remove or comment out this line */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ /* Remove or comment out this line */
}

/* Main Title */
header {
    text-align: center;
    padding: 50px 0; /* Reduced spacing around the title (70px -> 50px) */
    background-color: transparent; /* Removed background color */
    color: #333; /* Dark text for contrast */
}

header h1 {
    margin: 0;
    font-size: 2.5rem; /* Reverted to previous title size (3rem -> 2.5rem) */
    font-family: 'Roboto', sans-serif; /* Roboto Light for the title */
    font-weight: 300; /* Light weight for the title */
}

/* Navigation Bar */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Display navigation items in a row */
    justify-content: center; /* Center the navigation items */
}

nav ul li {
    position: relative; /* Required for positioning the dropdown */
    margin: 0 10px; /* Spacing between navigation items */
}

nav ul li a {
    color: #333; /* Dark text for contrast */
    text-decoration: none;
    font-weight: bold; /* Use bold weight for LEMONMILK-Bold */
    font-family: 'LEMONMILK-Regular', sans-serif; /* Apply LEMONMILK-Regular */
    font-size: 14px; /* Smaller font size */
    padding: 10px; /* Add padding for better clickability */
    display: block; /* Make the entire area clickable */
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Dropdown Menu */
nav ul li .dropdown {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position dropdown below the parent item */
    top: 100%; /* Align dropdown with the bottom of the parent item */
    left: 0;
    background-color: #fff; /* White background for dropdown */
    border: 1px solid #ddd; /* Add a subtle border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
    z-index: 10; /* Ensure dropdown appears above other content */
    min-width: 80px; /* Set a minimum width for the dropdown */
}

nav ul li .dropdown li {
    margin: 0; /* Remove margin for dropdown items */
}

/* Dropdown Menu */
nav ul li .dropdown li a {
    padding: 10px; /* Reduced padding for dropdown items */
    color: #333; /* Dark text for contrast */
    text-decoration: none;
    display: block; /* Make the entire area clickable */
    font-family: 'LEMONMILK-Light', sans-serif; /* Use LEMONMILK-Light for dropdown items */
    font-weight: 300; /* Light weight for dropdown items */
    font-size: 12px; /* Smaller font size for dropdown items */
}

nav ul li .dropdown li a:hover {
    background-color: #f2f3ec; /* Light background on hover */
}

/* Show dropdown on hover */
nav ul li:hover .dropdown {
    display: block;
}

/* Full-width image at the top of the gallery */
.full-width-image {
    width: 1000px; /* Match the width of the three-column grid */
    max-width: 100%; /* Ensure it doesn't exceed the container's width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any extra spacing below the image */
    margin: 0 auto 40px; /* Center the image and add spacing below */
}

/* Header image at the top of the website */
.header-image {
    width: 300px; /* Match the width of the three-column grid */
    max-width: 100%; /* Ensure it doesn't exceed the container's width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any extra spacing below the image */
    margin: 0 auto 0px; /* Center the image and add spacing below */
}

/* Gallery Sections */
.gallery {
    padding: 30px 0; /* Increased distance between navigation bar and grid (20px -> 30px) */
    text-align: center;
}

.gallery h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif; /* Roboto Light for gallery headings */
    font-weight: 300; /* Light weight for headings */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 327px); /* Grid cell size remains 200px */
    gap: 10px; /* Slightly increased spacing between images (30px -> 40px) */
    justify-content: center; /* Center the grid horizontally */
    margin: 0 auto; /* Center the grid within the container */
}

.gallery-grid img {
    width: 100%; /* Fill the grid cell width */
    height: 300px; /* Fixed height to match the width */
    object-fit: cover; /* Ensure images fill the space without distortion */
    border-radius: 0; /* Remove rounded corners */
    transition: none; /* Remove hover animation */
}

/* About and Contact Sections */
#about, #contact {
    padding: 20px 0;
    text-align: center;
}

#about p, #contact p {
    max-width: 600px; /* Reduced from 800px for tighter text */
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

#contact a {
    color: #333;
    text-decoration: none;
    font-weight: 300; /* Light weight for links */
}

#contact a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scrolling if needed */
    background-color: #fff; /* White background */
}

.modal-content {
    position: relative;
    background-color: #fff; /* White background for the modal content */
    margin: 5% auto; /* Center the modal */
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-height: 1000px;
    object-fit: contain; /* Ensure the image fits within the modal */
    border-radius: 0px;
}

.modal-content .close {
    position: absolute;
    top: 5px;
    right: -5px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-content .close:hover {
    color: #000;
}

#modal-text {
    margin-top: 5px;
    text-align: center; /* Center the text fields */
    font-family: 'LEMONMILK-Light', sans-serif; /* Use the same font as the navigation menu */
}

#modal-text h2 {
    font-size: 0.7rem;
    margin-bottom: 2px;
}

#modal-text p {
    font-size: 0.7rem;
    margin-bottom: 2px; 
} 

/* Two-column layout */
.two-column {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Aligns content to the top */
}

.image-column {
    flex: 0 0 40%; /* Fixed width for image */
    position: sticky;
    top: 20px; /* Sticks to top when scrolling */
}

.image-column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-column {
    flex: 1; /* Takes remaining space */
}

@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
    }
    
    .image-column {
        position: static;
        margin-bottom: 20px;
    }
}

/* Optional text styling */
h1 {
    font-family: 'LEMONMILK-Regular', sans-serif;
    margin-top: 0;
}

p {
    margin-bottom: 1.5em;
}