* {
    margin: 0;
    padding: 0;
    /* border: 1px solid red; */
}

body {
    margin: 0 2em;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond';
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

a {
    text-decoration: none !important;
    color: #232323;

}

p {
    color: #232323;
}

img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

img:hover {
    filter: grayscale(0%);
    transform: scale(1.003);
    transition: 0.3s ease-in-out;
}

nav {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

nav img {
    height: 2.5em;
    width: 2.5em;
}

.content-box {
    margin: 7em 0 !important;
    padding: 0 3em;
}

.flex {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin: 2em 0 3em 0;
    gap: 4em;
}

.flex-left {
    flex: 0.6;
}

.flex-right {
    flex: 1;
}

#about-section {
    position: relative;
    background: url('tulipbg.jpg') no-repeat center center;
    background-attachment: fixed; /* This makes the background stay in place, creating the parallax effect */
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    text-align: center;
}

#about-section:hover {
    filter: grayscale(0%);
}


#about-section.flex img {
    height: 100vh;
    flex: 1;
    object-fit: cover;
    filter: grayscale(100%); /* Make the image black and white */
    transition: filter 0.3s ease; /* Smooth transition for hover effect */
}

#about-section.flex img:hover {
    filter: grayscale(0%); /* Show the color on hover */
}

#about-section h1 {
    font-size: 2.5em;
}

#details-img-1 {
    width: 100%;
    object-fit: cover;
    height: 35em;
}

#details-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#details-about img {
    width: 80%;
}

#details-about .content {
    margin: 1em 0;
    width: 80%;
}

.content h3 {
    margin: 0.3em 0;
}

.content p {
    text-align: justify;
}

.btn {
    display: block;
    border: 1px solid #232323;
    font-family: 'Cormorant Garamond';
    text-transform: uppercase;
    color: #232323;
    text-decoration: none;
    font-weight: 700;
    padding: 0.6em 0.7em;
    margin: 1em 0;
    width: max-content;
    transition: 0.5s ease;
    background: #fff;
}

.btn:hover {
    background: #232323;
    border: 1px solid #232323;
    color: white;
}

#contact {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

#contact #contact-info {
    flex: 1;
}

#contact img {
    flex: 0.9;
    width: 50%;
    height: 30em;
    object-fit: cover;
}

form {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin: 1em 0;
}

form input, form textarea {
    height: 2em;
    width: 80%;
    margin: 0.3em 0;
    padding: 0.2em 0.1em;
    font-size: 15px;
    border: 0;
    border-bottom: 1px solid rgb(180, 179, 179);
    outline: none;
}

form input:focus, form textarea:focus {
    border-color:goldenrod;
    transition: .2s ease;
}

form button {
    cursor: pointer;
}




@media (max-width: 500px) {
    body {
        margin: 0;
        width: 100%;
        padding: 0;
    }
    .content-box {
        margin: 3em 0 !important;
        padding: 0 1em;
    }
    #about-section {
        width: 100%;
        margin: 0;
        height: 35em;
    }
    .flex {
        flex-direction: column;
    }
    .flex-left, .flex-right {
        flex: 1;
    }
    #details-img-1 {
        display: none;
    }
    
    #details-about img {
        width: 100%;
    }
    
    #details-about .content {
        width: 100%;
    }
    #contact {
        flex-direction: column-reverse;
    }
    #contact #contact-info {
        flex: auto;
        width: 100%;
    }
    
    #contact img {
        flex: auto;
        width: 100%;
        height:16em;
        object-fit: cover;
        margin-bottom: 1em;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        margin: 0;
        width: 100%;
    }
    
    form input, form textarea {
        height: 2em;
        width: 100%;
        margin: 0.3em 0;
        padding: 0.2em 0.1em;
        font-size: 15px;
        border: 0;
        border-bottom: 1px solid rgb(180, 179, 179);
        outline: none;
    }
    
    form input:focus, form textarea:focus {
        border-color:goldenrod;
        transition: .2s ease;
    }
    
    form button {
        cursor: pointer;
    }
}