/*
Theme Name: Апельсин — Детский лагерь
Theme URI: https://orangec.ru
Author: Апельсин-К
Author URI: https://orangec.ru
Description: Тема WordPress для летнего детского городского лагеря «Апельсин» в Москве.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apelsin
*/

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --orange: #FF6B00;
    --orange-light: #FF8C33;
    --orange-dark: #E05500;
    --yellow: #FFC107;
    --green: #4CAF50;
    --dark: #2C2C2C;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--orange);
}
.navbar-brand:focus,
.navbar-brand:hover {
    color: var(--orange-dark);
}
.navbar-brand img {
    max-height: 40px;
    margin-right: 8px;
}
.navbar-toggler {
    background-color: var(--orange);
}
.navbar .nav-link {
    color: var(--orange) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
    transition: opacity 0.3s;
}
.navbar .nav-link:hover {
    color: var(--orange-dark) !important;
}

/* ===== HERO TOPBAR ===== */
.hero-topbar {
    background: var(--orange-dark);
    color: #fff;
    padding: 14px 0;
}
.hero-topbar a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}
.hero-topbar a:hover {
    text-decoration: underline;
    color: #fff;
}
.hero-topbar .address-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #FF6B00 0%, #FF9800 50%, #FFC107 100%);
    color: #fff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.hero-section h1 {
    font-weight: 900;
    /*font-size: 2.6rem;*/
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.hero-section .lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero photo placeholder */
.hero-photo-placeholder {
    background: rgba(255,255,255,0.15);
    border: 3px dashed rgba(255,255,255,0.4);
    border-radius: 20px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}
.hero-photo-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}
.hero-photo-placeholder img {
    max-width: 100%;
    height: auto;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
    margin-top: 8px;
}

/* ===== ADVANTAGE CARDS ===== */
.advantage-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.advantage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: #fff;
}

/* ===== PRICE CARDS ===== */
.price-card {
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.3s;
    height: 100%;
}
.price-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 30px rgba(255,107,0,0.15);
}
.price-card .card-header {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    border-radius: 14px 14px 0 0;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem;
    text-align: center;
}
.price-amount {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--orange-dark);
}

/* ===== SHIFT CARDS ===== */
.shift-card {
    background: #fff;
    border-left: 4px solid var(--orange);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s;
}
.shift-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.shift-date {
    font-weight: 700;
    color: var(--orange);
    font-size: 1.05rem;
}

/* ===== SCHEDULE ===== */
.schedule-block {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 16px;
    padding: 2rem;
}

/* ===== DIRECTIONS ACCORDION ===== */
.directions-accordion .accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.directions-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
    background: #fff;
    color: var(--dark);
}
.directions-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #fff3e0, #ffe8cc);
    color: var(--orange-dark);
    box-shadow: none;
}
.directions-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF6B00'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.directions-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,107,0,0.2);
}
.directions-accordion .accordion-body {
    padding: 1.25rem;
}
.directions-accordion .dir-emoji {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

/* ===== TEACHER CARDS ===== */
.teacher-card {
    text-align: center;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}
.teacher-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}
.teacher-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: #fff;
}

/* ===== FAQ ACCORDION ===== */
.accordion-button:not(.collapsed) {
    background-color: #fff3e0;
    color: var(--orange-dark);
    font-weight: 600;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,107,0,0.25);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    padding: 60px 0;
}

/* ===== BUTTONS ===== */
.btn-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,0,0.4);
}
.btn-outline-orange {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: transparent;
}
.btn-outline-orange:hover {
    background: #fff;
    color: var(--orange);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: #ccc;
}
footer a {
    color: var(--orange-light);
    text-decoration: none;
}
footer a:hover {
    color: var(--yellow);
}

/* ===== MODAL ===== */
.modal-header {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
}
.modal .btn-close {
    filter: brightness(0) invert(1);
}

/* ===== MISC ===== */
.bg-light-orange {
    background-color: #fff8f0;
}
.text-orange {
    color: var(--orange) !important;
}

html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 70px;
}

/* WP Admin Bar fix */
body.admin-bar .navbar.sticky-top {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .navbar.sticky-top {
        top: 46px;
    }
}

/* Стили для политики Начало */
#cookie-popup {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    z-index: 1000;
	display: flex;
/*	flex-direction: row;*/
	gap: 12px;
/*	justify-content: space-between;*/
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	border-radius: 8px;
	position: sticky;
}
#cookie-popup button {
    padding: 5px 10px;
    margin: 5px;
    border: none;
    cursor: pointer;
	border-radius: 4px;
}
#accept-cookies {
    background-color: var(--orange);
    color: white;
}
#cookie-popup a {
    color: #fff;
	font-size: 14px;
}
#cookie-popup p {
margin-bottom: 0;
}
/* Стили для политики Конец */

#contacts a {
color: var(--orange-light);
text-decoration: none;
}
#contacts a:hover {
    color: var(--orange-dark);
}
.card-header img {
width: 100%;
height: 100%;
object-fit: cover;
}
.price-card .card-header {
padding-bottom: 2em;
}

.wpcf7-form a {
color: var(--orange-light);
text-decoration: none;
}
h6 {
color: var(--orange) !important;
font-weight: 700 !important;
}
.napr img {
	width:100%
}
