/* ==========================================================================
   Hasbro Theme - Main Stylesheet
   ========================================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: 100%;
    display: block;
}

a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d47a1;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    min-height: 60vh;
}

/* --- Header --- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.main-navigation a {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #1a73e8;
}

/* --- Language Switcher --- */
.hasbro-lang-switcher {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.hasbro-lang-switcher li a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hasbro-lang-switcher li a:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

.hasbro-lang-switcher li.active a {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-section[style*="background-image"]::before {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-section[style*="background-image"] .hero-content {
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #1557b0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- General Content --- */
.entry-header {
    margin-bottom: 24px;
}

.entry-title {
    font-size: 2rem;
    color: #1a1a1a;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.2em;
}

/* --- Sidebar --- */
.widget-area {
    padding: 20px 0;
}

.widget {
    margin-bottom: 32px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .main-navigation ul {
        gap: 16px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features-section {
        padding: 48px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Utility --- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
