/* ==== ROOT VARIABLES ==== */
:root {
    --primary-color: #3F3D56;
    --accent-color: #FF6B35;
    --secondary-color: #5EA9BE;
    --background-gradient: linear-gradient(135deg, #F7F7F7 0%, #EDEDED 100%);
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(63, 61, 86, 0.1);
    --shadow-hover: 0 8px 30px rgba(63, 61, 86, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-small: 6px;
}

/* ==== RESET & BASE STYLES ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ==== CSS-ONLY ANIMATIONS ==== */
@keyframes slideInOnScroll {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation on scroll using CSS only */
.advantage-card,
.service-card,
.testimonial-card,
.process-step {
    animation: slideInOnScroll 0.6s ease-out;
}

/* Stagger animation delays */
.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--background-gradient);
    overflow-x: hidden;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ==== UTILITIES ==== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* ==== ANIMATIONS ==== */
@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 slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==== COOKIE CONSENT ==== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    max-width: 400px;
    margin: 0 auto;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-consent p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-accept {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accept:hover {
    background: #e55a2b;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* ==== HEADER ==== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-cta-btn {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: var(--border-radius-small) !important;
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-cta-btn:hover::before {
    left: 100%;
}

.nav-cta-btn:hover {
    background: #e55a2b !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.nav-cta-btn::after {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ==== HERO SECTION ==== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 0,100"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ==== ABOUT SECTION ==== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

.about-image {
    animation: slideInRight 0.8s ease-out;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* ==== ADVANTAGES SECTION ==== */
.advantages {
    padding: 80px 0;
    background: var(--background-gradient);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

/* ==== SERVICES SECTION ==== */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-content p {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

/* ==== PROCESS SECTION ==== */
.process {
    padding: 80px 0;
    background: var(--background-gradient);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step::before {
    display: none;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    animation: bounce 1s ease-out;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==== TESTIMONIALS SECTION ==== */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--background-gradient);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-company {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==== ORDER FORM SECTION ==== */
.order-form {
    padding: 80px 0;
    background: var(--background-gradient);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form-group input:invalid,
.form-group select:invalid {
    border-color: #ff4444;
    background-color: #fff5f5;
}

.form-group input:valid,
.form-group select:valid {
    border-color: #44ff44;
    background-color: #f5fff5;
}

/* Custom HTML5 validation styles */
.form-group input:required:invalid,
.form-group select:required:invalid {
    box-shadow: none;
}

.form-group input:required:valid,
.form-group select:required:valid {
    box-shadow: none;
}

/* Error message styling for HTML5 validation */
.form-group input:invalid + .error-message,
.form-group select:invalid + .error-message {
    display: block;
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 5px;
}

.error-message {
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: var(--border-radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-submit button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-submit button::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;
}

.form-submit button:hover::before {
    left: 100%;
}

/* ==== FOOTER ==== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    fill: var(--accent-color);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
}

/* ==== MAIN CONTENT ==== */
.main-content {
    margin-top: 80px;
}

/* ==== MOBILE NAVIGATION ==== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        transition: var(--transition);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
    }
    
    .mobile-menu-checkbox:checked ~ .nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 15px;
        border-radius: var(--border-radius-small);
        transition: var(--transition);
    }
    
    .nav-link:hover {
        background: var(--background-gradient);
    }
    
    .nav-cta-btn {
        background: var(--accent-color) !important;
        border-radius: var(--border-radius-small) !important;
        margin-top: 10px !important;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Overlay for closing mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
        display: none;
        pointer-events: none;
    }
    
    .mobile-menu-checkbox:checked ~ .nav .nav-overlay {
        display: block;
        pointer-events: auto;
    }
}

/* ==== BUTTON HOVER ANIMATIONS ==== */
.btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn:hover {
    animation: buttonBounce 0.3s ease-out;
}

@keyframes buttonBounce {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

/* ==== LOGO ANIMATION ==== */
.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    animation: logoSpin 0.5s ease-out;
}

@keyframes logoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* ==== ICON ANIMATIONS ==== */
.advantage-icon {
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ==== FLOATING ANIMATION ==== */
.testimonial-card::before {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* ==== GRADIENT ANIMATIONS ==== */
.hero {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==== PARALLAX EFFECT ==== */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px;
    animation: parallaxMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes parallaxMove {
    0% { transform: translateX(-200px) translateY(-200px); }
    100% { transform: translateX(200px) translateY(200px); }
}

/* ==== COUNTER ANIMATION ==== */
.service-price {
    position: relative;
    display: inline-block;
}

.service-card:hover .service-price {
    animation: priceHighlight 0.5s ease-out;
}

@keyframes priceHighlight {
    0% { transform: scale(1); color: var(--accent-color); }
    50% { transform: scale(1.1); color: var(--primary-color); }
    100% { transform: scale(1); color: var(--accent-color); }
}

/* ==== ENHANCED FORM ANIMATIONS ==== */
.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
    z-index: 2;
}

.form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.form-group:hover::before {
    opacity: 1;
}

/* ==== HEADER SCROLL EFFECT - CSS ONLY ==== */
.header {
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

/* Header changes on scroll - using CSS only with viewport units */
@supports (animation-timeline: scroll()) {
    .header {
        animation: headerScroll linear;
        animation-timeline: scroll();
        animation-range: 0px 100px;
    }
}

@keyframes headerScroll {
    from {
        background: var(--white);
        backdrop-filter: blur(0px);
    }
    to {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* ==== LOADING ANIMATIONS - CSS ONLY ==== */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.about-text {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.about-image {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

/* ==== FORM ANIMATIONS ==== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: formFocus 0.3s ease-out;
}

@keyframes formFocus {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* ==== COOKIE POPUP ANIMATIONS ==== */
.cookie-consent {
    animation: slideInBottom 0.5s ease-out;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== ADDITIONAL RESPONSIVE IMPROVEMENTS ==== */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .hero::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .cookie-consent {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 15px;
    }
    
    .cookie-consent h3 {
        font-size: 1.1rem;
    }
    
    .cookie-consent p {
        font-size: 0.85rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-accept {
        width: 100%;
    }
} 