/* 
Theme Name: Uncle Aaron
Theme URI: https://www.morrisonsites.com
Author: Daniel Morrison Cook
Description: Emilio Finatti 2025 website, designed and hosted by Morrison Sites.
Version: 2.0
*/

/* Fonts */

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/book.woff2') format('woff2');
    font-weight: 300;
    font-style: light;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: 'Gotham';
    src: url('./fonts/black.woff2') format('woff2');
    font-weight: 900;
    font-style: bolder;
}

@font-face {
    font-family: 'Ashley';
    src: url('./fonts/ashley.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Miscellaneous */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
    }
    #pizza-canvas, #home-pizza-canvas {
        height: -webkit-fill-available;
    }
}

button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Emilio's Button */

.btn-emilio h3 {
    color: white !important;
    font-weight: 900
}

.btn-emilio{
    background-color: var(--tomato);
    border: none;
    z-index: 5;
    position: relative;
    transition: background-color 0.3s ease;
}

main {
    overflow-x: hidden;
}


.btn-emilio:hover, .btn-emilio:active, .btn-emilio:focus {
    background-color: var(--gold);
}

.btn-emilio:hover > h3,
.btn-emilio:active > h3,
.btn-emilio:focus > h3 {
    color: var(--tomato) !important;
}

h1, h3, h4, h5 {
    font-family: 'Gotham', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';   
}

svg, img {
    user-select: none;
    pointer-events: none;
}

h2 {
    font-family: 'Ashley', 'ui-sans-serif', '-apple-system', 'system-ui', 'Segoe UI', 'Helvetica', 'Apple Color Emoji', 'Arial', 'sans-serif', 'Segoe UI Emoji', 'Segoe UI Symbol';
    letter-spacing: 0.1rem;
    color: var(--tomato);
}

* {
    margin: 0;
    padding: 0;
}

.glass {
    background-color: rgba(135, 135, 135, 0.1);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0px 5px 16px 0 rgba(0,0,0,0.2);
}

:root {
   --tomato: rgb(255,20,20); 
   --dough: rgb(255, 239, 221);
   --cilantro: rgb(14, 104, 55); 
   --gold: rgb(255, 193, 70);
}

.text-danger {
    color: var(--tomato) !important;
}

body {
    overflow-x: hidden;    
}

.header-title {
    color: white;
    z-index: 5;
}

/* Header */
header {
    z-index: 10 !important;
}

header .inner {
    height: 90vh;
}

header a {
    position: relative;
    z-index: 50;
    text-decoration: none !important;
    color: white !important;
}

header .secondary-menu {
    position: absolute;
    bottom: 0;
}

header .secondary-menu ul {
    margin-top: auto;
}

header ul {   
    list-style: none;
}

/* Header / Navbar */

header .navbar-toggler {
    width: 40px; 
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    color: white;
}

header .links {
    height: 3rem;
    width: 25vw;
    max-width: 200px;
}

#animation-menu {
    width: 100%;   
    height: 100%;
}

header .cover {
    position: fixed;
    width: 100%;
    height: 100%; 
    top: 0;
    background-color: rgba(255, 20, 20, 0.75);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: -1;
    animation: fadeIn 0.5s ease-in-out forwards;
}


@keyframes fadeIn {
    0% {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    100% {
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
    }
}

@keyframes navOut {
    0% {
        margin-left: 0px;
    }
    100% {
        margin-left: 20px;
    }
}

@keyframes navIn {
    0% {
        margin-left: 20px;
    }
    100% {
        margin-left: 0px;
    }
}

header ul li:hover a, header .links:hover {
    animation: navOut 0.25s ease-in-out forwards;
}

header ul li:not(:hover) a, header .links:not(:hover) {
    animation: navIn 0.25s ease-in-out forwards;
}

/* Menu */
#pizza-canvas, #home-pizza-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 100vh;
    pointer-events: none;
    display: block;
    filter: contrast(2);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.pizza-scene {
    padding: 0 !important;
    pointer-events: none;
    border-radius: 15px;
    background-color: var(--dough);
}

.placeholder-img {
    padding: 3% 16%;
    left: -.5%;
    height: 100%;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}

/* Menu / Headers */
.menu h1 {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu h1.float-in {
    opacity: 1;
    transform: translateX(0);
}

.menu .badge {
    width: 1.5rem;
    padding-left: 0;
    margin: 0;
}

.menu .badge img {
    height: 100%;
}

/* Order Buttons */

.order-section {
    max-width: 500px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .order-section {
        width: 100%;
        max-width: 100%;
    }
}

.order-section button {
    height: 50px;
}

.order {
        background-image: linear-gradient(to right, #135e54 0%, #66b178  51%, #134E5E  100%);
        transition: 0.5s;
        background-size: 200% auto;
}

.order-dash {
        background-image: linear-gradient(to right, #EB3349 0%, #ff7762  51%, #EB3349  100%);
        transition: 0.5s;
        background-size: 200% auto;
}

.order img {
    height: 55%;
    margin-bottom: 2px;
}

.order-dash img {
    height: 75%;
    padding-right: 25px;
}

.order-dash:hover, .order-dash:active {
    background-position: right center;
    text-decoration: none;
}

.order:hover, .order:active {
    background-position: right center;
    text-decoration: none;
}

.order-link {
    text-decoration: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}


/* Blocks / Hero */
.hero-section {
    color: white;
}

.hero-section #title {
    position: absolute;
    width: clamp(50vw, 500px, 75vw);
    top: 75%;
    left: 50%;
    transform: translate(-50%, -75%);
}

.hero-section #mask {
    overflow: hidden;
    position: relative;
    bottom: 0;
    width: 100%;
}

.hero-section #title-red {
    position: absolute;
    width: clamp(50vw, 500px, 75vw);
    left: 50%;
    transform: translate(-50%, -100%);
}

.hero-section #filler {
    background-color: var(--tomato);
    height: 100%;
    width: 100%;
    position: relative;
}

.section {
    height: 100vh;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.fade-in.visible {
    opacity: 1;
    pointer-events: auto;
}

.red-fade-in {
    color: white;
    transition: color 0.3s ease-out;
}   

.red-fade-in.visible {
    color: var(--tomato);
}

/* Blocks / Melting */

.melting-section {
    margin-top: 5vw;
    height: auto;
}

.melting-section h2, .melting-section h3, .melting-section h4, .melting-section h5 {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    z-index: 5;
    color: var(--gold) !important;
}

.melting-section h2 {
    opacity: 0;
    font-size: 9vw;
    z-index: 5;
    position: relative;
    text-decoration: none;
    margin-bottom: 2vw;
}

@media (max-width: 768px) {
    .melting-section h2 {
        font-size: 14vw;
    }
    .melting-section h3 {
        font-size: 10vw;
    }
    .melting-section h4 {
        font-size: 8vw;
    }
    .melting-section h5 {
        font-size: 7vw;
    }
}

.section a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.melting-section a #home-pizza-scene {
    width: 50vw;
    height: 50vw;
    float: right;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .melting-section a #home-pizza-scene {
        width: 100vw;
        height: 100vw;
    }
}

@keyframes animateInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes animateOutFromLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes animateUpFromBottom {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animateDownFromBottom {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.animate {
    opacity: 0;
    transform: translateX(-50px);
    animation: animateInFromLeft 0.6s ease forwards;
}

.animate-out {
    opacity: 1;
    transform: translateX(0);
    animation: animateOutFromLeft 0.6s ease forwards;
}

.move-up-off {
    opacity: 0;
    transform: translateY(-50px);
    animation: animateUpFromBottom 0.6s ease forwards;
}

.move-up-on {
    opacity: 1;
    transform: translateY(0);
    animation: animateDownFromBottom 0.6s ease forwards;
}

/* Small items */
.item {
    width: 5rem !important;
    height: 5rem !important;
    position: absolute;
    pointer-events: none;   
}  

.items {
    position: relative;
    overflow: hidden;
}

/* General layout for small items */

.items .i1 {
    top: 10%;
    left: 25%;
}

.items .i2 {
    top: 80%;
    right: 20%;
}

.items .i3 {
    top: 40%;
    right: 5%;
}

.items .i4 {
    top: 65%;
    left: 15%;
}

/* Small items / Hero */
#hero-section .item {
    z-index: 2;
}

#melting-section .item {
    z-index: 2;
}

/* Small item sizing */

.item:nth-child(odd) {
    width: 7rem;
    height: 7rem;
}


@media (max-width: 768px) {
    .item {
        width: 3rem;
        height: 3rem;
    }
    .item:nth-child(odd) {
        width: 5rem;
        height: 5rem;
    }
}

/* Blocks / Menu */

.menu-section {
    margin-top: 3vw;
    height: 75vh;
    overflow: hidden;
}

.menu-section img {
    user-select: none;
    pointer-events: none;
    width: calc(100vw / 8.05);;
}


/* Blocks / Feature */

.feature-section {
    height: 75vh;
    background-color: rgb(228, 227, 255);
    
}

.feature-section h1 {
    color: rgb(63, 49, 255);
    font-family: 'Gotham', 'ui-sans-serif';
}

.feature-section .featurepie {
    position: relative;
    width: 20vw;
    height: 20vw;
    top: 50%;
    transform: translateY(-50%);
} 

/* Blocks / Locations */

.locations-section {
    background-color: var(--tomato);
}

.locations-section-2 {
    background-color: none;
}

.locations-section h2 {
    color: var(--gold) !important;
    text-transform: uppercase;   
    position: relative;
}

.locations-section ul, .locations-section li {
    list-style: none;
    color: var(--dough);
    padding: 0;
    text-decoration: none;
}

.locations-section-2 h2 {
    color: var(--tomato) !important;
    text-transform: uppercase;   
}

.locations-section h3, .locations-section h4, .locations-section h5 {
    color: var(--dough) !important;
    font-weight: bolder;
    position: relative;
} 

.locations-section-2 h3, .locations-section-2 h4 {
    color: var(--gold) !important;
    font-weight: bolder;
    position: relative;
} 

.locations-section a {
    text-decoration: none;
    color: var(--dough);
}

/* Blocks / Video */

.video-section {
    background-color: var(--dough);
    height: 100%;
    overflow-y: hidden;
    width: 100%;
}

.video-section video {
    width: 25%;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .video-section video {
        width: 75%;
    }
}

@media (max-width: 1500px) {
    .video-section video {
        width: 50%;
    }
}

.video-section h1 {
    color: var(--tomato);
}

/* Footer */
footer {
    background-color: var(--tomato);
    overflow-x: hidden;
}

footer .invert {
    filter: invert(1);
}

footer h5 {
    color: white !important;
    transition: color 0.3s ease;
}

footer h5:hover {
    color: var(--gold) !important; 
}

footer .msites {
    border: 3px solid white;
}

footer .logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

footer .logo img {
    width: 75%;
    height: auto;
    min-width: 200px;
}

footer a, footer p {
    color: white !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    footer .logo img {
        min-width: 100px;
        width: 50%;
    }
}

/* Site Map */
.site-map a {
    color: var(--tomato);
}

.site-map a:hover {
    color: var(--gold);
}

/* Contact Page */
form input, form select, form textarea {
    border-radius: 0 !important;
    color: var(--tomato) !important;
    font-weight: bold !important;
    border-bottom: 2px solid var(--tomato) !important;
    border-top: none !important;
    border-left: none !important;
    background: transparent !important;
    border-right: none !important;
}

form textarea::placeholder {
    color: var(--tomato) !important;
}

form input::placeholder {
    color: var(--tomato) !important;
}

.contact-image-container {
    height: 50vh;
    background-image: url("images/daisy.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Blocks / Contact */
.contact-section {
    background-color: var(--dough);
    height: 100%;
}

/* Blocks / Image */
.image-section {
    overflow: hidden;
}

.image-section .container {
    height: 100%;
    
}

.image-section img {
    width: 75%;
    height: auto;
}

.image-section p {
    width: 50%;
}

@media (max-width: 1500px) {
    .image-section img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .image-section p {
        width: 100%;
        text-align: center;
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .image-section-2 p {
        width: 100%;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .image-section-2 .move-in {
        justify-content: center !important;
    }
}

/* Blocks / Counting */
.counter-section h2, .counter-section h1 {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    color: var(--gold) !important;
    text-align: right;
    z-index: 5;
    position: relative;
}

.counter-section .pizza-canvas {
    aspect-ratio: 1 / 1;
}

.counter-section .text {
    position: absolute;
    text-align: right;
    right: 0;
}

.counter-section h1 {
    font-size: 15vw;
    z-index: 5;
}

.counter-section a {
    text-decoration: none;
}

.counter-section #counter-pizza-scene {
    width: 50vw;
    height: 50vw;
    filter: contrast(2);
}

@media (max-width: 768px) {
    .counter-section #counter-pizza-scene {
        width: 100vw;
        height: 100vw;
        margin-bottom: 25vh;
    }
    .counter-section .text {
        bottom: 0;
        text-align: center;
        left: 0;
    }
}

/* Blocks / Franchise */

.franchise-section h2, .franchise-section h3, .franchise-section h4, .franchise-section h5 {
    font-family: 'Gotham', 'ui-sans-serif';
    font-weight: 900;
    color: var(--gold) !important;
}

.franchise-section .franchise-logo {
    width: 75%;
}

@media (max-width: 768px) {
  .franchise-section .text-container {
    padding: 0 1rem; /* consistent left-right padding on mobile */
    margin-bottom: none;
  }

  .franchise-section .franchise-logo {
    display: none;
  }

  .franchise-section .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
}


.franchise-section h2 {
    opacity: 0;
    font-size: 9vw;
    text-decoration: none;
    margin-bottom: 2vw;
}

.franchise-section button h3{
    color: white !important;
}

.franchise-section p {
    margin-left: 3rem;
    color: lightgray;
}

@media (max-width: 768px) {
    .franchise-section h2 {
        font-size: 14vw;
    }
    .franchise-section h3 {
        font-size: 10vw;
    }
    .franchise-section h4 {
        font-size: 8vw;
    }
    .franchise-section h5 {
        font-size: 7vw;
    }
}

.franchise-section a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Blocks / Awards */
.awards-section {
    background-color: var(--tomato);
}

.awards-section p {
    color: var(--dough);
}

.awards-section h2 {
    color: var(--gold) !important;
    text-transform: uppercase;   
    position: relative;
}

.awards-section h3, .awards-section h4, .awards-section h5 {
    color: var(--dough) !important;
    font-weight: bolder;
    position: relative;
} 

.awards-section a {
    text-decoration: none;
    color: white;
}

/* Blocks */
.loyalty-section {
    background-color: var(--dough);
    height: 100%;
}

.loyalty-section h3 {
    color: white !important;
    font-weight: 900
}

.loyalty-section h1 {
    color: var(--gold) !important;
    font-weight: 900;

}

/* Franchise Page */
#franchise-page-image {
    filter: contrast(1.4);
    height: 50vh;
    background-image: url("images/pie.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.franchise-page h3 {
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 3px 5px 2px #474747;
}

.franchise-page h1 {
    font-family: 'Ashley', 'Gotham', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #FFFFFF;
    text-shadow: 3px 5px 2px #474747;
}

.franchise-page .text {
    border: 4px solid var(--tomato);
    color: var(--tomato);
}

.franchise-page button h3 {
    text-shadow: none;
}

/* Small Order Block & Delivery Information Page */

.ordersmall-section {
    background-color: var(--dough);
}

.ordersmall-section h1 {
    color: var(--tomato);
}

.delivery-page h3, .privacy-page h3 {
    font-weight: bolder;
    color: var(--tomato);
}

.delivery-page .list-group li, .privacy-page .list-group li{
    background-color: transparent !important;
}

/* 404 page */

.error-page h1 {
    color: var(--gold);
}

