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

:root {
    --primary-color: #A0522D;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --gold-color: #DAA520;
    --dark-color: #3E2723;
    --light-color: #FFF8DC;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #f9f9f9;
    --gradient-1: linear-gradient(135deg, #D2691E 0%, #CD853F 50%, #DAA520 100%);
    --gradient-2: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    --gradient-3: linear-gradient(135deg, #F4A460 0%, #DAA520 100%);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: 0 6px 30px rgba(210, 105, 30, 0.4);
}

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

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header .logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

header nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

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

.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gradient-3);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(218, 165, 32, 0.5);
    border-color: var(--gold-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

section {
    padding: 60px 20px;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.services-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card,
.gallery-item {
    background: linear-gradient(145deg, #ffffff 0%, #fff8dc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(160, 82, 45, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.service-card::before,
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before,
.gallery-item:hover::before {
    transform: scaleX(1);
}

.service-card:hover,
.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(160, 82, 45, 0.25);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.3);
}

.gallery-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-section {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

footer {
    background: var(--gradient-2);
    color: var(--white);
    padding: 3rem 20px 1rem;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 37, 17, 0.98);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1;
    margin: 0;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-content {
    max-width: 900px;
    margin: 2rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray);
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.success-message,
.error-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Before/After Section */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.before-after-item {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf0 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(160, 82, 45, 0.12);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

.before-after-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(218, 165, 32, 0.25);
}

.ba-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ba-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.before-after-item:hover .ba-image img {
    transform: scale(1.1);
}

.ba-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.ba-before {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
}

.ba-after {
    background: var(--gradient-1);
    color: white;
}

.before-after-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.before-after-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b4513 100%);
    padding: 4rem 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 1.1rem;
    color: #fffbf0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #fff8dc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(160, 82, 45, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid transparent;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(218, 165, 32, 0.25);
    border-left-color: var(--accent-color);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #fffbf0 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(160, 82, 45, 0.12);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(218, 165, 32, 0.25);
}

.process-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.4);
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.6);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--gray);
    line-height: 1.7;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
}
