/* DramaScale Website - Global Styles */
/* Inspired by Finance+ Theme: Clean, Minimal, Blue & White */

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

:root {
    --deep-blue: #1e2b6c;
    --white: #ffffff;
    --light-grey: #f6f8fc;
    --accent-gold: #fcbf49;
    --text-dark: #333333;
    --text-grey: #666666;
}

body {
    font-family: 'Segoe UI', 'Open Sans', 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Navigation Bar */
nav {
    background-color: var(--white);
    padding: 1.2rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--deep-blue);
    text-decoration: none;
}

.logo span {
    color: var(--accent-gold);
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--deep-blue);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-blue) 0%, #3a4a8c 100%);
    overflow: hidden;
}

.hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 43, 108, 0.7), rgba(30, 43, 108, 0.7));
    z-index: 1;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    margin: 0.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--deep-blue);
    color: var(--white);
    border-color: var(--deep-blue);
}

.btn-primary:hover {
    background-color: #2d3e8c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 43, 108, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--deep-blue);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #e6ab3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 191, 73, 0.3);
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-alt {
    background-color: var(--light-grey);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--deep-blue);
    font-weight: 700;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.card p {
    color: var(--text-grey);
    line-height: 1.8;
}

.card-image {
    width: 100%;
    height: 200px;
    background: var(--light-grey);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    font-style: italic;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

/* Content Sections */
.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.content-image {
    flex: 1;
    min-height: 350px;
    background: var(--light-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    font-style: italic;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    padding: 1rem 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--deep-blue);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Contact Form */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact Info */
.contact-info {
    background-color: var(--light-grey);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.info-item strong {
    color: var(--deep-blue);
    min-width: 100px;
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 3rem 5%;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Responsive Design */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 3%;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4rem 4%;
    }
}

/* 移动端设备 (最大宽度 768px) */
@media (max-width: 768px) {
    /* 导航栏 */
    nav {
        padding: 1rem 3%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        padding: 0.3rem 0.5rem;
    }
    
    /* 英雄区 */
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    /* 按钮 */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.3rem;
    }
    
    /* 标题 */
    .section-heading {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    /* 内容区 */
    section {
        padding: 2.5rem 4%;
    }
    
    .content-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .content-image {
        min-height: 250px;
    }
    
    /* 卡片 */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    /* 统计数据 */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* 表单 */
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* 防止iOS自动放大 */
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 小屏手机 (最大宽度 480px) */
@media (max-width: 480px) {
    /* 导航 - 超小屏幕 */
    .nav-links {
        font-size: 0.7rem;
        gap: 0.3rem;
    }
    
    /* 英雄区 */
    .hero {
        height: 350px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    /* 按钮 */
    .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* 标题 */
    .section-heading {
        font-size: 1.4rem;
    }
    
    /* 内容 */
    section {
        padding: 2rem 4%;
    }
    
    /* 统计数据 - 单列显示 */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 卡片 */
    .card {
        padding: 1.2rem;
    }
}

/* Image Placeholder Styling */
[class*="placeholder"] {
    background-image: repeating-linear-gradient(
        45deg,
        var(--light-grey),
        var(--light-grey) 10px,
        #e8ecf5 10px,
        #e8ecf5 20px
    );
}


