/* ==========================================================
   WAYPOINT WEBSITE
   Version 1.0
========================================================== */


/* ==========================================================
   Colour Palette
========================================================== */

:root{

    --navy:#0B132B;
    --navy-light:#1C2541;
    --gold:#D4AF37;
    --white:#F8F9FA;
    --grey:#D8D8D8;
    --section-width:1200px;
    --radius:12px;
    --nav-offset:100px;

}


/* ==========================================================
   Reset
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ==========================================================
   Page Defaults
========================================================== */

html{
    scroll-behavior:smooth;
}

body{

    background:
        radial-gradient(
            circle at top,
            #22335f 0%,
            var(--navy) 45%,
            #050811 100%
        );

    color:var(--white);

    font-family:Inter, Arial, Helvetica, sans-serif;

    line-height:1.7;

    overflow-x:hidden;

    text-align:center;

}


/* ==========================================================
   Images
========================================================== */

img{
    max-width:100%;
    display:block;
}


/* ==========================================================
   Links
========================================================== */

a{
    text-decoration:none;
    color:inherit;
}


/* ==========================================================
   Lists
========================================================== */

ul{
    list-style:none;
}


/* ==========================================================
   Navigation
========================================================== */

header{

    position:fixed;

    top:0;

    width:100%;

    background:rgba(11,19,43,.65);

    backdrop-filter:blur(18px);

    z-index:1000;
}

nav{

    max-width:100vw;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-right:20px;
}

nav img{
    height:100px;
    vertical-align:middle;
}

nav ul{
    display:flex;
    gap:20px;
}

nav a{
    font-size:1.5rem;
    transition:.3s;
}

nav a:hover{
    color:var(--gold);
}

#about,
#services,
#gallery,
#contact{
    scroll-margin-top:var(--nav-offset);
}

/* ==========================================================
   Mobile Navigation Button
========================================================== */

.nav-toggle{

    display:none;

    width:44px;
    height:44px;

    padding:8px;

    border:0;

    background:transparent;

    cursor:pointer;
}

.nav-toggle span{

    display:block;

    width:28px;
    height:2px;

    margin:6px auto;

    background:var(--gold);

    border-radius:2px;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

/* ==========================================================
   Mobile Navigation
========================================================== */

@media (max-width:800px){

    .navbar{

        position:relative;

        width:100%;

        padding:0 16px;

        display:flex;

        align-items:center;

        justify-content:space-between;
    }


    /* Logo */

    .navbar .nav-logo img{

        height:75px;

        width:auto;
    }


    /* Hamburger */

    .nav-toggle{

        display:block;

        position:relative;

        z-index:1002;

        flex-shrink:0;
    }


    /* Navigation menu */

    .nav-links{

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        display:flex;

        flex-direction:column;

        gap:0;

        padding:0;

        background:rgba(11,19,43,.97);

        backdrop-filter:blur(18px);

        border-top:
            1px solid rgba(212,175,55,.15);

        border-bottom:
            1px solid rgba(212,175,55,.15);


        /* Closed */

        max-height:0;

        overflow:hidden;

        opacity:0;

        pointer-events:none;

        transition:
            max-height .3s ease,
            opacity .2s ease;
    }


    /* Open */

    .nav-links.active{

        max-height:500px;

        opacity:1;

        pointer-events:auto;
    }


    /* Menu links */

    .nav-links li{

        width:100%;

        text-align:center;

        border-bottom:
            1px solid rgba(255,255,255,.06);
    }


    .nav-links li:last-child{

        border-bottom:0;
    }


    .nav-links a{

        display:block;

        width:100%;

        padding:15px 20px;

        font-size:1.1rem;
    }


    .nav-links a:hover{

        background:rgba(255,255,255,.04);

        color:var(--gold);
    }


    /* Animate hamburger into X */

    .nav-toggle.active span:nth-child(1){

        transform:
            translateY(8px)
            rotate(45deg);
    }


    .nav-toggle.active span:nth-child(2){

        opacity:0;
    }


    .nav-toggle.active span:nth-child(3){

        transform:
            translateY(-8px)
            rotate(-45deg);
    }

}


/* ==========================================================
   Hero
========================================================== */

#hero{

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;
}

#hero h1{

    font-size:2.5rem;

    margin:0 1rem 0;

    margin-bottom:6rem;

    line-height:1.2;

    font-weight:600;

    text-shadow:2px 2px 8px rgba(0,0,0,.7);
}

.hero-images{
    display:none;
}

#hero p{

    text-align:center;

    max-width:100%;

    font-size:1.5rem;

    margin-bottom:5rem;

    text-shadow:4px 4px 10px rgba(0,0,0,1);
}

#hero a{

    background:var(--gold);

    color:var(--navy);

    padding:18px 40px;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

    min-width:180px;

    margin-bottom:1rem;
}

#hero a:hover{

    opacity:.7;

    background-color:var(--white);
}

#hero a:hover{
    transform:translateY(-3px);
}

.hero-back{

    min-width:400px;

    min-height:380px;

    background-image:
        url(../assets/photos/Tats-1.jpg),
        url(../assets/photos/Brandon-1.jpg);

    background-position:left top, right top;

    background-size:50% auto, 50% auto;

    background-repeat:no-repeat, no-repeat;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.7);
}

.hero-content{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.hero-logo{

    width:clamp(700px,48vw,1200px);

    margin-top:10rem;

    margin-bottom:3rem;
}

.hero-marker{

    width:5vw;

    max-width:180px;

    min-width:45px;

    margin:0 auto 40px;

    opacity:.95;

    animation:float 5s ease-in-out infinite;
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.02);
    }

    100%{
        transform:scale(1);
    }
}

.section-marker{

    width:2vw;

    margin:60px auto;

    opacity:.9;
}

/* ==========================================================
   Mobile Hero
========================================================== */

@media (max-width:800px){

    #hero{
        width:100%;
        padding:0 1rem;
    }


    .hero-content{
        width:100%;
    }


    .hero-logo{
        width:90%;
        max-width:500px;

        margin-top:8rem;
        margin-bottom:2rem;
    }


    /*
       On mobile the hero becomes:

       Heading
       Photos
       Description
       Buttons
    */

    .hero-back{
        width:100%;

        min-width:0;
        min-height:0;

        display:flex;
        flex-direction:column;
        align-items:center;

        background-image:none;

        border-radius:0;
        box-shadow:none;
        overflow:visible;
    }


    /* Heading */

    #hero h1{
        order:1;

        font-size:2rem;
        line-height:1.2;

        margin:0 0 1.5rem;
    }


    /* Description */

    #hero p{
        order:3;

        max-width:500px;

        font-size:1.05rem;
        line-height:1.5;

        margin:0 0 1.5rem;
    }


    /* Buttons */

    .hero-buttons{
        order:4;

        width:100%;

        flex-direction:column;
        align-items:center;

        gap:12px;
    }


    #hero a{
        width:100%;
        max-width:260px;

        padding:14px 24px;

        margin-bottom:0;
    }

    .hero-images{

    order:2;

    display:grid;

    grid-template-columns:
        1fr
        1fr;

    width:100%;

    height:
        clamp(
            190px,
            55vw,
            240px
        );

    margin-bottom:1.5rem;

    overflow:hidden;

    border-radius:16px;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.5);
}


.hero-images img{

    width:100%;

    height:100%;

    object-fit:cover;
}

}


/* ==========================================================
   Section Divider
========================================================== */

.section-divider{

    display:flex;

    align-items:center;

    justify-content:center;

    margin:1rem 0;
}

.section-divider::before,
.section-divider::after{

    content:"";

    width:80px;

    height:1px;

    background:var(--gold);
}

.section-div-line{

    display:inline-block;

    width:40px;

    height:1px;

    background:var(--gold);
}

.section-divider img{

    width:40px;

    opacity:1;

    transition:transform .3s ease;
}

.section-divider img:nth-child(3),
.section-divider img:nth-child(7){
    transform:scaleY(-1);
}

@media (max-width:600px){

    .section-divider{
    width:100%;
    max-width:520px;
    margin:1rem auto;
}


    .section-divider::before,
    .section-divider::after,
    .section-div-line{

        flex:1 1 auto;

        width:auto;

        min-width:8px;

        max-width:40px;
    }


    .section-divider img{

        width:30px;

        min-width:30px;

        flex:0 0 30px;
    }

}

/*===========================================================
   Containers
========================================================== */

.about-container,
.services-container,
.gallery-container,
.contact-container{
    width:100%;
    max-width:var(--section-width);
    margin-left:auto;
    margin-right:auto;
    padding-left:1.5rem;
    padding-right:1.5rem;
}

@media (max-width:1200px){

    .about-container,
    .services-container,
    .gallery-container,
    .contact-container{
        max-width:100%;
    }

}

/* ==========================================================
   About
========================================================== */

.about-section{
    padding-bottom:1rem;
}

.about-container{
    width:100%;
    max-width:1000px;
    margin:0 auto;
}

.about-heading{
    text-align:center;
    margin-bottom:1rem;
}

.about-heading h2{
    font-size:2.5rem;
    margin-bottom:1rem;
    color:var(--grey);
}

.about-content{
    max-width:1000px;
}

.about-content p{
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:0;
    color:var(--grey);
}

/* ==========================================================
   About Mobile
========================================================== */

@media (max-width:800px){

    .about-section{
        padding:1rem;
    }

    .about-heading h2{
        font-size:2rem;
    }

    .about-content p{
        font-size:1rem;
    }

}


/* ==========================================================
   Services
========================================================== */

.services-section{
    padding:0;
}

.services-container{
    max-width:1200px;
    margin:auto;
}

.services-heading{
    text-align:center;
    margin-bottom:2rem;
}

.services-heading h2{
    font-size:2.5rem;
    margin-bottom:1rem;
    color:var(--grey);
}

.services-heading p{
    max-width:650px;
    margin:auto;
    color:var(--grey);
    font-size:1.3rem;
}

.services-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(240px,1fr));

    gap:24px;
}

.service-card{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(212,175,55,.15);

    border-radius:18px;

    padding:2rem;

    transition:.3s ease;

    margin-bottom:1rem;
}

.service-card:hover{

    transform:translateY(-6px);

    border-color:var(--gold);
}

.service-card h3{
    margin:1rem 0 .75rem;
}


/* ==========================================================
   Gallery
========================================================== */

.gallery-section{
    padding-bottom:1rem;
    max-width:1200px;
}

.gallery-container{
    width:100%;
    max-width:var(--section-width);
    margin:0 auto;
    padding:0 1.5rem;
}

.gallery-heading{
    text-align:center;
    margin-bottom:50px;
}

.gallery-heading h2{
    font-size:2.5rem;
    margin-bottom:20px;
}

.gallery-grid{
    column-count:3;
    column-gap:12px;
}

.gallery-grid img{
    width:100%;
    height:auto;

    display:block;

    margin-bottom:12px;

    break-inside:avoid;

    border-radius:14px;

    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.02);
}

@media (max-width:1000px){

    .gallery-grid{
        column-count:2;
    }

}

@media (max-width:600px){

    .gallery-grid{
        column-count:1;
    }

}


/* ==========================================================
   Contact
========================================================== */

.contact-container{
    width:100%;
    max-width:var(--section-width);
    margin:0 auto;
    padding:0 1.5rem;
}

.contact-section{
    padding:2rem 0 6rem;
}

.contact-heading p{
    max-width:650px;
    margin:0 auto 2rem;
    color:var(--grey);
    font-size:1.1rem;
}

.contact-form{

    padding:2rem;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(212,175,55,.15);

    border-radius:18px;

    backdrop-filter:blur(12px);
}

.contact-grid{

    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:18px;
}

.contact-field{

    display:flex;

    flex-direction:column;

    gap:6px;

    text-align:left;
}

.contact-field label{

    color:rgba(255,255,255,.75);

    font-size:.85rem;

    font-weight:600;
}

.contact-field input,
.contact-field select,
.contact-field textarea{

    width:100%;

    padding:12px 14px;

    border-radius:10px;

    border:1px solid rgba(212,175,55,.18);

    background:#17213F;

    color:white;

    font-family:inherit;

    font-size:.95rem;

    outline:none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{

    border-color:var(--gold);

    box-shadow:
        0 0 0 3px rgba(212,175,55,.08);
}

.contact-field textarea{
    resize:vertical;
}

.contact-wide{
    grid-column:1 / -1;
}

.contact-submit{

    margin-top:1.5rem;

    padding:13px 28px;

    border:1px solid var(--gold);

    border-radius:10px;

    background:var(--gold);

    color:var(--navy);

    font-family:inherit;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:.2s ease;
}

.contact-submit:hover{

    transform:translateY(-2px);

    background:#e1bd42;
}

.contact-setlist{

    margin-top:2rem;

    padding-top:1.5rem;

    border-top:1px solid rgba(212,175,55,.15);
}

.contact-setlist p{

    margin-bottom:.75rem;

    color:rgba(255,255,255,.7);
}

.contact-setlist a{

    display:inline-block;

    padding:11px 22px;

    border:1px solid var(--gold);

    border-radius:999px;

    color:var(--gold);

    font-weight:600;

    transition:.2s ease;
}

.contact-setlist a:hover{

    background:var(--gold);

    color:var(--navy);
}

@media (max-width:768px){

    .contact-grid{
        grid-template-columns:1fr;
    }

    .contact-wide{
        grid-column:auto;
    }

    .contact-form{
        padding:1.25rem;
    }

}


/* ==========================================================
   Footer
========================================================== */

.footer{

    padding:3rem 1.5rem 2rem;

    text-align:center;

    border-top:
        1px solid rgba(212,175,55,.12);

    background:#091022;
}


.footer img{

    width:220px;

    margin:0 auto 1rem;
}


.footer p{

    color:rgba(255,255,255,.7);

    margin-bottom:1.5rem;
}


.footer-links{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:24px;

    flex-wrap:wrap;

    margin-bottom:2rem;
}


.footer-links a{

    color:white;

    font-size:.95rem;

    transition:.2s ease;
}


.footer-links a:hover{

    color:var(--gold);
}


.footer-copyright{

    margin:0 !important;

    padding-top:1.5rem;

    border-top:
        1px solid rgba(255,255,255,.06);

    color:rgba(255,255,255,.4) !important;

    font-size:.8rem;
}






@media (max-width:768px){

    .footer{

        padding:2.5rem 1rem 1.5rem;

    }


    .footer img{

        width:170px;

        margin:0 auto 1rem;

    }


    .footer p{

        font-size:.9rem;

        line-height:1.5;

    }


    .footer-links{

        flex-direction:column;

        gap:10px;

        margin-bottom:1.5rem;

    }


    .footer-links a{

        padding:4px 10px;

    }

}

