@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{

    /* Vàng & Đen theme */
    --btn-color: #000000; /* button text color (black on yellow) */
    --btn-bg: #f5c000; /* button background: warm yellow */

    --primary-text-color: #f5c000; /* warm yellow */
    --link-hover: #f5c000;
    --input-hover-bd-color: #f5c000;
}


html {
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}

/* Note: body background restored to default (white) in index.html. */

header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse{
    transition: width 0.3s ease;
}

.header-gradient{
    /* subtle black <-> yellow gradient for header glow */
    background: linear-gradient(83deg, rgba(0,0,0,0.7) 0%, rgba(245,192,0,0.35) 30%, rgba(245,192,0,0.18) 60%, rgba(0,0,0,0.45) 100%);
    filter: blur(100px);
}

/* Warm radial glow for hero sections */
.hero-glow {
    position: relative;
    background-color: transparent;
}
.hero-glow::before{
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* use variables for intensity and color so presets are easy to toggle */
    background: radial-gradient(var(--hero-radius,600px) var(--hero-radius-y,300px) at 50% 10%, rgba(var(--primary-color-r,245),var(--primary-color-g,192),var(--primary-color-b,0),var(--hero-glow-opacity,0.12)), transparent 18%),
                radial-gradient(500px 250px at 80% 80%, rgba(0,0,0,0.5), transparent 60%);
    mix-blend-mode: screen;
}

/* Slight dark overlay for sections on yellow backgrounds to keep readability */
.yellow-overlay::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
    pointer-events: none;
}

/* Glow strength presets */
.glow-soft { --hero-glow-opacity: 0.06; --hero-radius: 500px; --hero-radius-y: 240px; }
.glow-medium { --hero-glow-opacity: 0.12; --hero-radius: 600px; --hero-radius-y: 300px; }
.glow-strong { --hero-glow-opacity: 0.22; --hero-radius: 900px; --hero-radius-y: 420px; }

/* Yellow shade presets (set RGB components for use in gradient) */
.yellow-bright { --primary-color-r: 255; --primary-color-g: 203; --primary-color-b: 0; --primary-text-color: rgb(255 203 0); }
.yellow-warm   { --primary-color-r: 245; --primary-color-g: 192; --primary-color-b: 0; --primary-text-color: rgb(245 192 0); }
.yellow-deep   { --primary-color-r: 210; --primary-color-g: 160; --primary-color-b: 0; --primary-text-color: rgb(210 160 0); }

/* Glow defaults are available but not forced globally; apply presets via classes (e.g. `glow-medium yellow-warm`). */

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 10px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}


.header-links:hover {
    color: var(--link-hover);
}

.primary-text-color{
    color: var(--primary-text-color);
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 24px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: inline-flex;
    white-space: nowrap;
    cursor: pointer;
}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 25px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    /* transition: border 0.3s; */
}

.input:active, .input:focus, .input:focus-within{
    border: 2px solid var(--input-hover-bd-color);
}

.input-error{
    border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within{
    border-bottom: 3px solid #fd0101;
}

/* Navigation dots styling */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

.footer-link{
    color: #0d0d0d;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #483cf4;
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card{
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #ffffff;
        color: #000000;
        overflow-y: auto;
        box-shadow: 2px 0px 3px #000;
    }

    .header-links{
        color: black;
    }
    
}