/*
Theme Name: Triton
Author: Cam Keyser
Description: Minimalistic ACF block-based theme
Version: 1.0
*/




/* 
Custom Font: Hasthon 
*/
@font-face {
    font-family: "Hasthon";
    src: url("assets/fonts/Hasthon.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* 
Custom Font Class 
*/
.flavor {
    font-family: "Hasthon", sans-serif;
}

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

body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f1eeea;
    padding: 13px;
}

.container {
    width: 85%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1 {
    font-family: "Hasthon", sans-serif;
    font-size: 5.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
    font-family: "Inter", sans-serif;
}

p {
    margin-bottom: 1rem;
    font-family: "Inter", sans-serif;
}

button:not(.hamburger-menu, .splide__pagination__page),
.cta-button,
.app-button,
.buy-button {
    padding: 0.8rem 2rem;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
}

button:not(.hamburger-menu, .splide__pagination__page):hover,
.cta-button:hover,
.app-button:hover,
.buy-button:hover {
    background-color: #444;
}

/* 
Navigation Menu 
*/
.sticky-nav {
    position: absolute;
    top: 13px;
    left: 8%;
    right: 8%;
    z-index: 10000;
}

.sticky-nav.visible.st-wait.st-up {
    position: fixed;
}

.sticky-nav.visible.st-wait.st-up .navbar {
    background: #161616;
}

.logo {
    font-weight: bold;
    font-size: 1rem;
    line-height: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    width: 160px;
}

.logo svg {
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.4s ease;
    margin-left: -70px;
    margin-right: -70px;
    padding-left: 70px;
    padding-right: 70px;
    border-radius: 20px;
}

.hamburger-menu {
    display: none;
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
    position: relative;
    border-radius: 0;
    box-shadow: none !important;
    line-height: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hamburger-menu:hover {
    opacity: 0.7;
    background: none !important;
    box-shadow: none !important;
}

.hamburger-menu .menu-icon,
.hamburger-menu .close-icon {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.is-active .menu-icon {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.is-active .close-icon {
    opacity: 1;
    transform: scale(1);
}

.nav-links,
.nav-icons {
    display: flex;
    list-style: none;
    width: 210px;
}

.nav-icons {
    display: flex;
    justify-content: end;
}

.nav-icons li {
    margin-left: 30px;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a,
.nav-icons a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-icons a svg {
    display: block;
}

.nav-icons a svg {
    vertical-align: middle;
}

/* 
Footer Styles 
*/
.site-footer {
    background-color: #161616;
    color: #fff;
    padding: 60px 0;
    margin-top: 6rem;
    border-radius: 20px;
}

.site-footer .container {
    padding: 2rem 6rem;
    background: #292929;
    border-radius: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-image {
    width: 40%;
}

.footer-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.footer-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer-logo {
    text-align: center;
}

.footer-middle-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.social-section {
    width: 30%;
}

.newsletter-section {
    width: 65%;
}

.social-section h3,
.newsletter-section h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 13px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.6;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px 0 0 8px;
    background-color: #fff;
    font-size: 14px;
}

.newsletter-form button {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-disclaimer {
    font-size: 10px;
    color: #999;
    line-height: 1.3;
    max-width: 95%;
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 30px;
    justify-content: space-evenly;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

/* 
Animations 
*/
.navbar .logo,
.navbar .nav-links,
.navbar .nav-icons {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

section:not(.sticky-nav) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.is-active~section:not(.sticky-nav) {
    opacity: 0 !important;
}

/* 
Modal 
*/
.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background: #fff;
    padding: 1rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.modal__content {
    overflow-y: auto;
    max-height: 80vh;
}

.modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.video-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
Media Queries 
*/
@media (max-width: 992px) {
    .stats-container {
        flex-direction: column;
        text-align: center;
    }

    .stat-content h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    h2 {
        font-size: 1.8rem;
    }

    .testimonials-grid .container {
        grid-template-columns: 1fr;
    }

    .additional-testimonials .container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 1550px) {
    .sticky-nav {
        left: 13px;
        right: 13px;
    }

    .navbar {
        margin-left: unset;
        margin-right: unset;
    }

    .mobile-menu.is-active~section:not(.sticky-nav) {
        opacity: 0 !important;
    }
}

@media (max-width: 1300px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links,
    .nav-icons {
        display: none;
    }

    .navbar {
        justify-content: space-between;
    }

    .logo {
        width: 120px;
    }
}

/* 
Mobile Menu Styles 
*/
.mobile-menu {
    position: fixed;
    top: 13px;
    left: 13px;
    width: calc(100% - 26px);
    height: 0;
    background-color: #161616;
    overflow: hidden;
    transition: height 0.4s ease, visibility 0.4s ease;
    z-index: 9000;
    visibility: hidden;
    border-radius: 20px;
}

.mobile-menu.is-active {
    height: 100vh;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 2rem;
    padding-top: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-active .mobile-menu-content {
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 10vh 0 2rem;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: calc(0.1s * var(--i, 0));
}

.mobile-menu.is-active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.mobile-nav-links a:hover {
    color: #ccc;
}

.mobile-nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    bottom: -3px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
    border-radius: 20px;
}

.mobile-nav-links a:hover::after {
    width: 100%;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.4s;
}

.mobile-menu.is-active .mobile-social {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: opacity 0.3s;
}

.mobile-social a:hover {
    opacity: 0.7;
}

@media (max-width: 1300px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links,
    .nav-icons {
        display: none;
    }

    .navbar {
        justify-content: space-between;
    }

    .logo {
        width: 120px;
    }

    .double-heading {
        flex-wrap: wrap;
    }

    .first-heading {
        width: 100%;
    }

    .double-heading h2 {
        width: 100%;
    }

    .double-heading p {
        display: none;
    }
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-image,
    .footer-info {
        width: 100%;
    }

    .footer-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-middle-row {
        flex-direction: column;
        gap: 30px;
    }

    .social-section,
    .newsletter-section {
        width: 100%;
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 15px 30px;
    }

    .navbar {
        padding-left: 45px;
        padding-right: 45px;
    }
}

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

@media (max-width: 545px) {
    .hero-content {
        max-width: 100%;
    }
    .site-footer .container {
        padding: 2rem 4rem;
    }

    .footer-logo svg {
        max-width: 100%;
    }

    .newsletter-form input {
        max-width: calc(100% - 46px);
    }
}

@media (max-width: 480px) {
    .nav-links li,
    .nav-icons li {
        margin-left: 1rem;
    }

    .site-footer .container {
        padding: 2rem 3rem;
    }

    .social-section h3,
    .newsletter-section h3 {
        font-size: 12px;
    }

    .social-icons {
        gap: 10px;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding-top: 0;
    }
}