/* ==================================================
   VESPERTINE CREATIVE MEDIA
   Production Stylesheet v1.0
   ================================================== */

:root {

    /* Backgrounds */
    --bg: #091018;
    --bg-alt: #101924;
    --bg-alt-2: #132233;

    /* Brand Colors */
    --teal: #5D887A;
    --sage: #8EA08A;
    --aurora-blue: #67D8FF;
    --aurora-violet: #B189FF;
    --gold: #BBA271;

    /* Text */
    --ivory: #F4F0E7;
    --text: #D6DEE8;
    --muted: #96A4B7;

    /* Surfaces */
    --card-bg: rgba(255,255,255,.04);
    --card-border: rgba(255,255,255,.08);

    /* Layout */
    --container: 1200px;
    --radius: 20px;

}

/* ==================================================
   RESET
   ================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.7;

    overflow-x: hidden;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    padding-left: 1.25rem;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1,h2,h3 {

    font-family: "Cormorant Garamond", serif;

    color: var(--ivory);

    line-height: 1.1;

    margin-top: 0;

}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-top: 0;
}

/* ==================================================
   LAYOUT
   ================================================== */

section {

    position: relative;

    overflow: hidden;

    padding: 110px 8%;

}

.container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: var(--container);

    margin: 0 auto;

}

.section-title {

    text-align: center;

    margin-bottom: 4rem;

}

.section-title p {

    color: var(--muted);

    max-width: 700px;

    margin: 1rem auto 0;

}

/* ==================================================
   BUTTONS
   ================================================== */

.buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 1rem;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    border-radius: 100px;

    transition: .25s ease;

}

.btn-primary {

    background: var(--teal);

    color: white;

}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(93,136,122,.25);

}

.btn-secondary {

    color: white;

    border: 1px solid rgba(255,255,255,.2);

}

.btn-secondary:hover {

    background: rgba(255,255,255,.05);

}

/* ==================================================
   ANIMATIONS
   ================================================== */

@keyframes auroraShift {

    0% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(30px,-15px);
    }

    100% {
        transform: translate(0,0);
    }

}

@keyframes floatPattern {

    from {
        transform: translateX(-2%) translateY(-1%);
    }

    to {
        transform: translateX(2%) translateY(1%);
    }

}

@keyframes pulseStars {

    0%,100% {
        opacity: .03;
    }

    50% {
        opacity: .09;
    }

}

/* ==================================================
   HERO
   ================================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #121A29,
            #091018
        );

}

.hero::before {

    content: "";

    position: absolute;

    inset: -10%;

    background:

        radial-gradient(
            circle at 20% 30%,
            rgba(93,136,122,.35),
            transparent 35%
        ),

        radial-gradient(
            circle at 75% 25%,
            rgba(103,216,255,.18),
            transparent 35%
        ),

        radial-gradient(
            circle at 50% 80%,
            rgba(177,137,255,.12),
            transparent 35%
        );

    animation:
        auroraShift 20s ease-in-out infinite;

}

.hero::after {

    content: "";

    position: absolute;

    inset: -5%;

    background:
        repeating-radial-gradient(
            circle at center,
            transparent 0px,
            transparent 80px,
            rgba(255,255,255,.015) 81px,
            rgba(255,255,255,.015) 83px
        );

    animation:
        floatPattern 60s linear infinite alternate;

}

.logo {

    margin-bottom: 1rem;

}

.logo img {

    width: 160px;

    height: auto;

    margin: 0 auto;

}

.brand {

    color: var(--sage);

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 1.5rem;

}

.hero p {

    max-width: 700px;

    margin: 2rem auto;

    font-size: 1.15rem;

}

/* ==================================================
   UNDERSTANDING
   ================================================== */

.understanding {

    background:
        linear-gradient(
            180deg,
            #18263A,
            #101924
        );

}

.understanding::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            rgba(255,255,255,.03) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

}

.compare {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 2rem;

}

.compare-box {

    padding: 2rem;

    background: var(--card-bg);

    border: 1px solid var(--card-border);

    border-radius: var(--radius);

}

/* ==================================================
   SERVICES
   ================================================== */

#services {

    background:

        radial-gradient(
            circle at top left,
            rgba(93,136,122,.10),
            transparent 45%
        ),

        linear-gradient(
            180deg,
            #101924,
            #0D141D
        );

}

.cards {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(260px,1fr));

    gap: 1.5rem;

}

.card {

    padding: 2rem;

    background: var(--card-bg);

    border: 1px solid var(--card-border);

    border-radius: var(--radius);

}

/* ==================================================
   PACKAGES
   ================================================== */

.packages {

    background:
        linear-gradient(
            180deg,
            #13202F,
            #101924
        );

}

.packages::before {

    content: "";

    position: absolute;

    inset: -10%;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(93,136,122,.12),
            transparent 35%
        ),

        radial-gradient(
            circle at 80% 30%,
            rgba(103,216,255,.07),
            transparent 35%
        );

    animation:
        auroraShift 25s ease-in-out infinite;

}

.package-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap: 2rem;

}

.package {

    padding: 2.5rem;

    background: var(--card-bg);

    border: 1px solid var(--card-border);

    border-radius: 24px;

}

.package.featured {

    border-color: var(--teal);

    box-shadow:
        0 0 30px rgba(93,136,122,.15);

}

.pricing {

    margin-top: 1rem;

    color: var(--gold);

    font-weight: 600;

}

.package-note {

    text-align: center;

    margin-top: 2rem;

    color: var(--muted);

}

/* ==================================================
   STORY PROCESS
   ================================================== */

.story-process {

    background:
        linear-gradient(
            180deg,
            #111A27,
            #0D141D
        );

}

.story-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(300px,1fr));

    gap: 2rem;

}

.story-step {

    padding: 2rem;

    background: var(--card-bg);

    border: 1px solid var(--card-border);

    border-radius: var(--radius);

}

/* ==================================================
   ABOUT
   ================================================== */

.about {

    background:
        linear-gradient(
            180deg,
            #132233,
            #0C1622
        );

}

.about::before {

    content: "";

    position: absolute;

    inset: -10%;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(103,216,255,.12),
            transparent 35%
        ),

        radial-gradient(
            circle at 80% 70%,
            rgba(93,136,122,.18),
            transparent 35%
        );

    animation:
        auroraShift 30s ease-in-out infinite;

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 3rem;

    align-items: center;

}

.photo {

    aspect-ratio: 1;

    border-radius: 24px;
    
    overflow: hidden;
    
    border: 1px solid rgba(255,255,255,.08);
    
    box-shadow:
        0 20px 50px rgba(0,0,0,.25);

}

.photo img {
    
    width: 100%;
    
    height: 100%;
    
    object-fit: cover;
    
}

/* ==================================================
   CONTACT
   ================================================== */

.contact {

    background: var(--bg);

}

.contact::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            rgba(255,255,255,.8) 1px,
            transparent 1px
        );

    background-size: 140px 140px;

    animation:
        pulseStars 8s ease-in-out infinite;

}

#form-status {

    margin-top: 20px;

    min-height: 24px;

    text-align: center;

    font-weight: 600;

}

#form-status.success {

    color: var(--sage);

}

#form-status.error {

    color: #ff7f7f;

}

form {

    max-width: 700px;

    margin: 0 auto;

}

input,
textarea {

    width: 100%;

    padding: 16px;

    margin-bottom: 16px;

    border: none;

    border-radius: 12px;

    background: #182333;

    color: white;

}

input::placeholder,
textarea::placeholder {

    color: #8FA0B4;

}

textarea {

    min-height: 160px;

}

button {

    border: none;

    cursor: pointer;

}

/* ==================================================
   FOOTER
   ================================================== */

footer {

    padding: 60px 8%;

    text-align: center;

    border-top:
        1px solid rgba(255,255,255,.08);

}

.footer-brand {

    color: var(--ivory);

    font-size: 1.3rem;

    margin-bottom: 1rem;

}

.footer-info {

    color: var(--muted);

}

.social {

    margin-top: 1.5rem;

}

.social a {

    color: var(--sage);

    margin: 0 .75rem;

    transition: .25s;

}

.social a:hover {

    color: var(--aurora-blue);

}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 768px) {

    section {
        padding: 80px 6%;
    }

    .compare,
    .about-grid {

        grid-template-columns: 1fr;

    }

    .logo img {
        width: 120px;
    }

}