/*
Theme Name: Nihon Asia Theme
Theme URI: https://example.com/nihon-asia-theme
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme for Nihon Asia, designed for Elementor compatibility and specific UI requirements.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nihon-asia
*/

:root {
    --color-primary: #4361ee;
    --color-primary-dark: #3a0ca3;
    --color-secondary: #ffd60a;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-background: #ffffff;
    --color-background-light: #f3f4f6;
    --color-success: #10b981;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 12px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Ref */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

/* Header Placeholder Styles */
.site-header {
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.main-navigation a {
    font-weight: 500;
    font-size: 16px;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* ===========================
   Front Page Styles
   =========================== */

/* Sections */
.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: block;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e293b;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 100px;
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    z-index: 0;
    top: 20px;
    right: 20px;
}

.student-img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    /* max-height: 500px; object-fit: cover; */
    /* Enable if real image */
}

/* Stats Bar */
.stats-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-bar {
    background: var(--color-primary);
    border-radius: 50px;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 1.2rem;
    line-height: 1;
}

.stat-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Course Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.color-blue-light {
    background-color: #dbeafe;
    color: #1e40af;
}

.color-yellow-light {
    background-color: #fef9c3;
    color: #854d0e;
}

.color-green-light {
    background-color: #dcfce7;
    color: #166534;
}

.color-purple-light {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.color-orange-light {
    background-color: #ffedd5;
    color: #9a3412;
}

.color-cyan-light {
    background-color: #cffafe;
    color: #155e75;
}


/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✔';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Japan Banner */
.japan-banner {
    background-image: url('assets/images/japan-bg.jpg');
    /* User to provide */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    position: relative;
}

.japan-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay */
}

.big-banner-card {
    position: relative;
    background: #fff;
    color: #0f172a;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.banner-content {
    flex: 1;
    z-index: 2;
}

.banner-image {
    flex: 1;
    background: #eee;
}

/* Placeholder */


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #ccc;
    border-radius: 50%;
}


/* Newsletter */
.newsletter-section {
    padding-bottom: 0;
    /* Merge with footer visually if needed */
}

.newsletter-box {
    background: var(--color-primary);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    color: #fff;
}

.newsletter-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    width: 300px;
    font-size: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }

    .hero-container,
    .skills-grid,
    .stats-bar {
        flex-direction: column;
        text-align: center;
    }

    .stats-bar {
        gap: 20px;
        padding: 30px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }
}

/* ===========================
   Gallery Styles
   =========================== */
.nihon-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.nihon-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 4/3;
}

.nihon-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.nihon-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nihon-gallery-item:hover img {
    transform: scale(1.05);
}