@charset "utf-8";

/*
    Villeda Events Products Stylesheet
    Author: Jose Sanchez
    Date: 12/17/2025

    Filename: ve_styles2.css
*/

/* Font Family Links */
.playfair-display-sc-regular {
  font-family: "Playfair Display SC", serif;
  font-weight: 400;
  font-style: normal;
}

.playfair-display-sc-bold {
  font-family: "Playfair Display SC", serif;
  font-weight: 700;
  font-style: normal;
}

.playfair-display-sc-black {
  font-family: "Playfair Display SC", serif;
  font-weight: 900;
  font-style: normal;
}

.playfair-display-sc-regular-italic {
  font-family: "Playfair Display SC", serif;
  font-weight: 400;
  font-style: italic;
}

.playfair-display-sc-bold-italic {
  font-family: "Playfair Display SC", serif;
  font-weight: 700;
  font-style: italic;
}

.playfair-display-sc-black-italic {
  font-family: "Playfair Display SC", serif;
  font-weight: 900;
  font-style: italic;
}


/* HTML and Body Styles */
html {
    background-color: #fff3e8;
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
}

body {
    margin: 0px auto;
    min-width: 320px;
    max-width: 1324px;
    width: 100%;
}

h1, h2 {
    font-family: 'Playfair Display SC', serif;
}

.main-content {
    display: flex;
    flex-direction: row;
}


/*Title and Logo*/
.branding {
    display: flex;
    align-items: center;
    justify-content: space-between; /*pushes title left, logo right*/
    border: 10px double rgb(90, 60, 40);
    box-sizing: border-box;
}

.site-title {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 20px;
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 600;
    color: rgb(56, 37, 25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /*prevents overflow instead of breaking layout*/
}

.logo {
    flex: 0 1 150px; /*allow shrinking*/
    width: 100px;
    height: auto;
    object-fit: contain;
}


/*Vertical Navigation Styles*/

nav.vertical {
    background-color: rgb(90, 60, 40);
    display: flex;
    width: 150px;
    padding: 30px;
    margin: 20px;
    text-align: center;
}

/*Main Menu Styles*/

.mainmenu { /*Stack menu items vertically*/
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-transform: uppercase;
}

.mainmenu li {
    font-size: 20px;
}

.mainmenu a {
    display: block;
    color: #e2e2e2;
    text-decoration: none;
}

.mainmenu a:hover, .mainmenu a:active {
    color: black;
}


/*Main Article Styles*/

.right-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.right-content h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.right-content h2 {
    margin-top: 50px;
    text-align: center;
}

article {
    margin: 20px;
}



/*Products Section*/

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.product-grid figure {
    margin: 0;
    width: 100%;
}

.product-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 2px 2px 5px;
}

.product-grid figcaption {
    font-size: 20px;
    margin-top: 5px;
    text-align: center;
}

.icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon:hover {
    box-shadow: rgb(67, 67, 67) 3px 3px 8px;
    transform: scale(1.1);
}

/*Services Section*/
.extra-info {
    padding: 30px;
    margin: 20px 0 0 0;
    border-radius: 15px;
}

/* Button Styles */
button {
 appearance: none;
 background-color: transparent;
 border: 0.125em solid #1A1A1A;
 border-radius: 0.9375em;
 box-sizing: border-box;
 color: #000000;
 cursor: pointer;
 display: block;
 font-family: sans-serif;
 font-size: 18px;
 font-weight: 600;
 margin: 0 auto;
 min-height: 3.75em;
 min-width: 0;
 outline: none;
 padding: 1em 2.3em;
 text-align: center;
 text-decoration: none;
 transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
 user-select: none;
 -webkit-user-select: none;
 touch-action: manipulation;
 will-change: transform;
}

button:disabled {
 pointer-events: none;
}

button:hover {
 color: #fff;
 background-color: rgb(90, 60, 40);
 box-shadow: rgba(0, 0, 0, 0.5) 4px 8px 15px;
 transform: translateY(-2px);
}

button:active {
 box-shadow: none;
 transform: translateY(0);
}

.noti {
    font-size: 0.8em;
    text-align: center;
}

.review {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    padding-bottom: 10px;
}



/*Footer Styles*/

footer {
    background-color: rgb(90, 60, 40);
    color: white;
    font-size: 0.9em;
    text-align: center;
    padding: 20px 0px;
    margin-top: 10px;
}



/*  ===========================
    Mobile Styles: 0px to 480px
    ===========================
*/
@media only screen and (max-width: 480px) {

    html {
        background-image: url(gallery/ve_mobilewp.jpg);
        background-attachment: fixed;
        background-position: center 20%;
        background-size: cover;
    }

    html, body {
        overflow-x: hidden;
    }

    .branding {
        flex-wrap: nowrap; /*forced single row*/
        background-color: #fff3e8;
    }

    .site-title {
        font-size: clamp(1.8rem, 6.5vw, 2.2em);
        white-space: nowrap;
        overflow: hidden;
    }

    .logo {
        width: 70px;
        max-width: 70px;
        margin-right: 10px;
    }

    .main-content {
        flex-direction: column;
        font-size: 1.2em;
        box-sizing: border-box;
        max-width: 100%;
    }

    nav.vertical {
        width: 100%;
        padding: 10px;
        margin: 0;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .mainmenu {
        gap: 15px;
    }

    .right-content {
        width: 100%;
        padding: 12px;
        flex: 1 1 auto;
        min-width: 0;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    .right-content h2 {
        margin-top: 50px;
    }

    .product-grid {
        gap: 10px;
    }

    .extra-info{
        padding: 0;
        line-height: 2em;
        text-align: center;
    }
    
    article {
        grid-template-columns: 1fr;
        margin: 10px;
    }

    ul {
        list-style-position: inside;
        padding-left: 0;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }

    
}




/*  ===========================
    Tablet Styles: 481px to 1024px
    ===========================
*/

@media only screen and (min-width: 481px) and (max-width:1024px) {

    html, body {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    html {
        background-image: url(gallery/ve_tabletbg.jpg);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
    }

    .branding {
        background-color: #fff3e8;
    }

    /* Stack branding and nav vertically */
    .main-content {
        flex-direction: column;
        gap: 10px; /* optional spacing */
        font-size: clamp(1.4em, 2.2vw, 2.5em);
    }

    /* Nav takes full width on top */
    nav.vertical {
        width: 100%;
        margin: 0;
        padding: 12px 0;
        justify-content: center;
        box-sizing: border-box;
    }

    .mainmenu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .mainmenu a {
        padding: 10px 14px;
    }

    /* Main content below nav */
    .right-content {
        width: 100%;
        padding: 15px;
    }

    .product-grid figcaption {
        padding-top: 20px;
    }

    /* Optional: scale title slightly for tablets */
    .site-title {
        font-size: clamp(1.9rem, 6.5vw, 4rem);
    }

    .logo {
        width: 120px;
        max-width: 120px;
        margin-right: 25px;
    }

    .desktop-only {
        display: none;
    }
}




/*  ===========================
    Desktop Styles: 1025px and above
    ===========================
*/

@media only screen and (min-width:1025px) {
    .right-content {
        font-size: 1.2em;
        line-height: 1.5em;
    }

    .logo {
        margin-right: 35px;
    }

    nav.vertical {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px;
        border: 10px double #fff3e8;
    }

    .desktop-only {
        width: 120px;
    }

}

