/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f1e9;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #8b5e3c;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #d4c2a3;
}

/* Name Section */

.name {
    text-align: left;
    padding: 70px 20px;
    background: url('Images/Jon_bg.png') no-repeat center/cover;
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    padding-left: 8%;
}
.name h2 {
    font-family: 'Georgia', serif; 
    font-size: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* About Section */

.about {
    display: flex;
    align-items: center;
    padding: 50px;
    width: 80%;
    margin: auto;
}

.about img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
}

.about-text h2 {
    font-family: 'Georgia', serif; 
}

.about-text {
    flex: 1;
    /*font-family: 'Georgia', serif; */
    font-size: 26px;
}

/* Section Styles */

.section {
    text-align: center;
    
    font-size: 20px;
    padding: 30px 20px;
    margin: 40px auto;
    border-radius: 12px;
    width: 80%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.art { background-color: #eae4d4; }
.interior { background-color: #c2b59b; }
.photography { background-color: #9b8f7e; }

.section h2 {
    font-family: 'Georgia', serif; 
    font-size: 36px;
    margin-bottom: 15px;
}

/* Carousel */

.carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.carousel img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



/* Button */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 18px;
    background-color: #60492c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn:hover {
    background-color: #8b5e3c;
    transform: scale(1.05);
}



/* Footer */

.footer {
    text-align: center;
    padding: 40px;
    background-color: #8b5e3c;
    color: white;
    margin-top: 40px;
}








/* Tablet (max-width: 900px) */
@media (max-width: 900px) {

    .name {
        padding: 30px 10px;
    }

    .section {
        width: 90%;
        padding: 40px 15px;
    }

    .carousel {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .carousel img {
        width: 100%;
        max-width: 250px;
        scroll-snap-align: center;
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 8px;
    }

    .name h2 {
        font-size: 36px;
    }

    .section {
        width: 95%;
        padding: 30px 10px;
    }

    .carousel {
        flex-direction: column;
        align-items: center;
    }

    .carousel img {
        width: 80%;
        max-width: 300px;
    }

    .footer {
        padding: 30px 15px;
    }
}
