/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding-top: 60px; /* Adjust to the header height */
}

/* Navigation Bar */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 80%;
    margin: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Adds space between items */
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ddd;
    text-decoration: underline;
}

/* Home/About Section */
.home-section {
    background: #fff;
    padding: 80px 0; /* Increased padding to account for fixed header */
    text-align: center;
}

.home-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.home-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    background: #333;
    text-decoration: none;
    border-radius: 5px;
}

.cta-button:hover {
    background: #555;
}

/* Photography Section */
.photography-section {
    padding: 80px 0; /* Adjusted padding for consistency */
    text-align: center;
    background: #f4f4f4;
}

.photography-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.photography-section p {
    font-size: 18px;
    max-width: 800px;
    margin: auto;
}

.photography-section .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.photography-section .gallery img {
    width: 100%;
    border-radius: 5px;
}

/* Contact Us Section */
.contact-section {
    display: block; /* Ensure it's not flex or grid, which can override */
    padding: 80px 0;
    background-color: #fff;
}

.contact-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-section p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Form Container */
.contact-section form {
    display: block;
    flex-direction: column; /* Stack elements vertically */
    gap: 20px; /* Adds space between form elements */
    padding: 20px;
    max-width: 600px;
    margin: auto;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Label styling */
.contact-section label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Input & Textarea styling */
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Textarea specific styling */
.contact-section textarea {
    height: 150px; /* More height for the textarea */
    resize: vertical; /* Allows resizing only vertically */
}

/* Submit Button Styling */
.contact-section .submit-button {
    padding: 12px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    align-self: center; /* Centers the button */
}

.contact-section .submit-button:hover {
    background-color: #555;
}


/* Order Form Section */
.order-form-section {
    padding: 80px 0;
    background: #f4f4f4;
}

.order-form-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.order-form-section p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.size-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.size-input input {
    width: 60px;
    padding: 5px;
}

/* Center the form */
.order-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form labels and inputs */
.order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
}

.order-form input[type="text"],
.order-form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Size input flexbox */
.size-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.size-input input {
    width: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Align label and checkbox on the same line */
.order-form label[for="shipping"] {
    display: inline-block;
    margin-right: 10px;
}

.order-form input[type="checkbox"] {
    display: inline-block;
    width: auto; /* Remove full-width for checkbox */
    margin-top: -2px; /* Adjusts alignment to the label */
}

/* Submit button */
.submit-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #555;
}

/* Center-align the heading and text */
main h1, main p {
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .container {
        width: 90%;
    }
}

/* Default styling for navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-toggle {
    display: none; /* Hide toggle button by default */
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* below the fixed header */
        left: 0;
        right: 0;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: block; /* Show toggle button on smaller screens */
    }

    .nav-links.show {
        display: flex;
    }
}
