/*
Theme Name: Gachado Theme
Theme URI: https://teprof.com
Author: Teprof
Description: Modern minimalist theme with glassmorphism design for AI Art Services.
Version: 2.1
*/

/* 
 * 主網站樣式將在此處定義。
 * OVERLAY 服務的樣式請見 overlay.css
 */

/* 變數定義 - 主站風格 (Corporate, Clean) */
:root {
    --main-bg: #ffffff;
    --main-text: #1a1a1a;
    --main-accent: #000000;
    --main-gray: #f5f5f7;
    --main-border: #e1e1e1;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 基礎重置 */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--main-bg);
    color: var(--main-text);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 佈局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header-main {
    padding: 20px 0;
    border-bottom: 1px solid var(--main-border);
    background-color: var(--main-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Section */
.hero-main {
    padding: 120px 0;
    text-align: center;
    background-color: var(--main-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-main h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    max-width: 800px;
}

.hero-main p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--main-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 1; /* Override default hover opacity */
}

/* Sections */
.section-main {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--main-border);
    transition: box-shadow 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 16px;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background-color: var(--main-bg);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Footer */
.site-footer-main {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--main-border);
    color: #888;
    font-size: 0.9rem;
}
