/* ============================================================
   PROMEYZA — Global Styles
   Colors: #3B295D (main) | #9472BE (light purple) | #ede4ff (bg light) | #A2CDC4 (accent)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-main: #3B295D;
    --color-purple-mid: #9472BE;
    --color-bg-light: #ede4ff;
    --color-accent: #A2CDC4;
    --color-accent-dark: #509385;
    --color-button: #7c538e;
    --color-button-hover: #4a3154;
    --color-text-dark: #1a1528;
    --color-text-light: #f0eeff;
    --header-height: 70px;
    --nav-height: 52px;
    --ease: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 10px rgba(59, 41, 93, 0.10);
    --shadow-md: 0 6px 24px rgba(59, 41, 93, 0.16);
    --shadow-lg: 0 12px 40px rgba(59, 41, 93, 0.22);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--nav-height));
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text-dark);
    background-color: #faf8ff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Section base ---- */
section {
    padding: 80px 40px;
}

/* ---- Typography helpers ---- */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-purple-mid);
    margin-bottom: 10px;
}

/* ================================================================
   HEADER
   ================================================================ */
header {
    background: linear-gradient(135deg, var(--color-main) 0%, #2a1a45 100%);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

#logo {
    max-width: 170px;
    opacity: 0;
    transition: transform var(--ease), opacity var(--ease);
}

#logo:hover {
    transform: scale(1.06);
}

#star-image {
    width: 72px;
    position: absolute;
    left: 50%;
    transform: translateX(calc(-50% - 110px)) translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(162, 205, 196, 0.5));
}

/* ================================================================
   NAV
   ================================================================ */
nav {
    background-color: var(--color-purple-mid);
    margin-top: var(--header-height);
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

nav div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav p {
    margin: 0;
}

nav a {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none;
    padding: 14px 24px;
    display: block;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.6px;
    position: relative;
    transition: color var(--ease);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px 3px 0 0;
    transition: width var(--ease);
}

nav a:hover {
    color: white !important;
}

nav a:hover::after {
    width: 70%;
}

@media screen and (max-width: 768px) {
    nav {
        position: relative;
        margin-top: 0;
    }

    nav div {
        flex-direction: column;
    }

    nav a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav p:last-child a {
        border-bottom: none;
    }

    nav a::after {
        display: none;
    }
}

/* ================================================================
   BUTTONS
   ================================================================ */
button,
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-button) 0%, #5f3d73 100%);
    color: white;
    border: none;
    padding: 13px 32px;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all var(--ease);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(124, 83, 142, 0.35);
}

button:hover,
.btn:hover {
    background: linear-gradient(135deg, var(--color-button-hover) 0%, #35203f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(74, 49, 84, 0.4);
}

button:active,
.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(124, 83, 142, 0.3);
}

/* ================================================================
   FORM INPUTS (global)
   ================================================================ */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border: 1.5px solid #d8d0ed;
    background-color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--color-text-dark);
    transition: all var(--ease);
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
    border-color: var(--color-purple-mid);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-accent-dark);
    box-shadow: 0 0 0 4px rgba(162, 205, 196, 0.25);
    outline: none;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    background: linear-gradient(135deg, #2a1a45 0%, var(--color-main) 100%);
    color: var(--color-text-light);
    text-align: center;
    padding: 36px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

footer p {
    font-size: 14px;
    opacity: 0.75;
    letter-spacing: 0.3px;
}

footer div {
    display: flex;
    gap: 8px;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 16px;
    border: 1px solid rgba(162, 205, 196, 0.35);
    border-radius: var(--radius-pill);
    transition: all var(--ease);
}

footer a:hover {
    background-color: rgba(162, 205, 196, 0.15);
    border-color: var(--color-accent);
    color: white;
}