:root {
    --primary-accent: #04A0BA;
    --primary-accent-hover: #038095;
    --bg-base: #0D1012;
    --bg-alt: #15191C;
    --bg-card: #1E2428;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --text-muted: #666666;
    --border-color: #2A3238;

    --font-display: 'Oswald', sans-serif;
    --font-alt: 'Okami', 'Permanent Marker', cursive;
    --font-body: 'DM Sans', sans-serif;

    --text-hero: clamp(3rem, 6vw, 5.5rem);
    --text-section: clamp(2.5rem, 5vw, 4rem);
    --text-body: 1.05rem;
    --text-small: 0.85rem;

    --spacing-section: 8rem 0;
    --container-max: 1200px;
    --grid-gap: 2rem;
    --card-padding: 2.5rem 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* BTN */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-accent);
    color: var(--bg-base);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: var(--primary-accent-hover);
    transform: translateY(-2px);
}

/* EYEBROW */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: var(--text-small);
    letter-spacing: 0.1em;
    color: var(--primary-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-accent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: var(--text-section);
}

/* SCROLL REVEAL START */
.reveal {
    opacity: 0;
}

.reveal.fade-in-up {
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.slide-in-left {
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.slide-in-right {
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(21, 25, 28, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(21, 25, 28, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 38px;
    width: auto;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: var(--text-small);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-links a:hover {
    letter-spacing: 0.08em;
}

.nav-links a.active {
    color: var(--primary-accent);
    letter-spacing: 0.08em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after,
.nav-links a:not(.btn-nav).active::after {
    width: 100%;
}

.btn-nav {
    background: transparent;
    border: 2px solid var(--text-primary) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 1.5rem !important;
    font-size: 0.8rem !important;
    font-family: var(--font-display) !important;
    letter-spacing: 0.1em !important;
    border-radius: 0 !important;
}

.btn-nav:hover {
    background: var(--text-primary) !important;
    color: var(--bg-base) !important;
    box-shadow: none !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* HERO */
.hero {
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/titantribe-hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-eyebrow .slashes {
    color: var(--primary-accent);
    font-weight: 900;
    font-style: italic;
}

.hero-content h1 {
    font-size: var(--text-hero);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--primary-accent);
    background: -webkit-linear-gradient(45deg, var(--primary-accent), #50D8ED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    padding: 1rem 3rem;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    box-shadow: none;
}

.hero-arrows {
    margin-top: 5rem;
    color: var(--primary-accent);
    font-size: 1.5rem;
    font-family: var(--font-display);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

    100% {
        transform: translateY(0);
    }
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-accent);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(4, 160, 186, 0.3);
}

/* ABOUT */
.about {
    padding: var(--spacing-section);
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: -1rem;
    border: 2px solid var(--primary-accent);
    z-index: 0;
    top: 2rem;
    left: 2rem;
}

.about-img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-content h2 {
    font-size: var(--text-section);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* SERVICES */
.services {
    padding: var(--spacing-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.service-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(4, 160, 186, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(4, 160, 186, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-accent);
    stroke-width: 2;
    fill: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: var(--text-small);
}

/* LOCATION */
.location {
    padding: var(--spacing-section);
    background: var(--bg-alt);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.loc-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.loc-content h2 {
    font-size: var(--text-section);
    margin-bottom: 1rem;
}

.loc-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* REVIEWS */
.reviews {
    padding: var(--spacing-section);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.review-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(4, 160, 186, 0.05);
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(4, 160, 186, 0.1);
}

.stars {
    color: var(--primary-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.quote {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-small);
    position: relative;
    z-index: 1;
}

/* CONTACT */
.contact {
    padding: var(--spacing-section);
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-content h2 {
    font-size: var(--text-section);
    margin-bottom: 1.5rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--text-small);
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 1px var(--primary-accent), 0 0 15px rgba(4, 160, 186, 0.15);
}

.submit-btn {
    width: 100%;
}

.submit-btn.success {
    background: #10B981;
    color: white;
    pointer-events: none;
}

/* INSTAGRAM */
.instagram {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.insta-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(100%);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 160, 186, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* FOOTER */
.footer {
    background: var(--bg-base);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer p,
.footer a {
    color: var(--text-secondary);
    font-size: var(--text-small);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-images {
        display: none;
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .instagram {
        grid-template-columns: repeat(3, 1fr);
    }

    .eyebrow {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .services-grid,
    .reviews-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .instagram {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-img-wrapper::after {
        display: none;
    }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #20b858;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    animation: none;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

