@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');



:root{
    --color-primary:          #1F2933;         /* Primary brand color — strong, modern blue for headers, buttons, and key highlights */
    --color-secondary:        #2EC4B6;         /* Secondary accent — crisp teal ideal for CTAs, badges, and interactive elements */
    --color-accent:           #FF7A59;         /* Accent color — warm contrast for links, hover states, and subtle emphasis */
    --color-highlight:        #F4D35E;         /* Highlight color — clean, bright tone for important notices or featured content */
    --color-background:       #4A6CF7;         /* Main background — deep, readable charcoal for paragraphs and UI labels*/
    --color-text:             #F7F9FC;         /* Base text color — soft, neutral canvas that makes code, media, and CAD renders pop */
    --color-footer-legal:     rgba(255,255,255,.75);
    --color-login-background: #C3DDFD;         /* Gentle blue background for login or modal surfaces */
}

html {
    scroll-behavior: smooth;
}

*{margin:0;
padding:0;
font-family:'Open Sans',sans-serif;
box-sizing:border-box;
}

body{
    background: transparent;
}

.page{
    min-height:100vh;                 
}

#logo{
    width: 200px;
    padding-bottom: 20px;
}
.logo{
    width: 100px;
    height:100px;
    background-image:url("images/el_cubano_restaurant_logo.png")  ;
    background-size:cover;  
}

.header{
    display:flex;
    flex-direction:row;
    gap:12.8px;
    position:fixed;
    top:10px;
    left:15%;
    max-width:750px;
    right:15%;
    background-color:var(--color-background);
    padding:10px 20px;
    margin:0px auto;
    z-index: 1000;
}

.header_child_1 h1{
    display:inline-block;
    margin:auto auto auto 0px;
    font-size: 1.8rem;
    font-weight: bold;
    /* color: var(--color-text);     */
}

.header_line_break{
    display:none;
    margin:5px auto;
    /* color:var(--color-text); */
    width:90px;
    border-style:solid;
}

.header_child_2{
    margin:auto 0px auto auto;                   /*sets the distance the nav items from the right side*/
}

.header_child_2 nav ul{
    display:flex;
    flex-direction:row;
    gap:0px;
    list-style-type:none;
}

.nav_item a{
    color: var(--color-text);              /*Default link color in header */
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    transition: color 0.3s ease; 
    text-wrap:nowrap;
}

.nav_item button{
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease; 
    text-wrap:nowrap;
    background:none;
    border:none;
    font-size:100%;
}

.nav_item a:hover{
    color: var(--color-highlight);                /* Mango yellow on hover for energy  */
}

.current_tab a{                                  /*color of current tab*/
    background-color: var(--color-accent);       /* Caribbean turquoise for contrast */
    color: var(--color-text);              /*Light text on bold accent */
    padding: 0.4rem 0.8rem;
    border-radius: 6px;              
}

.header_child_3{
    display:none
}

#header_child_3_menu_btn{
    background-color: transparent;
    border:none;
    display:block;
    margin:0 auto;
    width:25px;
    height:25px;
}

#header_child_3_menu_btn svg{
    width:100%;
    height:100%;
}

.page-content{
    left:0px;
    top:0px;
}

.video-wrapper {
    pointer-events: none;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: black;
}

#ytvideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* pointer-events: none; prevents hover UI */
}
        
.hero-text {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    /* color: var(--color-background); */
    text-align: center;
    z-index: 10;
    /* pointer-events: none; */
}

.hero-tags {
    text-wrap:nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* mobile-first: stacked */
    gap: 4px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Larger screens: inline layout */
@media (min-width: 600px) {
    .hero-tags {
        flex-direction: row;
        gap: 12px;
    }
    .hero-tags li::after {
        content: "•";
        margin-left: 12px;
    }
    .hero-tags li:last-child::after {
        content: "";
    }
    .hero-tags li:nth-child(1) { order: 2; }
    .hero-tags li:nth-child(2) { order: 1; }
    .hero-tags li:nth-child(3) { order: 3; }
}

#page-content-1{
    position:relative;
    min-height: 100vh;
}

#BackgroundCanvas {
    background-color:var(--color-background);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.content-container{
    max-width:1000px;
    margin:0px auto;
    padding:10px 20px;
    display:flex;
    gap:20px;
    justify-content:center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    padding:10px 20px;
    margin: 0 auto;
}

.content-section{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255,255,255,0.12);
    max-width:750px;
    flex:1;
}

.content-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.content-section h1,h2{
    text-align:center;
}

.title-section{
    width:fit-content;
    margin-left: auto;
    margin-right: auto;

}

.skills-list{
    padding:0px 0px 0px 20px;
}


/* Footer Styles */
.footer{
    background-color: var(--color-text);     
}

.footer_content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    padding: 10px 0;
    color: var(--color-background);
    text-align:center;
}

.footer_child:nth-child(1) {
  grid-column: 1 / 2; /* occupies first track */
  justify-self: center;
}
.footer_child:nth-child(2) {
  grid-column: 2 / 3; /* second track */
  justify-self: center;
}
.footer_child:nth-child(3) {
  grid-column: 3 / 4; /* third track */
  justify-self: center;
}

.footer_child_item_list{
    display:flex;
    flex-direction:column;
    list-style-type: none;
}

.footer_child_heading{
    text-wrap:nowrap;
}

.footer_link{
    color: var(--color-accent);                  /* Tropical accent for links */
    text-decoration: none;
}

.footer a:hover{
    color: var(--color-highlight);               /* Playful hover */
}

.footer_child_1{
    display:flex;
    align-items:center;
}

.credits{
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);                /* Muted for subtlety */
}

#backToTop{
    background-image:url("icons/up.png");
    background-repeat:no-repeat;
    background-position:center;
    display:none;
    position:fixed;
    bottom:20px;
    right:20px;
    background-color:rgba(0,0,0,.05);
    border:none;
    padding:11px 3.176px;
    border-radius:50%;
    transition: background-color 0.3s ease;
    width:35px;
    height:35px;
}

#backToTop:hover{
    background-color:rgba(0,0,0,.15);
}

.frosted-glass {
    background: rgba(255, 255, 255, 0.02); /* extremely subtle */
    backdrop-filter: blur(1.5px) saturate(110%);
    -webkit-backdrop-filter: blur(1.5px) saturate(110%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    animation: frostedFade 0.4s ease-out;
    color:var(--color-text);
}

.frosted-min {
    background: rgba(255, 255, 255, 0.04); /* almost clear */
    backdrop-filter: blur(3px) saturate(120%);
    -webkit-backdrop-filter: blur(3px) saturate(120%);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    padding: 20px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);

    animation: frostedFade 0.4s ease-out;
    color:var(--color-text);
}

.frosted-mid {
    background: rgba(255, 255, 255, 0.095); /* slightly clearer than before */
    backdrop-filter: blur(7px) saturate(132%);
    -webkit-backdrop-filter: blur(7px) saturate(132%);

    border: 1px solid rgba(255, 255, 255, 0.18); /* closer to minimal */
    border-radius: 12px;

    padding: 20px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.09); /* softer shadow */

    animation: frostedFade 0.4s ease-out;
    color:var(--color-text);
}

.frosted-high {
    background: rgba(255, 255, 255, 0.11); /* slightly above minimal (0.10) */
    backdrop-filter: blur(7.5px) saturate(135%);
    -webkit-backdrop-filter: blur(7.5px) saturate(135%);

    border: 1px solid rgba(255, 255, 255, 0.20); /* same as minimal */
    border-radius: 12px;

    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10); /* closer to minimal */

    animation: frostedFade 0.4s ease-out;
    color:var(--color-text);
}

.frosted-veryhigh {
    background: rgba(255, 255, 255, 0.15); /* translucent layer */
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%); /* Safari support */

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;

    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

    /* Optional: smooth fade-in */
    animation: frostedFade 0.4s ease-out;
    color:var(--color-text);
}

@keyframes frostedFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.30s; }
.fade-delay-3 { transition-delay: 0.45s; }

.custom-banner {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    z-index: 9999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 250px;
}

.custom-banner.top { top: 20px; }
.custom-banner.bottom { bottom: 20px; }

.custom-banner.info { background-color: var(--color-background); }
.custom-banner.success { background-color: var(--color-secondary); }
.custom-banner.warning { background-color: var(--color-highlight); }
.custom-banner.error { background-color: var(--color-accent); }

.banner-close {
  margin-left: 12px;
  cursor: pointer;
  font-weight: bold;
}

/* @media (max-width:800px) and (min-width: 501px){
    .header{
        position:absolute;
        flex-direction:column;
        gap:15px;
        left:7%;
        right:7%;
    }
    .header_child_2{ 
        margin:0 auto;text-align:center;
    }
    .header_child_2 nav ul{
        flex-direction:row;
    }
    #header_child_2{
        display:none;
    }
    #header_child_2.open{
        display:flex;
    }
    .header_child_1{
        display:flex;
        align-items: center;
        justify-content:space-between;
    }
    .header_child_3{
        display:inline-block;
    }
    .content-container{
        flex-direction:column;
    }
    .footer_content{
        grid-template-columns: 1fr; 
        row-gap: 10px;         
    }
    .footer_child{
        grid-column:auto; 
        word-wrap: break-word;
    }
    .footer_child:nth-child(1),
    .footer_child:nth-child(2),
    .footer_child:nth-child(3) {
        grid-column: auto !important;
    }
    .footer_child_1{
        order:3;
    }
    .footer_child_2{
        order:1;
    }
    .footer_child_3{
        order:2;
    }
}

@media (max-width:500px){
    .header{
        padding-bottom:10px;
        gap:10px;
        left:5%;
        right:5%;
    }
    .header_child_1{
        width:100%;
        display:flex;
        justify-content: center;
        
    }
    .header_child_1 h1{
        margin:0 auto;
    }
    .header_line_break{
        margin-bottom:5px;
    }
    .header_child_2 nav ul{
        flex-direction:column;
    }
    #header_child_2{
        display:none;
    }
    #header_child_2.open{
        display:flex;
    }
    .header_child_3{
        display:inline-block;
    }
    .nav_item{
        margin:0 auto;
        padding: 0.4rem 0.8rem;
    }
    .current_tab a{
        margin:0;
        display:block;
    }
    #about_footing{
        flex-direction: column;
        gap: 10px;
        text-align: center;
        display: flex;
    }
    #about_contact_info{
    text-align: center;
    }
} */



/* ----------------------------- */
/* DESKTOP (>800px)              */
/* ----------------------------- */


/* ----------------------------- */
/* TABLET (501px–800px)          */
/* ----------------------------- */

@media (max-width:800px) and (min-width: 501px){

    .header{
        position:absolute;
        flex-direction:column;
        gap:15px;
        left:7%;
        right:7%;
    }

    .header_child_1{
        display:flex;
        align-items:center;
        justify-content:space-between; /* name left, button right */
        width:100%;
    }

    .header_child_3{
        display:inline-block; /* show menu button */
    }

    .header_child_2{ 
        margin:0 auto;
        text-align:center;
    }

    .header_child_2 nav ul{
        flex-direction:row;
    }

    #header_child_2{
        display:none;
    }

    #header_child_2.open{
        display:flex;
    }

    .hero-text{
        max-width:100%;
    }

    .content-container{
        flex-direction:column;
    }

    .footer_content{
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .footer_child{
        grid-column:auto;
        word-wrap: break-word;
    }

    .footer_child:nth-child(1),
    .footer_child:nth-child(2),
    .footer_child:nth-child(3) {
        grid-column: auto !important;
    }

    .footer_child_1{ order:3; }
    .footer_child_2{ order:1; }
    .footer_child_3{ order:2; }
}

/* ----------------------------- */
/* MOBILE (≤500px)               */
/* ----------------------------- */

@media (max-width:500px){

    .header{
        position:absolute;
        padding-bottom:10px;
        max-width:250px;
        gap:10px;
        left:5%;
        right:5%;
        flex-direction:column; /* mobile only */
    }

    .header_child_1{
        width:100%;
        display:flex;
        justify-content:center; /* center name */
    }

    /* FIXED TYPO — this is the correct selector */
    .header_child_1 h1{
        margin:0 auto; /* actually centers the name */
    }
    
    .header_child_2{ 
        margin:0 auto;
        text-align:center;
    }

    .header_child_2 nav ul{
        flex-direction:column;
    }

    #header_child_2{
        display:none;
    }

    #header_child_2.open{
        display:flex;
        margin:0 auto;
    }
    .header_child_3{
        display:inline-block; /* show menu button */
    }

    .header_line_break{
        margin-bottom:5px;
    }

    #menu_link_ul .nav_item{
        margin:0 auto;
        padding: 0.4rem 0.8rem;
    }
    
    .current_tab a{
        margin:0;
        display:block;
    }

    .content-container{
        flex-direction:column;
    }

    #about_footing{
        flex-direction: column;
        gap: 10px;
        text-align: center;
        display: flex;
    }

    #about_contact_info{
        text-align: center;
    }
}