/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --secondary-color: #333;
    --text-color: #fff;
    --background-color: #000;
    --accent-color: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-color);
    text-decoration: none;
}

.logo i {
    color: var(--text-color);
    margin-right: 0.75rem;
}

/* Social buttons */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-button {
    color: var(--text-color);
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.social-button:hover {
    opacity: 0.8;
}

/* Section styles */
section {
    padding: 5rem 2rem;
}

/* Hero section styles */
.hero-section {
    position: relative;
    min-height: 80vh;
    color: var(--text-color);
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    display: flex;
    align-items: center;    
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-background-left {
    flex: 1;
    background-image: url('https://wordiary.org/api/media/tattoo_landing_page/hero_background_1.png');
    background-size: cover;
    background-position: center;
}

.hero-background-right {
    flex: 1;
    background-image: url('https://wordiary.org/api/media/tattoo_landing_page/hero_background_2.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.6) 50%, 
        rgba(0,0,0,0.4) 100%
    ),
    linear-gradient(180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-section h1 {
    font-size: 82px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-align: left;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: left;
    width: 100%;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-align: left;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    align-self: flex-start;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-section,
.master-section,
.reviews-section,
.session-info-section,
.pricing-section,
.location-section,
.faq-section,
.final-cta-section {
    padding: 5rem 0;
}

/* Common utility classes */
.container {
    margin: 0 auto;
}

/* Footer styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 3rem 0;
}

/* Animation classes */
.scroll-up {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.scroll-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Gallery section styles */
.gallery-section {
    position: relative;
    background-color: #212121;
    color: var(--text-color);
    padding: 4rem 0;
    margin-top: 0;
    overflow: hidden;
}

.gallery-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 2rem;
    padding-left: 2rem;
    text-transform: uppercase;
}

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: visible;
}

.gallery-container {
    position: relative;
    overflow: visible;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.gallery-item {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    height: 467px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    z-index: 2001;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    width: 48px;
    height: 48px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Reviews section styles */
.reviews-section {
    position: relative;
    background-color: #212121;
    color: var(--text-color);
    padding: 4rem 0;
    overflow: hidden;
}

.reviews-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 2rem;
    padding-left: 2rem;
    text-align: left;
}

.reviews-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reviews-container {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 0;
}

.review-item {
    flex: 0 0 300px;
    width: 300px;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.reviews-slider .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.reviews-slider .gallery-prev {
    left: 1rem;
}

.reviews-slider .gallery-next {
    right: 1rem;
}

.reviews-slider .gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.reviews-slider .gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Session info section styles */
.session-info-section {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 4rem 0;
}

.session-info-section h2 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.info-columns {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-column {
    flex: 1;
}

.info-column h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.info-list i {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.info-list span {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
}

/* Pricing section styles */
.pricing-section {
    background-color: #212121;
    color: var(--text-color);
    padding: 4rem 0;
}

.pricing-section h2 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.pricing-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

.price-card {
    width: 100%;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    text-align: left;
}

.price-card h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.price-card .price {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
}

.price-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 1.5rem 0;
    text-align: center;
}

.pricing-section .btn {
    margin-top: 1rem;
    align-self: center;
    width: fit-content;
}

/* Location section styles */
.location-section {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 4rem 0;
}

.location-section h2 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background-color: #212121;
    padding: 2rem;
    border-radius: 8px;
}

.info-block h3 {
    font-size: 24px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.info-block p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: var(--text-color);
}

.location-map {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-map {
        min-height: 300px;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4a4a4a;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-6-6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background-color: #3a3a3a;
}

.upload-btn i {
    font-size: 1.2rem;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--text-color);
    color: var(--background-color);
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .gallery-container {
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
    }

    .gallery-track {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .gallery-item {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
        height: 373px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-container {
        margin: 0 -0.25rem;
        padding: 0 0.25rem;
    }

    .gallery-track {
        gap: 0.75rem;
        padding: 0 0.25rem;
    }

    .gallery-item {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        height: 462px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Master section styles */
.master-section {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.master-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    padding: 0 2rem;
    align-items: flex-start;
}

.master-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    max-width: 600px;
}

.master-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.master-info {
    flex: 1;
    max-width: 500px;
}

.master-info h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.master-info h3 {
    font-size: 32px;
    margin-bottom: 1rem;
}

.master-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.master-approach {
    margin-top: 2rem;
}

.master-approach h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.master-features {
    list-style: none;
    padding: 0;
}

.master-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.5;
}

.master-features i {
    color: var(--text-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Responsive styles for master section */
@media screen and (max-width: 768px) {
    .master-container {
        flex-direction: column;
        padding: 0 1rem;
        gap: 2rem;
    }

    .master-image {
        width: 100%;
        max-width: 100%;
    }

    .master-info {
        width: 100%;
        max-width: 100%;
    }

    .master-info h2 {
        font-size: 36px;
    }

    .master-info h3 {
        font-size: 24px;
    }

    .master-description {
        font-size: 16px;
    }

    .master-approach h4 {
        font-size: 20px;
    }
}

/* FAQ section styles */
.faq-section {
    background-color: #212121;
    color: var(--text-color);
    padding: 4rem 0;
}

.faq-section h2 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 16px;
}

/* Final CTA section styles */
.final-cta-section {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 4rem 0;
    text-align: center;
}

.final-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.final-cta-section .btn {
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.social-username {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.final-cta-section .social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.final-cta-section .social-links a {
    color: var(--text-color);
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.final-cta-section .social-links a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 36px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
    
    .social-username {
        font-size: 28px;
    }
}

/* Скрыть стандартную иконку календаря и сделать её белой */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

