/*
Theme Name: RooRecharge
Theme URI: https://roorecharge.com
Author: RooRecharge Team
Description: Fast & Clean Mobile Recharge Theme for Australia
Version: 1.2
*/

:root {
    --primary: #FF7F32;
    --primary-hover: #E66A20;
    --secondary: #0A2463;
    --bg-light: #F4F6F9;
    --white: #FFFFFF;
    --text-dark: #333;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}
/* --- ШАПКА (Обновленная) --- */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    height: 110px; /* УВЕЛИЧИЛИ высоту шапки (было 90px) */
    transition: all 0.3s ease;
}

/* Логотип */
.logo-link {
    display: block;
    text-decoration: none;
    /* Убираем лишние отступы */
    padding: 5px;
}

.site-logo {
    display: block;
    /* ГЛАВНОЕ ИЗМЕНЕНИЕ: Увеличили максимальную высоту */
    max-height: 90px; /* Было 70px. Теперь лого крупнее. */
    width: auto; /* Сохраняем пропорции */
    /* Добавляем плавность при изменении размера */
    transition: transform 0.3s ease;
}

.site-logo:hover {
    /* Легкий зум при наведении для интерактивности */
    transform: scale(1.03);
}

/* --- ГЛАВНЫЙ ЭКРАН (Отступ сверху) --- */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* УВЕЛИЧИЛИ отступ сверху, чтобы контент не заезжал под новую высокую шапку */
    padding: 140px 20px 60px; /* Было 120px */
    color: var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* --- КАРТОЧКА (ВИДЖЕТ) --- */
.widget-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
    text-align: left;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: bold;
}

.input-wrapper { position: relative; }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

input, select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #fff;
}

/* --- СЕТКА СУММ --- */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    border: 2px solid #E0E0E0;
    background: #FAFAFA;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    color: #555;
}

.amount-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.amount-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 127, 50, 0.3);
}

/* --- КНОПКА --- */
.btn-main {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
}

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

/* --- ПОДВАЛ --- */
footer {
    background: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid #eee;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ИКОНКИ ДОВЕРИЯ */
.trust-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #aaa;
}

/* --- СЕКЦИИ КОНТЕНТА (About, Reviews, FAQ) --- */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary);
}

/* Секция About (Преимущества) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.feature-item h3 { margin-bottom: 10px; color: var(--secondary); }

/* Секция Отзывы (Reviews) */
.reviews-section {
    background-color: #fff; /* Белый фон для контраста */
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: #FAFAFA;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
}
.stars { color: #FFC107; margin-bottom: 10px; display: block; }
.review-text { font-style: italic; color: #555; margin-bottom: 15px; display: block; }
.review-author { font-weight: bold; color: var(--secondary); display: block; text-align: right; }

/* Секция FAQ */
.faq-item {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
}
.faq-question {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: block;
}
.faq-answer { color: #666; }

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .features-grid, .reviews-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
}
