/* =========================
   RESET
========================= */

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

/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {

    background: var(--background);
    color: var(--text);

    font-family: var(--body-font);

    line-height: 1.7;

}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--heading-font);
    font-weight: 700;

}

p {

    color: var(--text-secondary);

}

/* =========================
   LINKS
========================= */

a {

    color: inherit;
    text-decoration: none;

}

/* =========================
   IMAGES
========================= */

img {

    max-width: 100%;
    display: block;

}

/* =========================
   LAYOUT
========================= */

.container {

    width: min(92%, var(--content-width));
    margin-inline: auto;

}

section {

    padding: var(--section-padding) 0;

}
/* =========================
   HERO
========================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;

}

.hero-overlay::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:380px;

    background:linear-gradient(

        to bottom,

        rgba(11,11,11,0),

        rgba(11,11,11,.35),

        rgba(11,11,11,.7),

        var(--background)

    );

}

.hero-background {

    position: absolute;

    inset: 0;

    background-image: url("../images/aquarium.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    transform: translateY(0);

    will-change: transform;

    z-index: 0;

}

.hero-content {

    max-width: 900px;

    margin-inline: auto;

    position:relative;

    z-index:2;
    
    max-width:850px;

    text-align:center;

}

.hero h1 {

    font-size: clamp(4rem, 10vw, 7rem);

    line-height: .95;

    margin-bottom: 2rem;

    text-shadow: 0 6px 30px rgba(0,0,0,.45);

}

.hero-mission {

    margin-bottom: clamp(1.75rem, 2vw, 2.5rem);
    max-width:42rem;
    margin-inline:auto;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.hero-subtitle {

    margin-top: 1.5rem;

    font-size: 1rem;

    letter-spacing: .15em;

    text-transform: uppercase;

    color: var(--text-secondary);

}

.hero-buttons {

    margin-top: 3rem;

}

/* =========================
   SECTIONS
========================= */

.section-title {

    text-align: center;

    margin-bottom: 4rem;

    font-size: 2.5rem;

}

.focus-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 2rem;

}

.card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    padding: 2rem;

    transition: var(--transition);

}

.card:hover {

    transform: translateY(-6px);

    border-color: var(--accent);

}

.card h3 {

    margin-bottom: 1rem;

}

/* =========================
   BUTTONS
========================= */

.button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 1rem 2.25rem;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.15);

    background: rgba(255,255,255,.02);

    color: var(--text);

    backdrop-filter:blur(16px);

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.14);

    transition: all .35s ease;

    font-weight: 500;

    letter-spacing: .03em;

    cursor: pointer;

}

.button:hover {

    background: rgba(255,255,255,.08);

    border-color: rgba(255,255,255,.35);

    transform: translateY(-3px);

}

.button-primary {

    background: transparent;

}

.button-secondary {

    background: transparent;

    opacity: .75;

}

.button-secondary:hover {

    opacity: 1;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.55)
    );

    z-index: 1;

}