/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --bg-card: #1f1f1f;
    --accent-orange: #ff7a00;
    --text-primary: #eaeaea;
    --text-muted: #9a9a9a;
    --font-heading: 'Montserrat', 'Inter', 'Oswald', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   CONTAINER
   ============================================ */

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-orange {
    color: var(--accent-orange);
}

.logo-white {
    color: var(--text-primary);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition);
}

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

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-orange);
    transition: var(--transition);
}

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

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-address {
    font-size: 18px;
    color: var(--accent-orange);
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #fff;
}

.btn-primary:hover {
    background-color: #ff9500;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 60px;
    font-size: 16px;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 20px auto 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.services-search {
    margin-bottom: 40px;
}

.services-search input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    color: var(--text-primary);
    transition: var(--transition);
}

.services-search input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.2);
}

.services-search input::placeholder {
    color: var(--text-muted);
}

.services-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-category {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-category:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--bg-card);
    border-bottom: 1px solid rgba(255, 122, 0, 0.2);
    transition: var(--transition);
}

.category-header:hover {
    background-color: rgba(255, 122, 0, 0.1);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.category-count {
    font-size: 14px;
    color: var(--accent-orange);
    background-color: rgba(255, 122, 0, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 15px;
}

.category-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.category-toggle::before {
    content: '+';
    font-size: 24px;
    color: var(--accent-orange);
    font-weight: 700;
}

.service-category.active .category-toggle::before {
    content: '−';
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.service-category.active .category-content {
    max-height: 2000px;
}

.service-list {
    padding: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    transition: var(--transition);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background-color: rgba(255, 122, 0, 0.05);
}

.service-name {
    font-size: 16px;
    font-weight: 500;
}

.service-duration {
    font-size: 14px;
    color: var(--text-muted);
}

.service-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-orange);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--bg-card);
    color: var(--text-muted);
    border-radius: 4px;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-orange);
    color: #fff;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-prev,
.gallery-next {
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    color: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid var(--accent-orange);
    flex-shrink: 0;
    padding: 0;
}

.gallery-prev svg,
.gallery-next svg {
    width: 24px;
    height: 24px;
    color: currentColor;
}

.gallery-prev:hover,
.gallery-next:hover {
    background-color: var(--accent-orange);
    color: #fff;
    transform: scale(1.1);
}

/* Hide navigation buttons on desktop */
.gallery-navigation {
    display: none;
}

.gallery-hint {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
    width: 100%;
}

.gallery-hint p {
    margin: 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background-color: var(--bg-card);
    min-height: 200px;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 122, 0, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background-color: rgba(255, 122, 0, 0.2);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */

.advantages {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2);
    border-color: var(--accent-orange);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 122, 0, 0.1);
    border-radius: 50%;
}

.advantage-icon img {
    width: 40px;
    height: 40px;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   CONTACTS SECTION
   ============================================ */

.contacts {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--accent-orange);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-orange);
}

.contacts-map {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-card);
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 3px solid var(--accent-orange);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-slogan {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-orange);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    z-index: 10000;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
    color: currentColor;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent-orange);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
