* {
    padding: 0px;
    border: 0px;
    margin: 0px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    max-width: 2000px;
    margin: 0 auto;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

/*----HEADER------*/
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    gap: 10px;
}

header img {
    width: 80px;
}

header div {
    flex: 1 1 200px; /* flexible width */
    min-width: 200px;
    margin-left: 20px;
}

header div h1 {
    font-size: 20px;
}

header div p {
    font-size: 16px;
    color: grey;
}

header nav {
    display: flex;
    gap: 20px;
}

header nav a {
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: lightgray;
    cursor: pointer;
    transition: background-color 0.25s;
}

header nav a:hover {
    background-color: grey;
}

header nav a img {
    width: 30px;
    height: 30px;
}

/*----HERO------*/
#hero {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

#hero p {
    font-size: 2rem;
    font-weight: 600;
}

#hero #cursive {
    font-family: "Sacramento", cursive;
    font-size: 150px;
    line-height: 0.8;
    font-weight: 300;
    padding-top: 30px;
    background: linear-gradient(90deg, #ff7eb3, #ff4d94);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

#hero button {
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    margin-top: 50px;
    background: rgb(250, 209, 140);
    cursor: pointer;
    transition: 0.25s;
}

#hero button:hover {
    background: rgb(229, 187, 113);
}

/*----INFO------*/

#info {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: gray;
    background-color: rgb(240, 240, 240);
    border: 1px solid rgb(200, 200, 200);
}

/*----ABOUT------*/
#about {
    width: 100%;
    max-width: 1300px;
    padding: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap; /* wrap for small screens */
}

#about div {
    max-width: 500px;
    margin-bottom: 20px;
}

#about img {
    max-width: 300px;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/*----GALLERY------*/
#gallery {
    width: 100%;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#gallery p {
    margin-bottom: 50px;
    text-align: center;
}

#gallery .gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
/* --- GALLERY UNIFORM THUMBNAILS --- */

#gallery .gallery-grid a {
    width: 100%;
    aspect-ratio: 1 / 1; /* makes every preview square */
    overflow: hidden;
    display: block;
}

#gallery .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}

#gallery .gallery-grid a:hover img {
    transform: scale(1.05);
}

/*----CONTACT / REQUEST A QUOTE------*/
#contact {
    width: 100%;
    max-width: 800px;
    padding: 50px 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#contact p {
    margin-bottom: 20px;
    color: grey;
    line-height: 1.5;
    max-width: 600px;
}

/* Form styling */
#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each form row */
#contact-form .form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Labels */
#contact-form label {
    margin-bottom: 5px;
    font-weight: 500;
}

/* Inputs & textarea */
#contact-form input,
#contact-form textarea {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.25s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #ff7eb3;
}

/* Submit button */
#contact-form button {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    background: rgb(250, 209, 140);
    cursor: pointer;
    transition: 0.25s;
    border: none;
}

#contact-form button:hover {
    background: rgb(229, 187, 113);
}

/*----FOOTER------*/
footer {
    width: 100%;
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

#footer-cont {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#footer-cont h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#footer-cont p {
    color: grey;
    font-size: 1rem;
    line-height: 1.5;
}

#footer-cont .social-links {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

#footer-cont .social-links a {
    color: #333;
    font-weight: 500;
    transition: color 0.25s;
}

#footer-cont .social-links a:hover {
    color: #ff4d94;
}

#footer-cont .copyright {
    font-size: 0.9rem;
    color: grey;
}

/*----RESPONSIVE------*/
@media (max-width: 1024px) {
    #hero #cursive {
        font-size: 120px;
    }

    #about {
        flex-direction: column;
        padding: 40px 20px;
    }

    #about div {
        max-width: 100%;
        text-align: center;
    }

    #about img {
        max-width: 800px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-center;
    }

    header div {
        flex: 1 1;
        margin-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    #hero {
        height: 400px;
    }

    #hero #cursive {
        font-size: 80px;
    }

    #hero p {
        font-size: 1.5rem;
    }

    #hero button {
        margin-top: 70px;
    }

    #hero button,
    #hero a {
        width: 100%;
    }

    #info {
        display: block;
    }

    #about div {
        max-width: 100%;
        text-align: center;
    }

    #gallery .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    #gallery img {
        min-height: 300px;
        height: auto;
    }

    #contact {
        padding: 30px 20px;
    }

    #contact p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    #contact-form input[type="date"] {
        width: 100%;
        min-width: 0;
        display: block;
        -webkit-appearance: none;
        appearance: none;
    }

    #contact-form .form-row {
        width: 100%;
        min-width: 0;
    }

    #footer-cont h3 {
        font-size: 1.25rem;
    }

    #footer-cont .social-links {
        gap: 15px;
    }
}
