/* ==========================================================
   SURGE Yachts
   Version 1.0
   ECTAV Engineering Innovations
========================================================== */


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: #111111;

    color: #ffffff;

    font-family: 'Montserrat', sans-serif;

    font-weight: 300;

    line-height: 1.7;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

     text-rendering: optimizeLegibility;

}



/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {

    --surge-black: #111111;

    --surge-dark-grey: #161616;

    --surge-white: #ffffff;

    --surge-grey: #bcbcbc;

    --surge-light-grey: #f3f3f3;

    --surge-red: #d61f26;

    --container-width: 1200px;

    --transition: all .45s ease;

}



/* ==========================================================
   GLOBAL
========================================================== */

.container {

    width:min(88%,1200px);

    margin:auto;

}


section {

    position: relative;

    padding: 82px 0;

}


.section-subtitle {

    display: inline-block;

    margin-bottom: 14px;

    color: var(--surge-red);

    font-size: .85rem;

    font-weight: 500;

    letter-spacing: .35rem;

    text-transform: uppercase;

}


.section-title {

    max-width: 700px;

    margin-bottom: 22px;

    font-size: clamp(2.2rem, 4vw, 4rem);

    font-weight: 300;

    line-height: 1.15;

    letter-spacing: -.03em;

}


.section-text {

    max-width: 760px;

    color: var(--surge-grey);

    font-size: 1.05rem;

    font-weight: 300;

    line-height: 1.9;

}


img {

    display: block;

    max-width: 100%;

}


a {

    text-decoration: none;

    color: inherit;

    transition: var(--transition);

}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:transparent;

    transition:

        transform .45s ease,

        background .45s ease,

        backdrop-filter .45s ease,

        border-color .45s ease;

}


.navbar.scrolled{

    background:rgba(10,10,10,.72);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.05);

}


.navbar.hidden{

    transform:translateY(-100%);

}


.navbar-container{

    width:min(92%,1200px);

    margin:auto;

    height:92px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    transition:.35s ease;

}


.navbar.scrolled .navbar-container{

    height:68px;

}


.navbar-logo img{

    height:28px;

    opacity:.92;

    transition:.35s ease;

}


.navbar-logo:hover img{

    opacity:1;

    transform:scale(1.06);

}


.navbar-menu{

    display:flex;

    gap:42px;

    list-style:none;

}


.navbar-menu a{

    position:relative;

    color:rgba(255,255,255,.82);

    font-size:.78rem;

    font-weight:400;

    letter-spacing:.22rem;

    text-transform:uppercase;

    transition:.30s ease;

}


.navbar-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:0;

    height:1px;

    background:var(--surge-red);

    transition:.35s ease;

}


.navbar-menu a:hover{

    color:white;

}


.navbar-menu a:hover::after{

    width:100%;

}


.navbar-toggle{

    display:none;

    background:none;

    border:none;

    cursor:pointer;

}


.navbar-toggle span{

    display:block;

    width:24px;

    height:2px;

    margin:5px 0;

    background:white;

}

/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    width:100%;

    min-height:100svh;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

    padding-top:0;

    background:var(--surge-black);

}


.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 1;

    transform:scale(1.03);

	transition:transform 8s ease;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.18),
        rgba(0,0,0,.48)
    );

    z-index: 2;

}


.hero-content {

    position: relative;
	
	max-width:900px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
	
	animation: heroFade 2s ease;

}


.hero-logo {

    width:min(520px,72vw);

    margin-bottom:18px;

    animation:logoFade 2.4s ease;

    filter:drop-shadow(0 0 12px rgba(0,0,0,.35));


}

/* ==========================================================
   HERO INTRO
========================================================== */

.hero-performance{

    margin:0 0 55px 0;

    color:var(--surge-red);

    font-size:.82rem;

    font-weight:500;

    line-height:1.5;

    letter-spacing:.45rem;

    text-transform:uppercase;

}

.hero-description{

    margin-bottom:55px;

    color:rgba(255,255,255,.94);

    font-size:.88rem;

    font-weight:300;

    letter-spacing:.28rem;

    text-transform:uppercase;

}

.hero-tagline {

    margin-bottom: 55px;

    color: rgba(255,255,255,.92);

    font-size: .90rem;

    font-weight: 400;

    letter-spacing: .45rem;

    text-transform: uppercase;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 44px;

    border: 1px solid rgba(255,255,255,.45);

    color: var(--surge-white);

    font-size: .90rem;

    font-weight: 400;

    letter-spacing: .20rem;

    text-transform: uppercase;

    transition: .45s ease;

    background:transparent;

}


.hero-button:hover{

    background:white;

    color:#111111;

    border-color:white;

    transform:translateY(-3px);

}


.hero-button:active {

    transform: translateY(0);

}



/* ==========================================================
   HERO ANIMATIONS
========================================================== */

@keyframes heroFade {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}


@keyframes logoFade {

    from {

        opacity: 0;

        transform: translateY(18px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ==========================================================
   SECTIONS
========================================================== */

.section {

    background: var(--surge-black);

    transition: .8s ease;

}


.world-quality,
.finishes {

    background: var(--surge-dark-grey);

}


.philosophy,
.world-quality,
.development,
.finishes,
.contact {

    position: relative;

}


.section::after{

    content:"";

    position:absolute;

    bottom:0;

    left:50%;

    width:42px;

    height:1px;

    background:rgba(255,255,255,.10);

    transform:translateX(-50%);

    opacity:.35;

}


.contact::after {

    display: none;

}


/* ==========================================================
   PARAGRAPHS
========================================================== */

.section-text p {

    margin-bottom: 18px;

}


.section-text:last-child {

    margin-bottom: 0;

}


/* ==========================================================
   CONTACT
========================================================== */

.contact {

    text-align: center;

}


.contact .section-title {

    margin-left: auto;

    margin-right: auto;

}


.contact .section-text {

    margin-left: auto;

    margin-right: auto;

    margin-bottom: 50px;

}


.contact-link {

    display: inline-block;

    color: var(--surge-white);

    font-size: 1rem;

    font-weight: 400;

    letter-spacing: .15rem;

    padding-bottom: 8px;

    border-bottom: 1px solid rgba(255,255,255,.20);

    transition: var(--transition);

}


.contact-link:hover {

    color: var(--surge-red);

    border-color: var(--surge-red);

}


/* ==========================================================
   SCROLL ANIMATION READY
========================================================== */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: 1s ease;

}


.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

.hero + main section:first-child{

    margin-top:-20px;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer {

    background: #0b0b0b;

    padding: 55px 0 40px;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,.05);

}


.footer-logo {

    height: 60px;

    margin: 0 auto 24px;

    opacity: .90;

}


.footer-company {

    font-size: 1rem;

    font-weight: 500;

    letter-spacing: .25rem;

    text-transform: uppercase;

    color: var(--surge-white);

    margin-bottom: 8px;

}


.footer-baseline {

    font-size: .90rem;

    color: var(--surge-grey);

    letter-spacing: .15rem;

    text-transform: uppercase;

    margin-bottom: 35px;

}


.footer-copy {

    font-size: .80rem;

    color: rgba(255,255,255,.45);

    letter-spacing: .08rem;

}


/* ==========================================================
   SELECTION
========================================================== */

::selection {

    background: var(--surge-red);

    color: var(--surge-white);

}


/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {

    width: 10px;

}


::-webkit-scrollbar-track {

    background: #111111;

}


::-webkit-scrollbar-thumb {

    background: #2a2a2a;

}


::-webkit-scrollbar-thumb:hover {

    background: #444444;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 992px) {

    section {

        padding: 110px 0;

    }

    .hero {

        min-height: 760px;

    }

    .hero-logo {

        width: min(420px, 80vw);

    }

    .section-title {

        font-size: clamp(2rem, 6vw, 3.2rem);

    }

}

/* ==========================================================
   NAVBAR RESPONSIVE
========================================================== */

@media (max-width:768px){

    .navbar-menu{

        position:fixed;

        top:0;
        right:-100%;

        width:280px;
        height:100vh;

        background:#111111;

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:35px;

        transition:.40s ease;

        box-shadow:-20px 0 40px rgba(0,0,0,.35);

    }

    .navbar-menu.active{

        right:0;

    }

    .navbar-toggle{

        display:block;

        z-index:1001;

    }

    .navbar-logo img{

        height:36px;

    }

    .navbar-container{

        height:75px;

    }

    .navbar.scrolled .navbar-container{

        height:65px;

    }

}


@media (max-width: 768px) {

    .container {

        width: 88%;

    }

    section {

        padding: 90px 0;

    }

    .hero {

        min-height: 680px;

    }

    .hero-tagline {

        font-size: .75rem;

        letter-spacing: .28rem;

    }

    .hero-button {

        padding: 14px 34px;

        font-size: .80rem;

    }

    .section-text {

        font-size: .98rem;

        line-height: 1.9;

    }
	
	.hero-performance{

    font-size:.72rem;

    letter-spacing:.28rem;

	}

	.hero-description{

    font-size:.74rem;

    letter-spacing:.18rem;

	}

	.hero-tagline{

    font-size:.72rem;

    letter-spacing:.22rem;

	}

}


@media (max-width: 480px) {

    .hero-logo {

        width: 82vw;

    }

    .hero-tagline {

        letter-spacing: .18rem;

    }

    .section-subtitle {

        letter-spacing: .20rem;

    }

    .footer {

        padding: 60px 0 45px;

    }

}
