/* 
 * Main CSS file for domain website
 * Color palette:
 * - Main background: #FAF3E0 (light-sand)
 * - Accent elements: #EF476F (berry-red), #06D6A0 (mint-green)
 * - Headings: #073B4C (dark-blue)
 * - Text: #333333
 * - Buttons: gradient from #118AB2 to #073B4C
 * - Icons and UI elements: #FFD166 (golden-yellow)
 */

/* === RESET & BASIC STYLES === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FAF3E0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #118AB2;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #073B4C;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #073B4C;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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: #EF476F;
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #118AB2 0%, #073B4C 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(7, 59, 76, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(7, 59, 76, 0.3);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #118AB2 0%, #073B4C 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #118AB2;
    color: #118AB2;
    padding: 10px 25px;
}

.btn-secondary:hover {
    background: rgba(17, 138, 178, 0.1);
    color: #073B4C;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* === HEADER & NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(250, 243, 224, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
}

.logo-text {
    background: linear-gradient(135deg, #1283a9 0%, #EF476F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.toggle-bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #073B4C;
    border-radius: 3px;
}

/* === MAIN CONTENT === */
.site-main {
    margin-top: 80px;
}

/* === HERO SECTION === */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(250, 243, 224, 0.9) 0%, rgba(255, 209, 102, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/ZHLCDA.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* === ABOUT SECTION === */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.about-item {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #FAF3E0;
    transition: transform 0.3s;
    overflow: hidden;
}

.about-item:hover {
    transform: translateY(-10px);
}

.about-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.about-item:hover .about-img {
    transform: scale(1.05);
}

.about-text {
    padding: 20px;
}

/* === SERVICES SECTION === */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: calc(33.333% - 20px);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #06D6A0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card .btn {
    margin-top: 15px;
}

/* === BENEFITS SECTION === */
.benefits-section {
    background-color: #073B4C;
    color: white;
}

.benefits-section h2 {
    color: white;
}

.benefits-section h2::after {
    background: #FFD166;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-item h3 {
    color: #FFD166;
}

/* === FORM SECTION === */
.form-section {
    background-color: #FAF3E0;
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #118AB2;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: #FAF3E0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(239, 71, 111, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: #073B4C;
}

.testimonial-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.control-prev, .control-next {
    padding: 8px 15px;
    background: #118AB2;
    color: white;
    border-radius: 5px;
    transition: all 0.3s;
}

.control-prev:hover, .control-next:hover {
    background: #073B4C;
    color: white;
}

/* === FAQ SECTION === */
.faq-section {
    background-color: #FAF3E0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
}

.faq-question h3 {
    margin: 0;
    position: relative;
}

.faq-question a {
    color: #073B4C;
    text-decoration: none;
    display: block;
    padding-right: 30px;
    position: relative;
}

.faq-question a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #118AB2;
}

.faq-item.active .faq-question a::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    border-top: 1px solid #eee;
}

/* === CONTACT SECTION === */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 350px;
}

.map-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #EF476F;
}

/* === FOOTER === */
.site-footer {
    background-color: #073B4C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-description {
    opacity: 0.8;
    max-width: 300px;
}

.footer-column h3 {
    color: #FFD166;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-contact li, .footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-popup.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin-bottom: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 110;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.mobile-open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-list li:last-child {
        margin-top: 20px;
    }
    
    .nav-list li a {
        display: block;
        padding: 10px 0;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
}

/* === POLICY PAGES === */
.policy-page {
    padding: 120px 0 80px;
}

.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    text-align: left;
    margin-bottom: 20px;
}

.policy-section h2::after {
    margin-left: 0;
    margin-top: 10px;
    width: 60px;
}

/* === THANK YOU PAGE === */
.thankyou-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thankyou-icon {
    font-size: 5rem;
    color: #06D6A0;
    margin-bottom: 20px;
}

.thankyou-page h1 {
    margin-bottom: 20px;
}

.thankyou-page p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
