/* CSS Variables */
:root {
    --bg-color: #080808;
    --bg-light: #121212;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --neon-color: #ae00ff;
    --neon-color-rgb: 174, 0, 255;
    --neon-glow: 0 0 5px rgba(var(--neon-color-rgb), 0.5), 0 0 15px rgba(var(--neon-color-rgb), 0.3);
    --neon-glow-hover: 0 0 10px rgba(var(--neon-color-rgb), 0.8), 0 0 20px rgba(var(--neon-color-rgb), 0.5), 0 0 30px rgba(var(--neon-color-rgb), 0.3);
    --transition: all 0.3s ease-in-out;
    /* Promo Section Variables */
    --promo-neon-color: #00ff00;
    --promo-neon-rgb: 0, 255, 0;
    --promo-text-color: #ffffff;
    --promo-bg-color: #080808;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pt-100 {
    padding-top: 100px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(var(--neon-color-rgb), 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.subtitle-center {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(var(--neon-color-rgb), 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav a:hover, .nav a.active {
    color: var(--neon-color);
    text-shadow: var(--neon-glow);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, var(--bg-light) 0%, var(--bg-color) 100%);
    text-align: left;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-flip-container {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    cursor: pointer;
    touch-action: manipulation;
}

.photo-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    box-shadow: var(--neon-glow);
    border-radius: 10px;
}

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

.photo-front, .photo-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.photo-front {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    z-index: 2;
}

.photo-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.master-photo, .master-photo-back {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* UI Elements */
.neon-btn {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--neon-color);
    background: transparent;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--neon-glow);
}

.neon-btn:hover {
    box-shadow: var(--neon-glow-hover);
    background: rgba(var(--neon-color-rgb), 0.05);
}

.neon-link:hover {
    color: var(--neon-color);
    text-shadow: var(--neon-glow);
}

/* Promo Section */
.promo-section {
    padding: 60px 0;
    background: var(--promo-bg-color);
    overflow: hidden;
    transition: var(--transition);
}

.promo-ticker {
    width: 100%;
    background: rgba(var(--promo-neon-rgb), 0.03);
    padding: 20px 0;
    margin-bottom: 30px;
    border-top: 1px solid rgba(var(--promo-neon-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--promo-neon-rgb), 0.1);
    display: flex;
}

.promo-ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.promo-ticker-inner span {
    color: var(--promo-neon-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 4px;
    padding-right: 20px;
    text-shadow: 0 0 10px rgba(var(--promo-neon-rgb), 0.5);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sales ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start; /* Выравнивание по левому краю внутри списка */
    margin: 20px auto 0; /* Центрирование самого списка */
    max-width: fit-content; /* Чтобы список не растягивался на всю ширину */
}

.sales ul li {
    font-size: 1.1rem;
    color: var(--promo-text-color);
    position: relative;
    padding-left: 25px;
    text-align: left; /* Текст внутри li по левому краю */
}

.sales ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--promo-neon-color);
    text-shadow: 0 0 5px rgba(var(--promo-neon-rgb), 0.5);
    font-size: 1.5rem;
    line-height: 1;
}

.promo-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: var(--bg-light);
    padding: 40px;
    border: 1px solid rgba(var(--neon-color-rgb), 0.05);
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.service-item:hover {
    border-color: rgba(var(--neon-color-rgb), 0.3);
    box-shadow: 0 0 15px rgba(var(--neon-color-rgb), 0.05);
}

.service-item.active {
    border-color: rgba(var(--neon-color-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--neon-color-rgb), 0.1);
}

.service-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.service-info {
    flex: 1;
}

.service-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.service-arrow {
    font-size: 0.7rem;
    color: var(--neon-color);
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.service-item.active .service-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: var(--neon-glow);
    color: var(--neon-color);
    margin-left: 20px;
}

.service-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.active .service-details {
    grid-template-rows: 1fr;
}

.service-details-content {
    overflow: hidden;
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: padding 0.4s ease;
}

.service-item.active .service-details-content {
    padding: 0 20px 25px 20px;
}

/* Guide */
.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.guide-card {
    background: var(--bg-light);
    padding: 30px;
    border-left: 2px solid var(--neon-color);
    box-shadow: -5px 0 10px rgba(var(--neon-color-rgb), 0.05);
}

.guide-card h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.guide-card ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.guide-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--neon-color);
    text-shadow: var(--neon-glow);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-light);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.8;
}

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

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Feedback Form */
.feedback-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border: 1px solid rgba(var(--neon-color-rgb), 0.05);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-color);
    background: rgba(var(--neon-color-rgb), 0.05);
    box-shadow: 0 0 10px rgba(var(--neon-color-rgb), 0.1);
}

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

/* Services Checkboxes */
.services-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar for checkboxes */
.services-checkboxes::-webkit-scrollbar {
    width: 4px;
}
.services-checkboxes::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.services-checkboxes::-webkit-scrollbar-thumb {
    background: var(--neon-color);
}

.checkbox-item {
    position: relative;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    gap: 12px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    flex-shrink: 0;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--neon-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--neon-color);
    border-color: var(--neon-color);
    box-shadow: var(--neon-glow);
}

.checkmark:after {
    content: "";
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    margin-left: 7px;
    margin-top: 3px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
}

#total-price {
    color: var(--neon-color);
    text-shadow: var(--neon-glow);
    margin-left: 10px;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 60px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(var(--neon-color-rgb), 0.05);
}

/* Dev Modal "Site in Development" */
.dev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.dev-modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dev-modal-card {
    background: #18181c;
    padding: 40px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.dev-modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.dev-modal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.dev-modal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.dev-modal-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.dev-modal-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.dev-modal-btn:active {
    transform: scale(0.98);
}

/* GLightbox Overrides */
.glightbox-container .gslide-description {
    background: #121212 !important;
}

.glightbox-container .gslide-title {
    color: var(--text-main) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.glightbox-container .gslide-desc {
    color: var(--text-muted) !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6 !important;
}

.glightbox-container .gslide-description.description-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.glightbox-container .gprev, .glightbox-container .gnext, .glightbox-container .gclose {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
}

.glightbox-container .gprev svg, .glightbox-container .gnext svg, .glightbox-container .gclose svg {
    color: #fff !important;
}


.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive */
@media (min-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content, .hero-image {
        width: 100%;
        flex: none;
    }
    .hero-title {
        font-size: 2rem;
    }
    .header-inner {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 0;
        gap: 12px;
    }
    .logo {
        font-size: 1.3rem;
    }
    .nav {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    .nav a {
        font-size: 0.8rem;
        letter-spacing: 0;
    }
}