/* 
   Main stylesheet for domain website
   Color palette:
   - Sea wave gradient: #1fd1f9 to #f9f871 (lime)
   - Cobalt accent: #1e3a8a
   - Light gray background: #f8f9fa
   - Milky background: #fffdf4
   Fonts:
   - Montserrat: for body text
   - Playfair Display: for headings and logo
*/

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

section[id] {
    scroll-margin-top: 80px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1fd1f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title .highlight {
    background: linear-gradient(45deg, #1fd1f9, #f9f871);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider.inverted {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #1fd1f9, #f9f871);
    color: #1e3a8a;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #f9f871, #1fd1f9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 209, 249, 0.2);
    color: #1e3a8a;
}

.btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #1fd1f9, #f9f871);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Burger Menu (CSS Only) */
.burger-toggle {
    display: none;
}

.burger-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1e3a8a;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 9px;
}

.burger-line:nth-child(3) {
    top: 18px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
    background-color: #fffdf4;
    padding: 80px 0;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-features {
    list-style-type: none;
    margin: 15px 0 25px;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: "✓";
    color: #1fd1f9;
    position: absolute;
    left: 0;
}

/* ===== WHY US SECTION ===== */
.why-us-section {
    background-color: white;
    padding: 80px 0;
    position: relative;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-us-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us-text {
    flex: 1;
}

.why-us-item {
    margin-bottom: 25px;
}

.why-us-item h3 {
    display: flex;
    align-items: center;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.why-us-item .number {
    background: linear-gradient(45deg, #1fd1f9, #f9f871);
    color: #1e3a8a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: #fffdf4;
    padding: 80px 0;
    position: relative;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group select option {
    background-color: #f8f9fa;
    color: #333;
    padding: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1fd1f9;
    outline: none;
}

/* Custom styled checkboxes */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkbox-label {
    display: inline-block;
}

/* Custom checkbox */
.checkbox-container:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border: 2px solid #1e3a8a;
    background-color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkbox-label:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 8px;
    height: 14px;
    border: solid #1e3a8a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

.services-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.services-selection {
    margin-bottom: 25px;
}

.services-options .checkbox-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px 15px 15px 45px;
    transition: all 0.3s ease;
}

.services-options .checkbox-container:hover {
    background-color: #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.services-options .checkbox-container:before {
    left: 15px;
}

.services-options .checkbox-container input:checked ~ .checkbox-label:after {
    left: 23px;
}

.consent-checkboxes {
    margin-bottom: 30px;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    min-width: 200px;
}

.form-errors {
    background-color: #ffe6e6;
    color: #d00;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    display: none;
}

.faq-question {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-arrow::before,
.faq-arrow::after {
    content: "";
    position: absolute;
    background-color: #1e3a8a;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-arrow::after {
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
}

.faq-answer {
    background: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-question .faq-arrow::after {
    transform: translateY(-50%) rotate(0);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-title {
    color: white;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.5rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(45deg, #1fd1f9, #f9f871);
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-contact-list,
.footer-links {
    list-style: none;
}

.footer-contact-list li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-contact-list a,
.footer-links a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-contact-list a:hover,
.footer-links a:hover {
    color: #1fd1f9;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 20px;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .why-us-content {
        flex-direction: column;
    }
    
    .about-image,
    .why-us-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Navigation */
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .burger-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .burger-toggle:checked ~ .burger-btn .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .burger-toggle:checked ~ .burger-btn .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-toggle:checked ~ .burger-btn .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        scroll-padding-top: 60px;
    }
    
    section[id] {
        scroll-margin-top: 60px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .services-options {
        grid-template-columns: 1fr;
    }
} 

.legal-page {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.legal-content {
    background: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.legal-date {
    text-align: center;
    color: #777;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-section p, .legal-section ul {
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
}
