/*
    STEVE & CO. 
    steveandco.shop
    build: Light of Day v 0.0.0
    stylesheet development 
    © e]O eYeOpeners.design mmxxv - mmxxvi

    Global Styles - v 1.2.9
*/

/*
    CHANGE LOG >
    2025-12-27: portrait styles and responsiveness; -wm
    2025-12-18: uppercase letter spacing; product-name class for store; responsive supplement page images; footer clearance; removed 1px white border on imgs; -wm
    2025-12-17: added another figure width class; -wm
    2025-12-11: logo img height; .shop styles from home.css; -wm
    2025-12-09: button styles -wm
    2025-12-04: hyperlinks updates no underline, colors; white variable updated to color of the year. Shop button alignments;-wm
    2025-11-26: footer skirt; -wm
    2025-11-21: Steve logo styles; page header spacing -wm
    2025-11-19: text-styles, e.g, capitalize, uppercase; —wm
    2025-11-18: scroll to top for small screens; greys colors for store; —wm
    2025-11-17: universal scroll to top styles. —wm
    2025-11-16: naming and organizing conventions; —wm
    2025-11-12: Content img left; .clear-left/right/all;.text left; —wm
    2025-11-9: Fabrizio's birthday. caption class —wm
    2025-11-7: figure floats responsive and caption align;responsive various figure widths;hr margins —wm
    2025-11-6: first-letter coloring;hr coloring;broadcast variables across styles;button and hover styles;global sweep/naming conventions —wm
    2025-11-5: creation; organizing styles into blocks to export to other files as needed; nav logotype font styling; content container h1, h2 styling; content img l and r;eO styling;remove phone img from tel;global font color;hr styling;figure and captions;floats;justify;global variables —wm
*/

:root {
    /* 
        COLOR PALETTE
    */
    
    /* Page, background and text basic colors */
    --page--bg-color: #fffaee;
    --bg-color--light: #aaa;
    --main-text-and-bg-color--dark: #555;   
    --main-text-and-bg-color--darker: #2c3e50;
    
    /*
        Accent Colors
    */

    /* Blues */
    --accent-color--blue-lightblue: lightblue;
    --accent-color--blue-dodgerblue: dodgerblue;
    --accent-color--blue-navy: navy;
    --accent-color--blue-spanish-blue: #0070B8;

    /* Greens */
    --shadow-color--green: green;
    --accent-color--green-bright: lawngreen;
    --accent-color--green-dark: #006600;
    --accent-color--green-medium: #42a630;

    /* Reds */    
    --accent-color--red-crimson: crimson;
    --accent-color--red-maroon: maroon;
    
    /* Whites & Neutrals */
    --accent-color--white: 	#F0EFEB; /*Cloud Dancer - Pantone color of the year, 2025*/
    --accent-color--white-bright: #fff;
    --shadow-color--green-grey: #666633;
    --shadow-color--grey: grey;

    /* Others */
    --accent-color--orange: orange;
    --accent-color--pink: #ffe6ff;
    
    /* Fonts & Text */
    --font--main: 'Baskerville', serif;
    --font--accent: 'Lora', serif;
    --font--ampersand: 'Libre Baskerville', serif;
    --font--accent--shop: 'Montserrat', sans-serif;
    --font--accent--shop--label: 'Josefin Sans', sans-serif;
    --text-bold: 500;
    --text-heavy: 700;
    --text-italic: oblique;
    --text-light: 400;
    --width--max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--page--bg-color);
    color: var(--main-text-and-bg-color--dark);
    font-family: var(--font--accent);
    line-height: 1.6;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: brown;
}

.product-name {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: brown;
    font-weight: 600;
}

/* Images */
figcaption,
.caption {
    color: var(--shadow-color--green);
    font-style: var(--text-italic);
    font-size: 88%;
    padding: 0.5em;
}

.clear-all {
    clear: all;
}

.clear-left {
    clear: left;
}

.clear-right {
    clear: right;
}

figure img {
    width: 100%;
}

.figure-55 {
    width: 55%;
    border-right: 3px solid brown;
}

.figure-55 img {
    width: 100%;
    height: auto;
    min-height: 15em;
    max-width: 15em;
    max-height: 15em;
}

.figure-65 {
    width: 65%;
}

.figure-100 {
    width: 100%;
    margin: auto;
}

.float-left {
    float: left;
    margin-right: 1em;
    text-align: left;
}

.float-right {
    float: right;
    margin-left: 1em;
}

#gallery img {
    width: 100%;
}

.italic,
.oblique {
    font-style: var(--text-italic);
}

.text-justify {
    text-align: justify;
}

.text-right {
    text-align: right;
}

/* Depracated from ABOUT page
.text-justify::first-letter {
    font-family: cursive;
    font-size: 2em;
    font-weight: var(--text-heavy);
    color: var(--accent-color--red-crimson);
    background-color: var(--accent-color--pink);
    border: 1px solid var(--shadow-color--green);
    box-shadow: 4px 4px 20px 20px var(--accent-color--green-medium);
    margin-right: 0.25em;
}
*/

/* Inline text Hyperlinks */
a:link,
a:visited,
.link {
    color: var(--accent-color--red-maroon);
    text-decoration: none;
}

a:hover,
.link:hover {
    color: var(--accent-color--orange);
    text-decoration: none;
}
a:active {
    color: var(--accent-color--blue-dodgerblue);
    text-decoration: none;
}

/* Header */
header {
    text-align: center;
    padding: 20px 0;
    margin: -3rem auto 0;
}

header h1,
header h2 {
    font-family: var(--font--main);
    font-weight: var(--text-light);
    color: var(--shadow-color--grey);
    text-transform: uppercase;
    margin-bottom: 1em;
}

header h1 {
    font-size: 300%;
}

header h2 {
    font-size: 150%;
}

hr {
    height: 1px;
    background-color: var(--shadow-color--grey);
    /*
    box-shadow: 0.5px 0.5px 3px 0.5px rgba(50, 50, 50, 0.25);
    */
    margin: -3.5em auto 0;
    width: 50%;
    border: none;
}

.bold {
    font-weight: var(--text-heavy);
}

.eO {
    font-weight: var(--text-bold);
    color: var(--accent-color--blue-lightblue);
}

/* Steve & Co. Logo Styling with Stretched Height */
.logo {
    font-family: var(--font--main);
    font-size: 1.5rem;
    font-weight: var(--text-light);
    color: var(--accent-color--white);
    text-transform: uppercase;
    text-align: center;
    padding: 15px 0;
    display: inline-block; 
    /*
    comment the transform? Stretches height without affecting width
    transform: scaleY(1.3); 
    */
}

/* used for logotype amperasand */
.l-baskerville--italic {
    font-family: var(--font--ampersand);
    font-style: var(--text-italic);
    font-size: 75%;
}

/* Steve styles */

header img {
    width: 150px;
    position: relative;
    top: 5px;
}

.nav-container div {
    display: inline-block;
}

.nav-container img {
    height: 25px;
    margin-left: 5px;
    position: relative;
    top: 3px;
}

.portrait {
    width: 60%;
    float: right;
    margin-left: 1em;
}

.text-125 {
    font-size: 125%;
}

/* Contact & Footer */
#contact-section {
    text-align: center;
    margin-top: 30px;
}

#contact-section p {
    font-family: var(--font--accent);
    font-size: 18px;
}

/*. SHOP NOW > button on home page. */
.shop {
    font-family: var(--font--accent--shop--label);
    font-size: 200%;
    font-weight: bold;
    text-transform: capitalize;
    text-decoration: none;
    background-color: var(--accent-color--green-dark);
    color: var(--accent-color--white);
    margin-left: 72px;
    padding: 10px 20px;
    border: 0.5px solid lightskyblue;
    border-radius: 15px 5px 30px 10px;
    cursor: pointer;
    margin: 1.5em auto;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
    box-shadow: 2px 2px 5px 2px var(--main-text-and-bg-color--dark);
}
.shop:hover {
    background-color: var(--accent-color--blue-lightblue);
    box-shadow: 4px 4px 7px 4px var(--main-text-and-bg-color--dark);
    color: var(--accent-color--green-dark);
}

#eyeopeners {
    line-height: 1em;
}

#eyeopeners a:link,
#eyeopeners a:visited {
    color: var(--accent-color--blue-lightblue);
}
#eyeopeners a:hover {
    color: var(--accent-color-crimson);
}
#eyeopeners a:active {
    color: var(--accent-color--orange);
}

footer {
    color: var(--page--bg-color);
    background-color: var(--main-text-and-bg-color--dark);
    box-shadow: -5px -5px -20px -5px rgba(0, 0, 0, 0.1);
    font-family: var(--font--accent--shop--label), Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    font-size: 16px;
    text-align: center;
    clear: all;
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    font-size: 300%;
    margin: 0 1.5em 1em auto;
}

#special-container {
    margin-bottom: 1rem;
}

@media (max-width: 600px) { 

    #scroll-to-top {
        position: fixed;
        bottom: 20px;
        right: 5px;
        font-size: 250%;
        margin: 0;
    }

    .product-container {
        display: block;
    }

    .portrait {
        width: 100%;
    }
    
    .shop {
        text-align: center;
    }

    .sidebar-label {
        display: block;
        /* margin: 10px auto;  Center sidebar labels on smaller screens */
    }
}

.center {
    text-align: center;
    margin: auto;
}

.container {
    max-width: var(--width--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
nav {
    background-color: var(--main-text-and-bg-color--dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: var(--font--accent--shop--label), Tahoma, Geneva, Verdana, sans-serif;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

a.nav-link {
    color: var(--accent-color--white);
    text-decoration: none;
    padding: 20px 15px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #34495e;
    color: #3498db;
}

.nav-link-on {
    color: var(--accent-color--green-bright);
    text-decoration: none;
    padding: 20px 15px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.no-wrap,
.nowrap {
    white-space: nowrap;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent-color--white);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 5px;
}

.hamburger span:nth-child(2) {
    top: 13px;
}

.hamburger span:nth-child(3) {
    top: 21px;
}

/* Active state for hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 13px;
}

/* Main Content */
.content {
    padding: 40px 20px;   
    max-width: 800px;
    margin: 0 auto;
}

.content-img-left {
    float: left;
    width: 35%;
    margin-right: 1em; 
} 

.content-img-right {
    float: right;
    width: 35%;
    margin-left: 1em;
}

h1 {
    font-family: var(--font--main);
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 150%;
    color: var(--main-text-and-bg-color--dark);
    text-transform: uppercase;
}

p {
    margin-bottom: 15px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 250%;
    }

    header h2 {
        font-size: 125%;
    }
    
    hr {
        margin: -2.75em auto 1em;
        width: 90%;
    }

    .hamburger {
        display: block;
    }
    
    .content-img-left,
    .content-img-right {
        width: 100%;
    }

    .figure-55 {
        width: 100%;
        border-right: none;
    }

    .figure-55 img {
        margin: auto;
        text-align: center;
        width: 100%;
        height: auto;
        min-height: fit-content;
        max-width: fit-content;
        max-height: fit-content;
    }

    .figure-65 {
        width: 100%;
    }

    .float-left {
        float: none;
    }

    .float-right {
        float: none;
        margin-left: 0;
    }

    .float-right figcaption {
        text-align: left;
    }

    figcaption {
        text-align: left;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background-color: var(--main-text-and-bg-color--dark);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 20px;
    }
    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}