/* 
 * AfrohairPT - Style dla strony usług
 * @version 1.0.0
 * @author AfrohairPT Dev Team
 */

/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zmienne CSS */
:root {
    --primary-color: #000000;
    --secondary-color: #3A3A3A;
    --accent-color: #E8E6E1;
    --light-color: #D1D1D1;
    --dark-color: #000000;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --font-title: 'Italiana', serif;
    --transition-speed: 0.3s;
    --border-radius: 15px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Base styles */
body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--accent-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--accent-color);
    position: relative;
}

.section-alt .section-title {
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-alt .section-title:after {
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: var(--accent-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-alt .section-subtitle {
    color: var(--primary-color);
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.logo {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 1001;
    transition: opacity var(--transition-speed);
}

.logo:hover {
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    white-space: nowrap;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Language selector */
.language-selector {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    z-index: 1010;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

.current-language:hover {
    background-color: rgba(232, 230, 225, 0.1);
}

.current-language img, .language-dropdown img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.dropdown-arrow {
    border: solid var(--accent-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
    transition: transform var(--transition-speed) ease;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(-135deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}

.language-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    transition: background-color var(--transition-speed) ease;
    color: var(--accent-color);
    margin: 0;
    cursor: pointer;
}

.language-dropdown li:hover {
    background-color: rgba(232, 230, 225, 0.15);
}

.language-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

/* Hero Services */
.hero-services {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(232, 230, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 230, 225, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-services h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero-services p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Before/After Section */
.before-after-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.before-after-item {
    width: 100%;
    max-width: 500px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--light-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.before-after-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-wrapper.active {
    opacity: 1;
}

.before-after-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.before-after-item:hover .before-after-image {
    transform: scale(1.02);
}

.toggle-buttons {
    display: flex;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.toggle-btn {
    flex: 1;
    padding: 12px 0;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #777;
    color: var(--primary-color);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.toggle-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.toggle-btn:first-child {
    margin-right: 5px;
}

.toggle-btn:last-child {
    margin-left: 5px;
}

.toggle-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.before-after-caption {
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Process Section */
.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.process-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 230, 225, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    pointer-events: none;
}

.process-item:hover::before {
    opacity: 1;
}

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

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.process-title {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.process-description {
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* Pricing Section */
.price-list-container {
    position: relative;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto 50px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: box-shadow var(--transition-speed) ease;
}

.price-list-container:hover {
    box-shadow: var(--box-shadow-hover);
}

.price-list-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 25px;
    text-align: center;
    position: relative;
}

.price-list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(232, 230, 225, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

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

.price-list-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.price-list-subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

.price-list-content {
    padding: 40px;
    background-color: var(--light-color);
    color: var(--primary-color);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.price-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.price-item:hover {
    padding-left: 10px;
    background-color: rgba(232, 230, 225, 0.1);
    border-radius: 8px;
}

.price-item-left {
    flex: 1;
}

.price-item-name {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.price-item-desc {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
    line-height: 1.4;
}

.price-item-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 15px 15px 0;
    position: relative;
}

.price-item-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.price-item:hover .price-item-line::before {
    width: 100%;
}

.price-item-value {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
    margin-top: 8px;
}

.price-notes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery Section */
.clients-gallery {
    overflow: hidden;
    padding: 60px 0;
    position: relative;
}

.card-stack {
    position: relative;
    height: 500px;
    margin: 50px auto;
    max-width: 1000px;
}

.gallery-card {
    position: absolute;
    width: 300px;
    height: 450px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    cursor: pointer;
}

.gallery-card:nth-child(1) {
    transform: translateX(-50%) rotate(-15deg);
    left: 30%;
    top: 20px;
    z-index: 1;
}

.gallery-card:nth-child(2) {
    transform: translateX(-50%);
    left: 50%;
    z-index: 3;
}

.gallery-card:nth-child(3) {
    transform: translateX(-50%) rotate(15deg);
    left: 70%;
    top: 20px;
    z-index: 1;
}

.gallery-card:hover {
    transform: translateX(-50%) translateY(-20px) rotate(0);
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--accent-color);
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-controls {
    text-align: center;
    margin-top: 30px;
}

.gallery-btn {
    background-color: var(--light-color);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 10px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(232, 230, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(232, 230, 225, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    background-color: var(--light-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: var(--light-color);
    margin: 5% auto;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    max-width: 600px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    color: var(--primary-color);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--primary-color);
    font-family: var(--font-title);
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #777;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: all var(--transition-speed);
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 58, 58, 0.2);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: block;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    font-size: 1.05rem;
    position: relative;
}

.footer-links a:hover {
    color: var(--light-color);
}

.footer-links a.active {
    color: var(--light-color);
    font-weight: 600;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.scroll-indicator-dot {
    width: 10px;
    height: 10px;
    margin: 10px 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-services h1 {
        font-size: 3rem;
    }
    
    .before-after-item {
        max-width: 100%;
    }
    
    .gallery-card {
        width: 250px;
        height: 375px;
    }
    
    nav ul li {
        margin-left: 1.5rem;
    }
    
    nav ul li a {
        font-size: 1rem;
    }

    .language-selector {
        margin-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    header {
        padding: 1.2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: all 0.5s ease;
        z-index: 999;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.2);
    }
    
    .header-right.active {
        right: 0;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
    }
    
    nav ul li a:after {
        bottom: 0;
    }
    
    .language-selector {
        margin: 20px auto;
    }
    
    /* Hamburger menu animations */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-services {
        padding: 120px 0 60px;
    }
    
    .hero-services h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-stack {
        height: 400px;
    }
    
    .gallery-card {
        width: 220px;
        height: 330px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .price-list-content {
        padding: 30px 20px;
    }
    
    .before-after-image-container {
        height: 400px;
    }
    
    .process-container {
        gap: 20px;
    }
    
    .process-item {
        min-width: 200px;
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .header-right {
        width: 100%;
        max-width: none;
    }
    
    .card-stack {
        height: auto;
        position: relative;
        margin: 30px auto;
    }
    
    .gallery-card {
        width: 85%;
        max-width: 300px;
        height: 450px;
        margin: 0 auto;
        position: relative;
        display: none;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }
    
    .gallery-card.active-card {
        display: block;
        position: relative;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 20px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        height: auto;
        max-height: 80px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .gallery-card:active .gallery-overlay {
        max-height: 150px;
    }
    
    .gallery-controls {
        margin-top: 20px;
    }
    
    .gallery-btn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin: 0 15px;
        background-color: var(--accent-color);
        color: var(--primary-color);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    }
    
    .price-item {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    .price-item-left {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .price-item-line {
        display: none;
    }
    
    .price-item-value {
        width: 100%;
        text-align: left;
        margin-top: 0;
    }
    
    .before-after-image-container {
        height: 350px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
    
    .clients-gallery {
        padding: 40px 0;
    }
    
    .hero-services h1 {
        font-size: 2.2rem;
    }
    
    .hero-services p {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .process-container {
        flex-direction: column;
        align-items: center;
    }
    
    .process-item {
        max-width: 100%;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .scroll-indicator {
        display: block;
    }
}