/* ==== VARIABLES ==== */
:root {
    --primary-color: #7B2CBF;
    --accent-color: #F76E11;
    --light-color: #FFFBF7;
    --dark-color: #30475E;
    --gradient-bg: linear-gradient(135deg, #7B2CBF 0%, #9A4CDA 100%);
    --accent-gradient: linear-gradient(135deg, #F76E11 0%, #FF8C42 100%);
    --shadow: 0 10px 30px rgba(123, 44, 191, 0.2);
    --transition: all 0.3s ease;
}

/* ==== RESET & BASE ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==== HEADER ==== */
.header {
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.05);
}

.header-contact .phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.header-contact .phone:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* ==== HERO SECTION ==== */
.hero {
    background: var(--gradient-bg);
    padding: 150px 0 100px;
    text-align: center;
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/A98Yyo.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.3);
    opacity: 0.8;
    transition: var(--transition);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-1 {
    width: 200px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-image-2 {
    width: 180px;
    height: 250px;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero:hover .hero-image {
    opacity: 1;
    transform: scale(1.05);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--light-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(247, 110, 17, 0.4);
}

/* ==== SECTIONS ==== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ==== ADVANTAGES ==== */
.advantages {
    background: linear-gradient(135deg, var(--light-color) 0%, #F8F6FF 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(123, 44, 191, 0.3);
}

.advantage-image {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.advantage-card:hover .advantage-image img {
    transform: scale(1.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* ==== ABOUT ==== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==== SERVICES ==== */
.services {
    background: linear-gradient(135deg, var(--light-color) 0%, #F8F6FF 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-bg);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(123, 44, 191, 0.3);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-btn {
    background: var(--accent-gradient);
    color: var(--light-color);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(247, 110, 17, 0.4);
}

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==== CONTACT FORM ==== */
.contact {
    background: var(--gradient-bg);
    color: var(--light-color);
}

.contact .section-title {
    color: var(--light-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(247, 110, 17, 0.3);
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--accent-color);
    text-decoration: underline;
}

.submit-btn {
    background: var(--accent-gradient);
    color: var(--light-color);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(247, 110, 17, 0.4);
}

/* ==== FOOTER ==== */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-label {
    color: var(--light-color);
    font-weight: 600;
    display: inline-block;
    width: 80px;
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ==== COOKIE POPUP ==== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 400px;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-btn {
    background: var(--accent-gradient);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* ==== ANIMATIONS ==== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.3rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-image-1 {
        width: 120px;
        height: 180px;
        right: 5%;
        top: 5%;
    }
    
    .hero-image-2 {
        width: 100px;
        height: 150px;
        left: 5%;
        bottom: 5%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.2rem 0;
        gap: 0.2rem;
    }
    
    .nav-list {
        gap: 0.2rem;
        font-size: 0.9rem;
    }
    
    .logo svg {
        width: 100px;
        height: 33px;
    }
    
    .header-contact .phone {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-top: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
} 