/*
  style.css - Japonya'da Hayat (Yaşam Asistanı v3.0)
  Professional & Clean Design Adjustment
*/

:root {
    --primary-color: #00b894;
    --secondary-color: #2d3436;
    --accent-color: #fdcb6e;
    --bg-light: #f8f9fa;
    --text-dark: #2d3436;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-wrapper {
    padding-top: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

/* Professional Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    overflow: hidden;
}

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

.icon-box {
    transition: all 0.3s ease;
}

.hover-card:hover .icon-box {
    transform: scale(1.1);
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Footer */
.footer-main {
    background-color: #2d3436;
    color: white;
    margin-top: auto;
}

/* Flip Cards (Interactive) */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flip-card-front {
    background-color: #fff;
    color: var(--text-dark);
}

.flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.japanese-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.romaji-text {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.9;
}

/* Dark Mode */
[data-theme="dark"] body {
    background-color: #1e272e;
    color: #d2dae2;
}

[data-theme="dark"] .navbar {
    background: rgba(30, 39, 46, 0.95);
}

[data-theme="dark"] .card {
    background-color: #2f3640;
    color: #ecf0f1;
}

[data-theme="dark"] .hero-wrapper {
    background: linear-gradient(135deg, #1e272e 0%, #2f3640 100%);
}

[data-theme="dark"] .flip-card-front {
    background-color: #353b48;
    color: #fff;
}