/* 
* Main stylesheet for domain
* Color palette:
* - Background: #1F1F1F (coal grey)
* - Accent: #FF6F61 (coral pink)
* - Secondary: #FFD166 (honey yellow)
* - Text: #F2F2F2 (milk white)
* - Block background: #2E2E2E (dark graphite)
* - Buttons: #6A4C93 (plum purple)
* - Font: "Inter", sans-serif
*/

/* Reset and base styles */
:root {
    --bg-color: #1F1F1F;
    --accent-color: #FF6F61;
    --secondary-color: #FFD166;
    --text-color: #F2F2F2;
    --block-bg: #2E2E2E;
    --button-color: #6A4C93;
    --dark-text: #333333;
    --light-gray: #999999;
    --error-color: #FF3B30;
    --success-color: #4CD964;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}



.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--button-color);
    color: var(--text-color);
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #7d5ca9;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 76, 147, 0.3);
}

.btn-secondary {
    background-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: #ff8577;
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.3);
}

/* Header styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: lowercase;
}

.logo-text {
    position: relative;
}

.logo-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover .logo-text:after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    background-color: var(--button-color);
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-cta:hover {
    background-color: #7d5ca9;
}

.nav-cta:after {
    display: none;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(rgba(31, 31, 31, 0.8), rgba(31, 31, 31, 0.8)), url('../img/Uy6DAx.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 650px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero .btn {
    margin-right: 20px;
}

/* About section */
.about {
    background-color: var(--block-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent-color);
    z-index: -1;
}

.about-image:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    z-index: -1;
    opacity: 0.6;
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    margin-bottom: 30px;
}

/* Benefits section */
.benefits .container {
    max-width: 1000px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--block-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.benefit-image {
    width: 100%;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

/* Services section */
.services {
    background-color: var(--block-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-card h3 {
    color: var(--secondary-color);
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.service-card ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Process section */
.process .container {
    max-width: 900px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    counter-reset: step;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: var(--accent-color);
}

.process-content h3 {
    margin-bottom: 15px;
}

/* Testimonials section */
.testimonials {
    background-color: var(--block-bg);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--accent-color);
    margin: 0;
}

/* Contact section */
.contact {
    background-image: linear-gradient(rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0.9)), url('../img/sVfSeI.jpg');
    background-size: cover;
    background-position: center;
}

.contact .container {
    max-width: 800px;
}

.contact-form {
    background-color: var(--block-bg);
    padding: 50px;
    border-radius: 15px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-color);
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 45px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 400px;
    background-color: var(--block-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none; /* Hidden by default, shown by JS */
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: 15px;
}

.btn-cookie {
    padding: 10px 20px;
}

/* Footer */
.site-footer {
    background-color: var(--block-bg);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 20px;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(242, 242, 242, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Policy pages */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: #fff;
    color: var(--dark-text);
    border-radius: 15px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    color: var(--dark-text);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.policy-container h2 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-top: 40px;
    text-align: left;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
    margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
    padding-left: 20px;
}

.policy-container a {
    color: var(--button-color);
}

.policy-container a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-block;
    margin-top: 30px;
    color: var(--button-color);
    font-weight: 600;
}

.back-btn:hover {
    text-decoration: underline;
}

/* Thank you page */
.thank-you {
    padding: 120px 0;
    text-align: center;
}

.thank-you-container {
    background-color: var(--block-bg);
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-color);
        padding: 80px 30px 30px;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 20px;
    }
    
    .main-nav ul li:last-child {
        margin-bottom: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .process-step:before {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .process-step:not(:last-child):after {
        left: 25px;
    }

    .contact-form {
        padding: 30px;
    }

    .policy-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    section {
        padding: 40px 0;
    }

    .benefit-card, 
    .service-card {
        padding: 20px;
    }

    .testimonial {
        padding: 25px;
    }

    .cookie-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}
