/* 
* Main Stylesheet for domain website
* Colors: 
* - Primary Blue: #0077B6
* - Accent Green: #A8E10C
* - Background Dark: #2E2E2E
* - White: #FFFFFF
* - Light Gray: #D3D3D3
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0077B6;
    --accent: #A8E10C;
    --dark: #2E2E2E;
    --white: #FFFFFF;
    --light-gray: #D3D3D3;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 15px;
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--dark);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-popup.active {
    display: block;
    animation: fadeIn 0.5s;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
}

#accept-cookies {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

#accept-cookies:hover {
    background: var(--primary);
    color: var(--white);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: lowercase;
}

.logo a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.phone, .email {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.phone::before {
    content: "📞";
    margin-right: 5px;
}

.email::before {
    content: "📧";
    margin-right: 5px;
}

.language-switcher select {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--dark) 0%, rgba(46, 46, 46, 0.8) 100%);
    color: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--dark);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* About Us Section */
.about-us {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission p {
    font-size: 1.1rem;
}

.advantages ul {
    margin-top: 20px;
}

.advantages li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
}

/* Services Section */
.services {
    background-color: #f5f5f5;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.reason {
    padding: 30px;
    background: #f5f5f5;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    transition: var(--transition);
}

.reason:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reason h3 {
    color: var(--primary);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark);
    color: var(--white);
}

.testimonials h2 {
    color: var(--white);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(100% / 3 - 20px);
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: "\201C";
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: var(--accent);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border: 2px solid var(--accent);
    font-size: 28px;
}

.user-icon {
    font-style: normal;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--accent);
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--light-gray);
}

/* Contact Form Section */
.contact-form {
    background-color: var(--primary);
    color: var(--white);
}

.contact-form h2 {
    color: var(--white);
}

.contact-form h2::after {
    background: var(--white);
}

.contact-form form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.form-group select option {
    background-color: var(--primary);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(168, 225, 12, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin: 0;
}

.form-group.checkbox a {
    color: var(--accent);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* FAQ Section */
.faq {
    background-color: #f5f5f5;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-item input {
    display: none;
}

.faq-item label {
    display: block;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item label:hover {
    color: var(--accent);
}

.faq-item label::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item input:checked + label {
    background-color: var(--primary);
    color: var(--white);
}

.faq-item input:checked + label::after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact ul li,
.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-contact ul li a,
.footer-links ul li a,
.footer-legal ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact .icon {
    background: none;
    width: auto;
    height: auto;
    color: var(--light-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Policy Pages Styling */
.policy-page {
    padding: 50px 0;
    min-height: 70vh;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-header {
    text-align: center;
    margin-bottom: 30px;
}

.policy-header .logo {
    margin-bottom: 15px;
}

.policy-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li, .policy-content ol li {
    margin-bottom: 10px;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

.back-button:hover {
    background-color: var(--accent);
    color: var(--dark);
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-frame {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 119, 182, 0.2);
    position: relative;
    overflow: hidden;
}

.thank-you-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-from-left {
    animation: slideInFromLeft 1s ease forwards;
}

.slide-from-right {
    animation: slideInFromRight 1s ease forwards;
}

.slide-from-bottom {
    animation: slideInFromBottom 1s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .service-cards,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-header .container {
        justify-content: space-between;
    }
    
    .menu-icon {
        display: block;
        order: 3;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        height: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .contact-info {
        order: 2;
    }
    
    .language-switcher {
        order: 1;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        text-align: center;
        flex: auto;
    }
    
    .about-content,
    .service-cards,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 85%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .contact-form form {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .main-header, 
    .main-footer, 
    .contact-form, 
    .cookie-popup {
        display: none;
    }
    
    body {
        color: black;
        background: white;
        font-size: 12pt;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
} 