/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #5bb5cf;
    --primary-dark: #4a9eb8;
    --primary-light: #7ec9e0;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #777;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-heading: "Playfair Display", serif;
    --font-body: "Roboto", sans-serif;
    --container-width: 1200px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.body_container {
    padding: 20px;
}

.header-background {
    background: url('/images/background.jpg') no-repeat center;
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-white);
    top: 0;
    z-index: 1000;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: center;
}

.artist-info {
    text-align: left;
    padding-left: 40px
}

.header-contacts {
    display: none;
    text-align: center;
    margin: 10px 0;
    background-color: #fff;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: bold;
}

.artist-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.title {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    font-weight: 500;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.4;
    font-weight: bold;
}

.artist-photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.artist-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===== NAVIGATION ===== */
.nav {
    background: var(--primary-color);
    padding: 0;
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-list a {
    display: block;
    padding: 15px 25px;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--primary-dark);
}

/* Кнопка мобильного меню */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 6px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Анимация гамбургера при открытии */
.mobile-menu-toggle.active {
    background: var(--primary-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MAIN CONTENT ===== */
.main {
    padding: 40px 0;
    min-height: calc(100vh - 400px);
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 50px;
}

.section-title,
.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 50px;
}

/* ===== WORKS GRID ===== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover img {
    transform: scale(1.05);
}

/* ===== EVENTS PREVIEW ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.event-item:hover {
    background: #f0f4f6;
    transform: translateX(5px);
}

.event-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: block;
    background: var(--bg-light);
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

.gallery-item-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Плейсхолдер для отсутствующего изображения */
.gallery-item-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    gap: 10px;
}

.gallery-item-placeholder span {
    font-size: 48px;
    opacity: 0.5;
}

.gallery-item-placeholder small {
    font-size: 0.9rem;
}

/* ===== WORK PAGE - OLD LAYOUT (fallback) ===== */
.work-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.work-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.work-main-image {
    width: auto;
    height: auto;
    max-height: 770px;
    margin: 0 auto;
    border-radius: 10px;
}

.work-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Work Navigation Full-Width */
.work-navigation-fullwidth {
    padding: 30px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.work-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.work-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    justify-content: center;
}

.work-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.work-nav-btn.prev {
    text-align: left;
}

.work-nav-btn.next {
    text-align: right;
}

.work-nav-btn svg {
    flex-shrink: 0;
}

.thumbnail {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.work-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.work-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.work-info {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-weight: 500;
    color: var(--text-medium);
}

.info-value {
    color: var(--text-dark);
    font-weight: 400;
}

.info-value.available {
    color: #27ae60;
    font-weight: 500;
}

.work-description {
    margin-bottom: 30px;
}

.work-description h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.work-description p {
    margin-bottom: 12px;
    color: var(--text-medium);
    line-height: 1.6;
}

.link-primary {
    color: var(--primary-color);
    font-weight: 500;
}

.link-primary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.work-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-button {
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--primary-color);
    color: white;
}

.work-counter {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== WORK PAGE FULL-WIDTH LAYOUT ===== */
.work-fullwidth-image {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.work-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.work-full-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.work-fullwidth-specs {
    padding: 60px 0;
    background: var(--bg-white);
}

.specs-content {
    max-width: 900px;
    margin: 0 auto;
}

.specs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.specs-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin: 0 auto;
}

.specs-badge {
    display: inline-block;
    padding: 10px 25px;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
}

.specs-badge.available {
    background: #d4edda;
    color: #155724;
    margin: 16px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.specs-description {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.specs-description h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.specs-description p {
    margin-bottom: 12px;
    color: var(--text-medium);
    line-height: 1.7;
}

.specs-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
}

/* Кнопка "Подробнее" для событий */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px 20px;
    border-top: 1px solid #f3f4f6;
    margin-top: 20px;
}

.btn-read-more {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    margin: 20px auto;
}

.btn-read-more:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

/* ===== EVENTS FULL PAGE ===== */
.events-full {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-full-item {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-full-header {
    padding: 25px 30px;
    background: var(--primary-color);
    display: flex;
    gap: 20px;
    align-items: center;
    color: white;
}

.event-full-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.event-full-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.event-full-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    padding: 30px;
}

.event-full-image {
    border-radius: 8px;
    overflow: hidden;
}

.event-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-full-text p {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.event-signature {
    margin-top: 20px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: right;
}

.event-full-text {
    position: relative;
}

/* ===== EVENT DETAIL PAGE ===== */
.event-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.event-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.event-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.event-detail-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1rem;
}

.back-to-events {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.back-to-events:hover {
    color: var(--primary-dark);
}

.event-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-dark);
    line-height: 1.3;
}

.event-detail-content {
    margin-bottom: 50px;
}

.event-detail-main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.event-detail-main-image img {
    width: auto;
    height: auto;
    max-height: 870px;
    margin: 0 auto;
}

.event-detail-text {
    margin-bottom: 50px;
}

.event-detail-text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

.event-detail-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.event-detail-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.event-signature-block {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: right;
}

.event-signature-name {
    color: var(--text-medium);
    margin-bottom: 5px;
}

.event-signature-person {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Event Gallery */
.event-gallery {
    margin: 50px 0;
}

.event-gallery-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Event Navigation */
.event-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.event-nav-link {
    display: block;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.event-nav-link:hover {
    background: #f0f4f6;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.event-nav-link.prev {
    text-align: left;
}

.event-nav-link.next {
    text-align: right;
}

.event-nav-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.event-nav-title {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ===== ORDER PAGE ===== */
.order-content {
    max-width: 900px;
}

.order-info h2,
.pricing-section h2,
.delivery-section h2,
.payment-section h2,
.order-examples h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 30px 0 20px;
}

.order-ways {
    list-style: none;
    padding-left: 0;
}

.order-ways li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
}

.order-ways li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 10px;
}

.order-ways a {
    color: var(--primary-color);
}

.order-ways a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.pricing-section p,
.delivery-section p,
.payment-section p {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.order-examples {
    margin: 40px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.example-item {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.example-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.order-description p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
    text-align: justify;
}

/* ===== CONTACTS PAGE ===== */
.contacts-content {
    max-width: 800px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 40px;
}

.lead-text a {
    color: var(--primary-color);
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.contact-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-value {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--primary-dark);
}

.social-media-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contacts p {
    margin-bottom: 8px;
}

.footer-contacts a {
    color: var(--primary-light);
}

.footer-contacts a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-top {
        text-align: center;
    }

    .artist-info {
        text-align: center;
        padding-left: 20px;
    }

    .artist-photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .work-page {
        grid-template-columns: 1fr;
    }

    .work-sidebar {
        order: -1;
    }

    .event-full-content {
        grid-template-columns: 1fr;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .header-contacts {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        padding-top: 80px;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-list.active {
        display: flex;
        left: 0;
    }

    .nav-list a {
        padding: 18px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list a:hover,
    .nav-list a.active {
        background: rgba(255, 255, 255, 0.1);
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .work-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .event-navigation {
        grid-template-columns: 1fr;
    }

    .event-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-read-more {
        width: 100%;
        text-align: center;
    }

    /* Full-width work page responsive */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .spec-item {
        padding: 20px;
    }

    .spec-icon svg {
        width: 24px;
        height: 24px;
    }

    .spec-value {
        font-size: 0.95rem;
    }

    .specs-actions {
        flex-direction: column;
    }

    .specs-actions .btn {
        flex: 1;
        min-width: 200px;
    }

    .work-thumbnails-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .artist-photo {
        display: none;
    }

    .artist-info {
        padding: 0 20px;
    }

    .header-contacts {
        display: block;
    }

    .header-top {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 25px;
    }
    :root {
        --font-size-base: 14px;
    }

    .title {
        margin: 0;
    }

    .header-top {
        gap: 10px;
    }
    .artist-name {
        font-size: 2rem;
    }

    .quote {
        font-size: 1.5rem;
    }

    .section {
        padding: 0 10px;
    }

    .about-section {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-full-header {
        padding: 20px;
    }

    .event-full-content {
        padding: 20px;
    }

    .work-sidebar {
        padding: 20px;
    }

    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }

    .contact-label,
    .contact-value {
        font-size: 1rem;
    }

    .social-media-links {
        flex-wrap: wrap;
    }

    .event-gallery-grid {
        grid-template-columns: 1fr;
    }

    .works-showcase {
        grid-template-columns: 1fr;
    }

    .event-detail-title {
        font-size: 1.5rem;
    }

    /* Full-width work page mobile */
    .specs-header {
        flex-direction: column;
    }

    .specs-title {
        font-size: 1.8rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .work-full-image {
        max-height: 60vh;
    }

    @media (max-width: 480px) {
        .work-nav-buttons {
            flex-direction: column;
        }

        .work-nav-btn {
            width: 100%;
        }
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section,
.event-detail {
    animation: fadeIn 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
