/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Navigation Styles (Using Flexbox version from index/gallery/thank_you) */
nav {
    display: flex;
    justify-content: space-between; /* Pushes logo left, links right */
    align-items: center; /* Vertically center items */
    padding: 15px 40px; /* Adjust padding (top/bottom, left/right) */
    border-bottom: 1px solid #eee;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px; /* Gap between logo and links container if they wrap */
}
.nav-logo {
    width: 275px; /* Increased size */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
}
.nav-links {
    display: flex;
    gap: 25px; /* Adjust spacing between links */
    flex-wrap: wrap; /* Allow links to wrap if needed */
    justify-content: center; /* Center links if they wrap */
}
nav a {
    margin: 0; /* Remove default margin, use gap in .nav-links */
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
}
nav a:hover {
    text-decoration: underline;
}

/* Footer Styles (Consistent across pages) */
footer {
    display: flex; /* Arrange items horizontally */
    align-items: center; /* Vertically align items */
    gap: 15px; /* Add space between logo and text */
    padding: 20px 40px; /* Adjust padding (top/bottom, left/right like nav) */
    margin-top: 40px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Index Page Specific Styles */
.hero {
    background-image: url('../public/sites/hero.png'); /* Adjusted path */
    background-size: cover;
    background-position: center center;
    filter: grayscale(100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.hero h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
}
.hero p {
    margin: 0;
    font-size: 1.2em;
}
.section-heading {
     text-align: center;
     margin-top: 40px;
     margin-bottom: 20px;
     font-size: 2.2em;
     color: #333;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
    max-width: 880px;
    margin: 0 auto;
}
.portfolio-item a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #eee;
    position: relative;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.portfolio-item a:hover img {
    filter: grayscale(0%);
}
.about-me {
    max-width: 880px;
    margin: 60px auto 40px auto;
    padding: 40px;
    background-color: #f4f4f4;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #ddd;
}
.about-me h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2em;
    color: #333;
}
.about-me p {
    text-align: left;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}
.about-me p:last-child {
    margin-bottom: 0;
}
.contact-section-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 880px;
    margin: 60px auto 40px auto;
    padding: 30px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.form-column, .social-column { /* Used on Index Page */
    flex: 1;
    min-width: 300px;
}
.form-column h2 { /* Index Page Form */
    text-align: left;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 2em;
}
.form-column label { /* Index Page Form */
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}
.form-column input[type="text"],
.form-column input[type="email"],
.form-column textarea { /* Index Page Form */
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-column textarea { /* Index Page Form */
    min-height: 150px;
    resize: vertical;
}
.form-column button { /* Index Page Form */
    display: block;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.form-column button:hover { /* Index Page Form */
    background-color: #555;
}
.form-message { /* Index Page Form Messages */
    border: 1px solid;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
    text-align: center;
}
.form-message.error { /* Index Page Form Error */
    color: #D8000C;
    background-color: #FFD2D2;
    border-color: #D8000C;
}
 .form-message.success { /* Index Page Form Success */
    color: #270;
    background-color: #DFF2BF;
    border-color: #4F8A10;
}
.social-column h2 { /* Index Page Social */
     text-align: left;
     margin-top: 0;
     margin-bottom: 25px;
     color: #333;
     font-size: 2em;
}
.social-column ul { /* Index Page Social */
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-column li { /* Index Page Social */
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}
 .social-column li i { /* Index Page Social */
    margin-right: 12px;
    width: 25px;
    text-align: center;
    font-size: 1.4em;
    color: #555;
}
.social-column li a { /* Index Page Social */
    color: #333;
    text-decoration: none;
    word-break: break-all;
}
.social-column li a:hover { /* Index Page Social */
    text-decoration: underline;
    color: #000;
}
@media (max-width: 768px) { /* Index Page Responsive */
    .contact-section-container {
        flex-direction: column;
        padding: 20px;
    }
     .form-column, .social-column {
        min-width: unset;
    }
    .form-column h2, .social-column h2 {
        text-align: center;
    }
}

/* Contact Page Specific Styles */
.form-container { /* Contact Page Form */
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.form-container h2 { /* Contact Page Form */
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.form-container label { /* Contact Page Form */
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea { /* Contact Page Form */
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-container textarea { /* Contact Page Form */
    min-height: 150px;
    resize: vertical;
}
.form-container button { /* Contact Page Form */
    display: block;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.form-container button:hover { /* Contact Page Form */
    background-color: #555;
}
.error-message { /* Contact Page Error */
    color: #D8000C;
    background-color: #FFD2D2;
    border: 1px solid #D8000C;
    padding: 10px;
    margin-top: 15px;
    border-radius: 3px;
    text-align: center;
}

/* Gallery Page Specific Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden; /* Keep this to clip the image to the rounded corners */
    border: 1px solid #eee;
    position: relative;
    border-radius: 8px; /* Add rounded corners */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    cursor: pointer;
}
.gallery-item a:hover img {
    filter: grayscale(0%);
}
/* Lightbox Customizations (Optional) */
.lb-data .lb-caption {
    font-size: 0.9em;
    color: #ccc;
}
.lb-data .lb-number {
    font-size: 0.9em;
    color: #ccc;
}

/* Thank You Page Specific Styles */
.thank-you-header {
     text-align: center;
     margin: 40px 20px 0 20px;
}
 .thank-you-header h1 {
    margin-bottom: 10px;
    font-size: 2.5em;
    color: #333;
}
.thank-you-header p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}
.content-columns { /* Thank You Page */
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 880px;
    margin: 0 auto 40px auto;
    padding: 20px;
    align-items: flex-start;
}
.image-column { /* Thank You Page */
    flex: 1;
    min-width: 250px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 4px;
}
.image-column img { /* Thank You Page */
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px; /* Added rounded corners */
}
.social-column-thankyou { /* Thank You Page */
     flex: 1;
     min-width: 300px;
     padding-left: 20px;
}
 .social-column-thankyou h2 { /* Thank You Page */
     text-align: left;
     margin-top: 0;
     margin-bottom: 25px;
     color: #333;
     font-size: 2em;
}
.social-column-thankyou ul { /* Thank You Page */
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-column-thankyou li { /* Thank You Page */
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}
 .social-column-thankyou li i { /* Thank You Page */
    margin-right: 12px;
    width: 25px;
    text-align: center;
    font-size: 1.4em;
    color: #555;
}
.social-column-thankyou li a { /* Thank You Page */
    color: #333;
    text-decoration: none;
    word-break: break-all;
}
.social-column-thankyou li a:hover { /* Thank You Page */
    text-decoration: underline;
    color: #000;
}
@media (max-width: 768px) { /* Thank You Page Responsive */
    .content-columns {
        flex-direction: column;
        align-items: center;
    }
     .social-column-thankyou {
         padding-left: 0;
         margin-top: 30px;
         width: 100%;
     }
     .social-column-thankyou h2 {
         text-align: center;
     }
     .image-column {
         max-width: 400px;
         width: 100%;
     }
}