:root {
    --bg-dark: #0f1115;
    --bg-card: #1a1d23;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-yellow: #facc15;
    --accent-blue: #3b82f6;
    --gradient-primary: linear-gradient(135deg, #facc15 0%, #3b82f6 100%);
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title.center {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--accent-yellow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-call {
    background: var(--accent-yellow);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('images/S__14213132_0.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 17, 21, 0.95) 30%, rgba(15, 17, 21, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(250, 204, 21, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-yellow);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: translateY(-5px);
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.special-offer {
    color: var(--accent-yellow);
    font-weight: 700;
    margin-top: 1rem;
}

/* Knowledge Section */
.section.dark {
    background: #090a0d;
}

.knowledge-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.knowledge-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.badge-mini {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.read-more {
    display: block;
    margin-top: 2rem;
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 700;
}

/* Interactive Section */
.interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tool-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

.result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: none;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-map {
    border-radius: 16px;
    overflow: hidden;
    filter: grayscale(0.5) invert(0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Updated Calculator Response Styles */
.result p { color: var(--text-muted); font-size: 0.9rem; }

/* Attractions Section */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.attraction-card {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.attraction-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
}

.attraction-img {
    height: 180px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.attraction-img i {
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.5;
}

.attraction-body {
    padding: 20px;
}

.attraction-body h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.attraction-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.explore-banner {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 60px 0;
    margin: 80px 0;
    text-align: center;
    border-radius: 20px;
    border: 1px solid var(--accent-blue);
}

@media (max-width: 768px) {
    .attractions-grid { grid-template-columns: 1fr; }
}

/* Mobile CTA Fix */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    z-index: 999;
}

.cta-item {
    flex: 1;
    padding: 1rem;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-item.call { background: var(--accent-blue); }
.cta-item.maps { background: var(--accent-yellow); color: #000; }

/* Responsive */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .grid-2, .service-grid, .knowledge-tabs, .interactive-grid {
        grid-template-columns: 1fr;
    }
    .about-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .btn-call { display: none; }
    .nav-toggle { display: block; }
    .mobile-cta { display: flex; }
    .hero { min-height: 600px; padding-top: 100px; padding-bottom: 150px; }
    .hero h1 { font-size: 2.5rem; }
    .cta-btns { flex-direction: column; }
    .section { padding: 60px 0; }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
