﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap');


:root {
    --primary-black: #000000;
    --primary-black-rgb: 0, 0, 0;
    --primary-white: #ffffff;
    --primary-white-rgb: 255, 255, 255;
    --primary-red: #d32f2f;
    --primary-red-rgb: 211, 47, 47;
    --primary-gray: #f5f5f5;
    --primary-gray-rgb: 245, 245, 245;
    --hover-gray: #e0e0e0;
    --hover-gray-rgb: 224, 224, 224;
    --primary-yellow: #F28F16;
    --primary-yellow-rgb: 242, 143, 22;
    --primary-beige: #F2C299;
    --primary-beige-rgb: 242, 194, 153;
    --primary-orange: #F2561D;
    --primary-orange-rgb: 242, 86, 29;
    --c1: #F2F2F0;
    --c1-rgb: 242, 242, 240;
    --c2: #D9D8D2;
    --c2-rgb: 217, 216, 210;
    --c3: #8C8C8C;
    --c3-rgb: 140, 140, 140;
    --c4: #595959;
    --c4-rgb: 89, 89, 89;
    --c5: #0D0D0D;
    --c5-rgb: 13, 13, 13;
    --content-max-width: 1200px;
    --content-min-width: 640px;
    --content-side-padding: 20px;
    --footer-max-width: 800px;
    --footer-min-width: 640px;
    --footer-side-padding: 20px;
    --btn-font-size: 1rem;
    --btn-padding: 0.6em 1.6em; /* vertical | horizontal */
    --btn-radius: 0.5em;
    --vintage-yellow: #F2E4BB;
    --vintage-yellow-rgb: 242, 228, 187;
    --vintage-lightBrown: #D9C2A7;
    --vintage-lightBrown-rgb: 217, 194, 167;
    --vintage-beige: #F2E2CE;
    --vintage-beige-rgb: 242, 226, 206;
    --vintage-barelybeige: #F2ECE4;
    --vintage-barelybeige-rgb: 242, 236, 228;
    --vintage-brown: #594A3C;
    --vintage-brown-rgb: 89, 74, 60;
    --blue-accent: #32BDD9;
    --blue-accent-rgb: 50, 189, 217;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans SC', sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

a {
    color: var(--c5);
}

 a:hover {
    color: var(--primary-orange);
}


/* === HERO === */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    transition: transform 0.2s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-title {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.scroll-down-arrow {
    font-size: 2rem;
    color: #fff;
    margin-top: 20px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* === NEW NAVIGATION === */
.menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

/* Hamburger Button */
.hamburger {
    background: var(--primary-orange);
    color: white;
    border: none;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10001;
}

.hamburger {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hamburger.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Fullscreen Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: rgba(var(--c1-rgb), 0.9);
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Slide in when visible */
.menu-overlay.open {
    transform: translateX(0%);
}

/* Close Button */
.close-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10001;
}


/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--c5);
    padding-top:40px;
}

.menu-items a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.menu-items a:hover {
    color: var(--primary-orange);
}

.content-wrapper {
    width: 100%;
    max-width: var(--content-max-width);
    min-width: var(--content-min-width);
    margin: 0 auto;
    padding: 0 var(--content-side-padding);
    box-sizing: border-box;
}

.footer-inner {
    width: 100%;
    max-width: var(--footer-max-width);
    min-width: var(--footer-min-width);
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .content-wrapper {
        min-width: unset;
        padding: 20px var(--content-side-padding);
    }
    .footer-inner {
        min-width: unset;
        padding: 0 var(--footer-side-padding);
    }
}


footer {
    height: 120px;
    background-color: var(--c1); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.footer-socials a {
    color: var(--c5);
    font-size: 1.5rem;
    margin-right: 16px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary-orange);
}

.site-footer {
    height: 120px;
    background-color: var(--c1);
    display: flex;
    align-items: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-socials a {
    color: var(--c5);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

    .footer-socials a:first-child {
        margin-left: 0;
    }

    .footer-socials a:hover {
        color: var(--primary-orange);
    }

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-socials a {
        margin-left: 16px;
        margin-right: 16px;
    }
}

/* BUTTONS (unchanged from before) */
/* LIGHT BUTTON with dark text */
.button-light {
    background-color: #ffffff;
    color: #333333;
    border: 2px solid #333333;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-light:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(51, 51, 51, 0.2);
}

/* DARK BUTTON with light text */
.button-dark {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-dark:hover {
    background-color: #000000;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}



/* Base button style */
.btn {
    display: inline-block;
    font-size: var(--btn-font-size);
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    border: 0px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    outline: none;
}

/* Smooth custom focus ring */
.btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
    border-color: var(--primary-blue);
}

/* Light on Dark */
.btn-black {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

    .btn-black:hover {
        background-color: #1a1a1a;
        border-color: #1a1a1a;
    }

/* Dark on Light */
.btn-white {
    background-color: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

    .btn-white:hover {
        background-color: var(--hover-gray);
        border-color: var(--primary-black);
    }

/* Red button */
.btn-red {
    background-color: var(--primary-red);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.btn-red:hover {
    background-color: #F53A02;
    border-color: var(--primary-white);
}

/* Yellow button */
.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.btn-yellow:hover {
    background-color: #e58513;
}

/* Orange button */
.btn-orange {
    background-color: var(--primary-orange);
    color: var(--primary-white);
    border-color: var(--primary-orange);
}

.btn-orange:hover {
    background-color: #e04b12;
}

/* Beige button */
.btn-beige {
    background-color: var(--primary-beige);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

    .btn-beige:hover {
        background-color: #eab88a;
    }



.form-input {
    height: 42px;
    padding: 0 12px;
    font-size: 1rem;
    border: 1px solid var(--c3);
    border-radius: var(--btn-radius);
    width: 300px;
    max-width: 100%;
    box-sizing: border-box;
}


.text-area {
    min-width: 100%;
    min-height: 300px;
}

.alert {
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #ffe0e0;
    color: #a94442;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #e0ffe6;
    color: #2e7d32;
    border: 1px solid #c3e6cb;
}


.gallery-btn {
    width:200px;
}

@media (max-width: 1024px) {
    .menu-items {
        font-size: 1.2rem;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .menu-overlay {
        width:auto;
        min-width:140px;
    }
    .menu-items {
        font-size: 1.2rem;
        gap: 10px;
    }


    .hero {
        height: auto;
    }

    .hero-overlay {
        height: 66vw;
    }

    .hero-title {
        display:none;
    }

    .scroll-down-arrow {
        display: none;
    }

    .hero-bg {
        height: 100vw; /* Use viewport width as height */
        background-size: contain; /* So it fits without cropping */
        background-position: top center; /* Optional: better alignment */
    }

    .title-block {
        padding: 0px !important;
    }

    .title-container {
        height:auto;
        min-height:auto;
    }

    .travelog-post-header h1 {
        font-size: 1.25rem;
    }

    .travelog-post-date {
        color: var(--primary-black);
    }

    .section-body {
        padding: 20px !important;
    }

    .gallery-btn {
        width: 100%;
    }
}