/*
Griffin Gottfried
Final
November 30 2025
*/

/* CSS Reset */
body, header, nav, main, footer, img, h1, ul{
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rule for images*/
img {
    max-width: 100%;
    display: block;
}

/* Style rule for box sizing applies to all elements*/
* {
    box-sizing: border-box;
}

/* Style rules for header content*/
header{
    text-align: center;
    font-size: 1.5em; /* mobile only*/
    color: #FF7F50;
    background-color: #FAF9F6;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    padding: 4%;
    margin-right: 15%;
}

/* Style rules for the check out button*/
#cart-icon{
    position: fixed;
    font-size: 40px;
    bottom: 10px;
    right: 25px;
    z-index: 1000; /*keep it above all other elements*/
}

/* Style rules for navigation area*/
nav{
    background-color: #a2bffe;
}

nav ul{
    list-style-type: none;
    text-align: center;
}

.mobile-nav a {
    color: #fff;
    text-align: center;
    font-size: 2em;
    text-decoration: none;
    padding: 3%;
    display: block;

}

.mobile-nav a.menu-icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;

}

.menu-icon div {
    height: 50px;
    width: 50px;
    background-color: #373684;

}

.menu-links{
    display: none;
}

/* Style rules for main content*/
main{
    padding: 2%;
    background-color: #FAF9F6;
    overflow: auto;
    font-family: Roboto;
}

main p{
    font-size: 1.25em;
}

.action{
    font-size: 1.25em;
    color: #FF7F50;
    font-weight: bold;
}


#info {
    clear: left;
    background-color: #c0caf7;
    padding: 1% 2%;
}

#info ul {
    margin-left: 10%;
}

.round {
    border-radius: 8px;
}

#contact{
    text-align: center;
}

.email-link {
    color: #FF7F50;
    text-decoration: none;
    font-weight: bold;
}

audio{
    width:12%;
    min-width: 225px;
    margin-inline: 20px;
}

/* Styles rules for mobile viewport*/
.tel-link{
    text-align: center;
    background-color: #FF7F50;
    padding: 2%;
    margin: 0 auto;
    width: 80%;
    border-radius: 5px;
}

.tel-link a{
    color: #FAF9F6;
    text-decoration: none;
    font-size: 1.5em;
    display: block;

}

.map {
    width: 600px;
    height: 450px;
    border: 5px solid #FF7F50;
    width: 95%;
    height: 50%;
}


#about-form {
    background-color: #e5e9fc;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    margin: 25px auto;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    font-family: Roboto, sans-serif;
}

#about-form label {
    font-weight: bold;
    color: #373684;
}

#about-form input, #about-form select, #about-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 2px solid #FF7F50;
    border-radius: 6px;
    font-size: 1em;
}

/* Radio checkbox spacing*/
#about-form input[type="radio"], #about-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/*Small text*/
#about-form small {
    display: block;
    font-size: 0.75em;
    color: #555;
}

/* Textarea height */
#about-form textarea {
    resize: vertical;
}

/* Submit button*/
#about-form button {
    background-color: #FF7F50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    width: 100%;
}

#about-form button:hover {
    background-color: #e55a3a;
    transform: scale(1.02);
}

/*Style rules for footer*/
footer{
    text-align: center;
    font-size: 0.65em;
    clear: left;
    background: FAF9F6;
}

footer a {
    color: #4645a8;
    text-decoration: none;
}

#social img{
    display: inline-block;
    padding: 4%;
}

.tab-desk{
    display: none;
}

/* Profile Feed Styles - Grid layout for profile cards */
.profile-feed {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

/* Individual profile card styling */
.profile {
    text-align: center;
    width: 200px;
    padding: 10px;
    background-color: #e5e9fc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Round profile image styling */
.profile img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF7F50;
}

/* Profile name text styling */
.profile p {
    margin-top: 10px;
    font-weight: bold;
    color: #FF7F50;
}

/* Remove underline from profile links */
.profile a {
    text-decoration: none;
    color: inherit;
}

/* Profile Page Styles - Layout for individual profile pages */
.profile-page {
    text-align: left;
    padding: 20px;
}

/* Profile image on profile page */
.profile-page img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF7F50;
    margin-bottom: 20px;
}

/* Items grid */
.items {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 15px;
    row-gap: 15px;
}

/* Individual item styling in grid */
.items li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #e5e9fc;
    border-radius: 5px;
}

/* Icon styling for item types */
.items li i {
    margin-bottom: 10px;
    color: #FF7F50;
}

/* Add to cart button styling */
.add-to-cart {
    background-color: #FF7F50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.add-to-cart:hover {
    background-color: #e55a3a;
}


/* Cart Styles */
#cart {
    padding: 20px;
}

#cart-items {
    list-style: none;
    padding: 0;
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #e5e9fc;
    margin-bottom: 10px;
    border-radius: 5px;
}

.checkout-btn {
    background-color: #FF7F50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
}

.checkout-btn:hover {
    background-color: #e55a3a;
}

/* Media Query for Tablet Viewport*/
@media screen and (min-width: 550px){

    /* Tablet Viewport: SHow tab-desk class, hide mobile class*/
    .tab-desk {
        display: block;
    }

    .mobile, .mobile-nav{
        display: none;
    }

    /* Tablet Viewport: Style rule for header content*/
    span.tab-desk{
        display: inline;
    }

    /* More padding and smaller font for the check out button*/
    #cart-icon{
        font-size: 35px;
        top: 20px;
        right: 20px;
    }
    
    header{
        padding: 2%;
        margin-right: 0;
    }

    /* Tablet Viewport: Style rules for nav area*/
    nav ul{
        list-style-type: none;
        justify-content: center;
    }

    nav li{
        display: inline-block;
        font-size: 1em;
        width: auto;
        border: solid 1px #FAF9F6;

        border-left: #FF7F50;
        border-bottom: #FF7F50;
        border-top: #FF7F50;
    }

    nav li a {
        display: inline-block;
        color: #FF7F50;
        text-align: center;
        padding: 0.25em 1em;
        text-decoration: none;
    }
    
    nav li:last-child {
        border-right: #FF7F50;
    }

    /* Tablet Viewport: Style rule for map*/
    .map{
        width:500px;
        height: 450px;

    }

    footer {
        text-align: left;
        background-color: #FAF9F6;
        padding-left: 1%;
    }   
    
    #copyright{
        float: left;
        width: 65%;
    }
    
    #social {
        float: right;
        width: 25%;
    } 
}

/*Media Query for Desktop Viewport*/
@media screen and (min-width: 769px){
    /* Tablet Viewport: SHow tab-desk class, hide mobile class*/
    .tab-desk {
        display: block;
    }

    .mobile{
        display: none;
    }

    header{
        padding: 2%;
    }

    span.tab-desk{
        display: inline;
    }

    /* Style rules for nav area */
    nav li a {
        display: inline-block;
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #FF7F50;
        background-color: #e5e9fc;
        transform: scale(1.2);
    }

    /* Style rules for main */
    #info ul {
        margin-left: 5%;
    }

    /* Profile Feed 3 columns */
    .profile-feed {
        grid-template-columns: repeat(3, 1fr);
    }

    footer {
        padding-left: 2%;
        background-color: #FAF9F6;
    }

}

/* Media Query for Print*/
@media print{
    body{
        background-color: #FAF9F6;
        color: #000;
    }
}
