body{
    margin: 0;
    padding: 0;
    background-color: beige;
}

/* Navbar Styles */

head{
    color:#804e4e
}

h1 a{
    display: block;
    color: rgb(128, 78, 78);
    font-family: Ultra;
    text-decoration: none;
}

h1 a img{
    vertical-align: middle;
    margin: 0px 0px 0px 10px;
    height: 48px;
    width: 48px;
}

h1 a .profileIcon{
    display: inline-block;
    vertical-align: bottom;
    float: right;
}

h1 a .profileIcon img{
    vertical-align: bottom;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 0px;
    float: right;
    height: 32px;
    width: 32px;
}

ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color:#804e4e;
    position: relative;
    top: 0;   
}

ul.navbar  li{
    float: left;
}

ul.navbar  li a{
    display: block;
    color: beige;
    font-family: Momo Trust Display;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.navbar li a:hover{
    background-color: rgb(181, 120, 120);
}

/* Info Section Styles */

.info-wrap{
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    width: 1175px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

ul.info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0; 
    align-items: flex-start;
}

ul.info li{
    display: block;
    color: #4f3f35;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    padding: 14px 24px;
    border-right: 2px solid #804e4e;
    font-size: 25px;
}

ul.info li:last-child {
    border-right: none;
}

/* Album Grid Styles */

.album-grid{
    display: grid;
    gap: 10px;
    margin: 8px auto; 
    justify-content: center; 
    grid-template-columns: 385px 385px 385px;
    grid-auto-rows: 200px;
}

.album-item{
    position: relative;
    overflow: hidden;
    display: block;
}

.album-item img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    display: block;
}

.album-item .overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #ffffff;
    font-family: Limelight;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 8px;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
    opacity: 1;
}

.album-item:hover .overlay{
    opacity: 0;
}

.album-item.featured{
    grid-column: 1 / 2;
    grid-row: 1 / span 3;
}

.album-item.top-sellers{
    grid-column: 2 / 3;
    grid-row: 1 / span 3;
}

.album-item.coming-soon{
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.album-item.releases{
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.album-item.newsletter{
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

h2.overlay{
    width:100%;
    height:100%;
    color: beige;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 16px;
}

/* Footer Styles */

.footer{
    position:relative;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #804e4e;
    color: beige;
    text-align: center;
}

/* Contact Us Styles */

.contactus{
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.contactus table{
    width: 1100px;
    max-width: 95%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: hidden;
}

.contactus th,
.contactus td{
    padding: 14px 18px;
}

.contactus th{
    background: #804e4e;
    color: beige;
    text-align: left;
    font-family: Momo Trust Display, sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.contactus td{
    background: #fff8f6;
    color: #4a2f2f;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    border-top: 1px solid rgba(128,78,78,0.12);
}

.contactus tr:nth-child(even) td{
    background: #fff5f3;
}

/* About Us Styles */

h2{
    color: #804e4e;
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 48px;
    text-align: center;
}

h2 p.aboutus{
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color:#4f3f35;
    line-height: 1.6;
    margin: 0px 200px 0px 200px;
}

h2 p.aboutus img{
    margin: 20px 20px 20px 20px;
    width: 800px;
    height: 400px;
}

/* Feedback Styles */

.feedback {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.feedback-form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    align-items: start;
}

.form-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-right {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feedback label{
    display: block;
    font-size: 20px;
    font-family: Momo Trust Display, sans-serif;
    color: #804e4e;
    font-weight: 600;
}

.feedback input,
.feedback textarea {
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #804e4e;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    box-sizing: border-box;
}

.feedback textarea {
    resize: vertical;
    min-height: 250px;
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.feedback input[type="submit"] {
    background-color: #804e4e;
    color: beige;
    padding: 10px 24px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: auto;
}

.feedback input[type="submit"]:hover {
    background-color: rgb(181, 120, 120);
}

/* Products Styles */

h2.product-list{
    color: #804e4e;
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 36px;
    text-align: center;
    margin-top: 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-item {
    position: relative;
    background: #fff;
    border: 1px solid #e0d0c8;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item h3 {
    font-family: Limelight;
    color: #804e4e;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.product-item p {
    font-family: Momo Trust Display;
    color: #4f3f35;
    font-size: 0.95rem;
    margin: 0.3rem 0;
}

.product-item p.price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #804e4e;
    margin-top: auto;
    margin-bottom: 0.75rem;
}

.add-btn {
    align-self: flex-end;
    background-color: #804e4e;
    color: beige;
    border: none;
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.add-btn:hover {
    background-color: rgb(181, 120, 120);
}

/* Responsive Styles */

@media (max-width: 900px) {
    .index-page .album-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }
    .index-page .album-item.featured,
    .index-page .album-item.top-sellers {
        grid-column: auto;
        grid-row: auto;
    }

    .index-page .album-item img {
        height: auto;
    }

    .index-page .info-wrap{
        width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .index-page ul.navbar{ display: block; }
    .index-page ul.navbar li{ float: none; display:block; text-align:center; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .index-page ul.navbar li a{ display:block; padding: 10px; }

    .index-page .album-grid{ grid-template-columns: 1fr; gap: 10px; padding: 0 0.75rem; }
    .index-page .album-item.featured, .index-page .album-item.top-sellers{ grid-column: auto; grid-row: auto; }
    .index-page .album-item img{ width: 100%; height: auto; }

    .index-page h2{ font-size: 32px; }
    .index-page .info-wrap{ padding: 0 0.75rem; }
}

@media (max-width: 900px) {
    .about-page .aboutus img{ max-width: 100%; height: auto; display: block; margin: 0 auto 1rem; }
    .about-page h2 p.aboutus{ margin: 0 1rem; }
}

@media (max-width: 640px) {
    .about-page h2{ font-size: 32px; }
    .about-page h2 p.aboutus{ margin: 0 0.75rem; font-size: 16px; line-height: 1.4; }
}

@media (max-width: 320px) {
    .about-page h2 p.aboutus{ margin: 0 0.5rem; font-size: 15px; }
}

@media (max-width: 900px) {
    .feedback-form {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .form-footer {
        grid-column: 1 / -1;
    }

    .feedback textarea {
        min-height: 200px;
    }

    /* product grid reduce columns */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    ul.navbar {
        display: block;
    }

    ul.navbar li {
        float: none;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    ul.navbar li a{
        padding: 12px 10px;
        display: block;
    }

    h2 {
        font-size: 36px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .feedback label{
        font-size: 18px;
    }

    .feedback input,
    .feedback textarea {
        font-size: 15px;
        padding: 6px 10px;
    }
}

@media (max-width: 300px) {
    body {
        font-size: 14px;
    }

    h1 a img{
        height: 36px;
        width: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .feedback label{
        font-size: 16px;
    }

    .feedback textarea {
        min-height: 160px;
    }

    .product-item img {
        height: 150px;
    }

    .product-grid {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 300px) {
    .feedback label{
        font-size: 15px;
    }

    .feedback input,
    .feedback textarea {
        font-size: 14px;
        padding: 6px 8px;
    }

    .product-item h3 {
        font-size: 1rem;
    }

    .add-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}