/* 
* Main stylesheet for domain website
* Color palette:
* - Primary: #FFA500 (mandarin orange)
* - Secondary: #007FFF (azure blue)
* - Background: #FDF6ED (light sand)
* - Accent: #6A0DAD (rich purple)
* - Text: #222222 (anthracite) and #666666 (warm gray)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #FDF6ED;
}

a {
    color: #007FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6A0DAD;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #FFA500;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

#accept-cookies {
    background: #FFA500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

#accept-cookies:hover {
    background: #e09400;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    display: block;
}

.mobile-menu-toggle {
    display: none;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #222;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:last-child {
    bottom: 0;
}

.hamburger.open span:first-child {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:last-child {
    transform: rotate(-45deg);
    bottom: 50%;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: #222;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a:hover {
    color: #FFA500;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #FFA500;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.nav-contact {
    background: #FFA500;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 4px;
}

.nav-contact:hover {
    background: #e09400;
}

/* Main Banner */
.main-banner {
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4)), url('../img/A1tTcj.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: #FFA500;
    color: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #e09400;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* About Section */
.about-section {
    background: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    color: #FFA500;
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Advantages */
.advantages-section {
    background-color: #fff;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.advantage-item {
    flex: 1 1 250px;
    max-width: 280px;
    background: #FDF6ED;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-item h3 {
    color: #222;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #666;
}

/* Steps */
.steps-section {
    background: linear-gradient(to right, #FDF6ED, #fff);
}

.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background: #FFA500;
}

.step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 10px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #FFA500;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials-section {
    background-color: #FDF6ED;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content {
    position: relative;
    padding: 0 0 20px 0;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    color: #FFA500;
    font-size: 60px;
    opacity: 0.2;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Contact Form */
.contact-section {
    background: linear-gradient(to right, rgba(0,127,255,0.05), rgba(106,13,173,0.05));
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.submit-button {
    background: #FFA500;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: #e09400;
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    color: #FFA500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list svg {
    margin-right: 10px;
    margin-top: 3px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: #FFA500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thank-you-content svg {
    margin: 0 auto 20px;
}

.thank-you-actions {
    margin-top: 30px;
}

.primary-button {
    background: #FFA500;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

.primary-button:hover {
    background: #e09400;
    color: #fff;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-container h2 {
    text-align: left;
    margin: 30px 0 15px;
}

.policy-container h2:after {
    left: 0;
    transform: none;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style: disc;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-banner {
        padding: 120px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 99;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 15px 0;
    }
    
    .main-nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .main-banner {
        padding: 100px 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .step {
        padding-left: 60px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .main-banner {
        padding: 80px 0;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .form-container {
        padding: 20px;
    }
}
