/*
Theme Name: EnjoyCaster Clone
Theme URI: https://www.enjoycaster.com/tw
Author: Manus
Description: A clone theme of EnjoyCaster website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enjoycaster-clone
*/

/* Basic Reset and Layout */
body {
    font-family: "Microsoft JhengHei", sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    padding-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 10px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Banner */
.hero-banner {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 50px;
    max-width: 550px;
    border-radius: 0 50px 50px 0;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: #004a99;
    margin-bottom: 20px;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.card-title {
    font-weight: 700;
    color: #333;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
    margin-top: 0;
}

footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

footer hr {
    border-color: #333;
    margin: 40px 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    padding-bottom: 10px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Banner */
.hero-banner {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 40px;
    max-width: 500px;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
