/* Basic Reset & Setup */
:root {
    --bg-color: #ffffff;
    /* Default background, update if design has specific HEX */
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    padding-top: 60px;
    /* Space for fixed header */
}

/* Header & Nav */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #221e1f;
    /* Dark background from reference */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#main-header nav {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

#main-header nav a {
    display: block;
    text-decoration: none !important;
    color: #ffffff !important;
    /* White text */
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

#main-header nav a:hover {
    color: #f4ea2a;
    /* Gold/Yellow accent color */
    transform: translateY(-2px);
    opacity: 1;
}

/* 
#main-header nav a img {
    height: 100%;
    width: auto;
} 
*/

img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
    /* Force full width for stack layout */
}

/* Layout Utilities */
.full-width-section {
    width: 100%;
    position: relative;
    /* Essential for absolute button positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.relative-container {
    position: relative;
    width: 100%;
}

/* Button Styling */
.cta-button {
    position: absolute;
    z-index: 10;
    display: inline-block;
    background-color: #221e1f;
    /* Dark background */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    color: #f4ea2a;
    /* Gold Accent */
    background-color: #332d2f;
    border-color: #f4ea2a;
    transform: translateX(-50%) scale(1.05) !important;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Specific override for non-centered buttons */
#moving-on .cta-button:hover {
    transform: scale(1.05) !important;
}

/* Responsive Logic */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Specific Section Tweaks (can be expanded) */
footer {
    width: 100%;
    background-color: #000;
    /* Assuming dark footer based on image content */
}