@import url(style.css);
/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: rgb(255, 255, 255);
    color: white;
    background-image: url('/IMAGES/soba.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Links */
a {
    color: white;
    text-decoration: none;
}

/* Main Section */
main {
    font-size: 22px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    color: white;
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin: 50px auto;
    max-width: 90%;
}

/* Headings */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 16px;
    line-height: 1.5;
}

/* Contact Section */
.contact-info, .contact-form {
    margin: 40px 0;
    width: 80%;
}

.background-box {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
}

.contact-info h2, .contact-form h2 {
    font-size: 24px;
    text-align: center;
    color: gold;
}

.contact-info p, .contact-form p {
    font-size: 14px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

input, textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid gold;
    border-radius: 8px;
    background-color: white;
    color: black;
    font-size: 14px;
}

textarea {
    height: 150px;
}

input:focus, textarea:focus {
    border-color: #FFD700;
    outline: none;
}

button {
    width: 80%;
    padding: 12px;
    margin-top: 10px;
    font-size: 14px;
    background-color: gold;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #c7a200;
}

.contact-button {
    display: inline-block;
    background-color: gold;
    padding: 10px 20px;
    color: black;
    border-radius: 8px;
    text-align: center;
}

.contact-button:hover {
    background-color: #c7a200;
}

/* Media Queries for Responsiveness */

/* Mobile devices (less than 600px) */
@media (max-width: 600px) {
    main {
        font-size: 18px; /* Smaller text for mobile */
        padding: 20px; /* Reduced padding */
        margin: 20px auto; /* Reduced margin */
    }

    .hero h1 {
        font-size: 24px; /* Smaller header */
    }

    .hero p {
        font-size: 14px; /* Smaller paragraph */
    }

    .contact-info h2, .contact-form h2 {
        font-size: 20px; /* Smaller heading for contact */
    }

    .contact-info p, .contact-form p {
        font-size: 12px; /* Smaller paragraph text */
    }

    input, textarea, button {
        width: 90%; /* Make input fields and button larger on mobile */
    }

    button {
        font-size: 16px; /* Larger button text */
        padding: 14px; /* Larger padding */
    }

    .contact-button {
        font-size: 16px; /* Larger text for contact button */
        padding: 14px 25px; /* Larger padding */
    }
}

/* Tablets (between 600px and 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    main {
        font-size: 20px; /* Medium text size */
        padding: 25px; /* Adjust padding */
    }

    .hero h1 {
        font-size: 28px; /* Medium size header */
    }

    .hero p {
        font-size: 15px; /* Medium font size */
    }

    .contact-info h2, .contact-form h2 {
        font-size: 22px; /* Medium size heading */
    }

    .contact-info p, .contact-form p {
        font-size: 13px; /* Medium font size */
    }

    input, textarea, button {
        width: 85%; /* Slightly larger fields */
    }

    button {
        font-size: 15px;
    }

    .contact-button {
        font-size: 15px;
    }
}

/* Large screens (above 900px) */
@media (min-width: 901px) {
    main {
        font-size: 22px; /* Larger text for desktop */
        padding: 30px;
    }

    .hero h1 {
        font-size: 32px; /* Larger header */
    }

    .hero p {
        font-size: 16px; /* Regular font size */
    }

    .contact-info h2, .contact-form h2 {
        font-size: 24px;
    }

    .contact-info p, .contact-form p {
        font-size: 14px;
    }

    input, textarea, button {
        width: 80%; /* Regular width for desktop */
    }

    button {
        font-size: 14px;
    }

    .contact-button {
        font-size: 14px;
    }
}

.contact-form {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid gold;
    border-radius: 8px;
    background-color: white;
    color: black;
    font-size: 16px;
    font-family: 'Montserrat';
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    font-size: 16px;
    background-color: gold;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #c7a200;
}
