/* =================== */
/* Frontend Styles      */
/* Chido CMS Theme     */
/* =================== */

* {
    font-family: 'Noto Sans TC', sans-serif;
}

body {
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1.2rem;
}

.nav-link {
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    transition: color 0.2s;
}

/* Hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Section spacing */
section {
    overflow: hidden;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px !important;
    }

    .hero-section h1 {
        font-size: 1.8rem !important;
    }
}

/* Gallery hover effect */
.gallery .col-md-4 img:hover,
.gallery .col-md-3 img:hover,
.gallery .col-md-6 img:hover {
    transform: scale(1.03);
    transition: transform 0.3s;
}

/* Contact form */
.form-control:focus {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 0.15rem rgba(26,26,46,0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}