:root {
    --color-primary: #2b4c47;
    --color-secondary: #487b6f;
    --color-accent: #9d8a6f;
    --color-bg-start: #FFB5A6;
    --color-bg-middle: #FFFCF5;
    --color-bg-end: #487B6F;
}

body {
    background: linear-gradient(to bottom, var(--color-bg-start), var(--color-bg-middle), var(--color-bg-end));
    font-family: "Kantumruy Pro", sans-serif;
    font-size: 1.125rem;
    color: var(--color-primary);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

p,
h2,
h1 {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.skip-link:focus {
    top: 0;
    clip: auto;
    overflow: visible;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-3px);
    color: var(--color-secondary);
}

.logo-link img {
    width: 100%;
    max-width: 60px;
    height: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover img {
    transform: translateY(-2px);
}

.logo-link span {
    font-size: 1.2rem;
    font-family: "cofo-raffine", sans-serif;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-secondary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:focus {
    outline: none;
}

/* === Hero Section === */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    text-align: center;
    min-height: 30vh;
}

h1 {
    font-family: "cofo-raffine", sans-serif;
    font-weight: 400;
    font-size: 6.5rem;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hero-content p {
    color: #5b6a67;
    font-size: 1.35rem;
    max-width: 500px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.personality-preferences {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.content-block {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-primary);
}



/* Content Section for consistent padding and max-width */
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Content Grid for side-by-side layout */
.content-grid {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

/* Content Block for each flex child */
.content-block {
    flex: 1;
}

/* Info Section */
.info-section {
    display: flex;
    align-items: left;
    justify-content: space-between;
    gap: 3rem;
}

.info-text {
    flex: 1;
}

.info-section img:not(.perfume-bottle-img) {
    width: 220px;
    height: auto;
}

.info-section p,
.families-info p {
    max-width: 65ch;
    line-height: 1.8;
}

/* Add Info Section */
.add-info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: left;
    color: var(--color-accent);
}

/* Accent Section */
.accent-section {
    padding-left: 3rem;
    border-left: 3px solid var(--color-secondary);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.accent-section h2 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.accent-section p {
    max-width: 65ch;
    line-height: 1.8;
    color: var(--color-primary);
}

/* White Box */
.whitebox {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    flex: 1 1 300px;
    color: var(--color-primary);
    border: 1px solid rgba(157, 138, 111, 0.25);
    transition: transform 0.2s ease;
}

.whitebox:hover {
    transform: translateY(-3px);
}

/* Headings */
h2 {
    font-family: "cofo-raffine", sans-serif;
    font-weight: 400;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Edwards Wheel Info Section */
.edwards-wheel-info {
    display: flex;
    align-items: left;
    gap: 3rem;
    padding: 4rem 2rem;
    margin-top: 8rem;
}

.edwards-wheel-info>div {
    flex: 1;
}

.edwards-wheel-info p {
    max-width: 65ch;
    line-height: 1.8;
}

.edwardswheel {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Families Info */
.families-info {
    padding: 2rem;
}

.edwards-bio-section {
    max-width: 900px;
    padding: 0 1.5rem;
    color: var(--color-primary);
}

.edwards-bio-section .whitebox {
    padding: 2rem 2.5rem;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.edwards-bio-section .whitebox:hover {
    transform: translateY(-3px);
}

.edwards-bio-section h2 {
    font-family: "cofo-raffine", sans-serif;
    font-weight: 400;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.edwards-bio-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-primary);
}

/* Perfume bottle image animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.perfume-bottle-img {
    width: 320px;
    height: auto;
    display: block;
    animation: float 3s ease-in-out infinite;
}

/* Buttons */
.explore-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: white;
    text-decoration: none;
    font-family: "cofo-raffine", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--color-secondary);
}

.explore-button:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 123, 111, 0.2);
}

.explore-button:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

scent-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
    align-items: center;
}

/* Make all buttons consistent size and style */
.scent-nav-buttons button.explore-button,
.scent-nav-buttons a.explore-button {
    padding: 0.8rem 1.6rem;
    font-family: "Kantumruy Pro", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    /* remove default margin */
    min-width: 110px;
    /* give some uniform min width */
    text-align: center;
    flex-shrink: 0;
    /* prevent buttons from shrinking */
}

/* Push Return to Overview button to the far right */
.scent-nav-buttons #return-overview {
    margin-left: auto;
    /* optionally: align-self: flex-start; */
}

/* Hover and focus effects */
.scent-nav-buttons button.explore-button:hover,
.scent-nav-buttons a.explore-button:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 123, 111, 0.2);
}

.scent-nav-buttons button.explore-button:focus,
.scent-nav-buttons a.explore-button:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Responsive fixes for small/mobile screens */
@media (max-width: 480px) {
    .scent-nav-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .scent-nav-buttons button.explore-button,
    .scent-nav-buttons a.explore-button {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
}

/* Responsive Media Queries */

@media (max-width: 900px) {
    .info-section {
        flex-direction: column;
        text-align: left;
    }


    .info-section img.perfume-bottle-img {
        margin: 1.5rem auto 0 auto;
        max-width: 100%;
        height: auto;
        display: block;
    }


    .edwards-wheel-info {
        flex-direction: column;
        text-align: left;
    }

    .edwards-wheel-info>div {
        flex: none;
        width: 100%;
    }

    .edwards-wheel-info>div:first-child {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .edwards-wheel-info>div:last-child {
        order: 2;
    }

    .edwards-wheel-info p {
        max-width: none;
        margin-bottom: 1.5rem;
    }

    .edwards-wheel-info .explore-button {
        display: inline-block;
        margin: 0 auto;
    }

    .edwardswheel {
        max-width: 80%;
        height: auto;
        margin: 0 auto 2rem;
    }

    /* Stack content grid vertically on small screens */
    .content-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .personality-preferences {
        flex-direction: column;
    }

    h1 {
        font-size: 3.5rem;
    }

}

@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* just below navbar */
        right: 0;
        height: calc(100vh - 70px);
        width: 250px;
        background: var(--color-bg-middle);
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem 2rem 2rem;
        box-shadow: -4px 0 12px rgba(72, 123, 111, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .logo-link {
        margin: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-links {}

    /* Hide original nav links (horizontal) */
    .nav-links li {
        margin: 0;
    }

    /* Optional: style links inside the slide-out menu */
    .nav-links a {
        font-size: 1.25rem;
    }

    .edwards-bio-section {
        max-width: 100%;
        margin: 2rem 1rem;
        padding: 0 1rem;
        text-align: left;
    }

    .edwards-bio-section .whitebox {
        padding: 1.5rem 1.5rem;
    }

    .edwards-bio-section h2 {
        font-size: 2rem;
    }

    .edwards-bio-section p {
        font-size: 1rem;
    }

}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.explore-button {
    margin-top: 2rem;
    /* Increase space above button */
}

.accent-section {
    border-left: none;
    padding-left: 1rem;
    /* Optional: reduce padding so it doesn't look off */
}

.whitebox {
    background: transparent;
    border: none;
    padding: 0;


}



@media (max-width: 400px) {



    /* Shrink paragraph text a bit */
    .hero-content p {
        font-size: 0.9rem;
        max-width: 90%;
    }

    /* Adjust spacing in content sections */
    .content-section,
    .info-section,
    .edwards-wheel-info {
        padding: 1.5rem 1rem;
    }

    /* Stack and reduce gap for content grid */
    .content-grid {
        flex-direction: column;
        gap: 1rem;
    }

    /* Make images smaller and centered */
    .edwardswheel,
    .perfume-bottle-img {
        width: 90%;
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    /* Adjust buttons to fit smaller width */
    .explore-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 2.5rem;
        box-sizing: border-box;
    }

    /* Reduce padding and margin for accent sections */
    .accent-section {
        padding-left: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

}