@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --primary: #1e2a38;
    --accent: #00c9a7;
    --secondary: #f7f7fa;
    --text: #222b45;
    --highlight: #fbb034;
    --white: #fff;
    --shadow: rgba(30, 42, 56, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: var(--primary);
    box-shadow: 0 2px 8px var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
}
.logo span {
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--highlight);
}

.hero-section {
    background: linear-gradient(120deg, var(--primary) 60%, var(--accent) 100%);
    color: var(--white);
    padding: 4rem 2rem 3rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--highlight);
    color: var(--primary);
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--shadow);
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.services-section {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.services-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background: var(--secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 2rem 1.5rem;
    width: 270px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.5s, box-shadow 0.5s;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    animation: cardIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 1rem;
    color: var(--text);
}

.about-section {
    background: var(--accent);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-section {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.contact-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.2rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

.contact-form {
    margin: 2rem auto 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--secondary);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    background: var(--white);
    color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid var(--highlight);
    box-shadow: 0 0 0 2px var(--accent);
}
.contact-form button {
    align-self: flex-end;
}
.form-msg {
    margin-top: 0.5rem;
    font-size: 0.98rem;
    color: var(--highlight);
    min-height: 1.2em;
}

.service-filter {
    display: block;
    margin: 0 auto 2rem auto;
    padding: 0.8rem 1rem;
    width: 100%;
    max-width: 350px;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: var(--white);
    color: var(--text);
    box-shadow: 0 1px 4px var(--shadow);
    transition: border 0.2s, box-shadow 0.2s;
}
.service-filter:focus {
    border: 2px solid var(--highlight);
    box-shadow: 0 0 0 2px var(--accent);
}

.testimonials-section {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}
.testimonials-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}
.testimonials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.testimonial-card {
    background: var(--secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 1.5rem 1.2rem;
    width: 320px;
    max-width: 90vw;
    text-align: left;
    position: relative;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px var(--shadow);
}
.testimonial-quote {
    font-size: 2.2rem;
    color: var(--accent);
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    opacity: 0.2;
    pointer-events: none;
}
.testimonial-text {
    margin: 1.2rem 0 0.7rem 0;
    color: var(--text);
    font-style: italic;
}
.testimonial-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.5rem;
}
@media (max-width: 900px) {
    .testimonials-list {
        flex-direction: column;
        align-items: center;
    }
    .services-list {
        flex-direction: column;
        align-items: center;
    }
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .services-section h2, .about-section h2, .contact-section h2 {
        font-size: 1.3rem;
    }
    .service-card {
        width: 90vw;
        padding: 1.2rem 0.7rem;
    }
    .navbar {
        padding: 1rem 0.5rem;
    }
    .contact-form {
        padding: 1rem 0.5rem;
    }
} 

#back-to-top-btn {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    font-size: 2rem;
    box-shadow: 0 4px 16px var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s, color 0.2s;
    z-index: 1000;
}
#back-to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}
#back-to-top-btn:hover {
    background: var(--highlight);
    color: var(--primary);
}
@media (max-width: 600px) {
    #back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
} 

body.dark-mode {
    background: #181f2a;
    color: #e3e6ee;
}
body.dark-mode header,
body.dark-mode footer {
    background: #151a23;
    color: #e3e6ee;
}
body.dark-mode .logo span {
    color: var(--accent);
}
body.dark-mode .navbar {
    background: #151a23;
}
body.dark-mode .nav-links a {
    color: #e3e6ee;
}
body.dark-mode .nav-links a:hover {
    color: var(--highlight);
}
body.dark-mode .hero-section {
    background: linear-gradient(120deg, #151a23 60%, #00c9a7 100%);
    color: #e3e6ee;
}
body.dark-mode .services-section,
body.dark-mode .contact-section,
body.dark-mode .testimonials-section {
    background: #232b3a;
    color: #e3e6ee;
}
body.dark-mode .service-card,
body.dark-mode .testimonial-card,
body.dark-mode .contact-form {
    background: #1e2533;
    color: #e3e6ee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
body.dark-mode .about-section {
    background: #00c9a7;
    color: #181f2a;
}
body.dark-mode .service-filter,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: #232b3a;
    color: #e3e6ee;
    border-color: #00c9a7;
}
body.dark-mode .service-filter:focus,
body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 2px var(--accent);
}
body.dark-mode #back-to-top-btn {
    background: #232b3a;
    color: #00c9a7;
}
body.dark-mode #back-to-top-btn:hover {
    background: var(--highlight);
    color: #181f2a;
}
#dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
    margin-left: 1rem;
    transition: color 0.2s;
}
#dark-mode-toggle:hover {
    color: var(--highlight);
}
body.dark-mode #dark-mode-toggle {
    color: var(--highlight);
} 

.faq-section {
    background: var(--secondary);
    padding: 3rem 2rem;
    text-align: center;
}
.faq-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-question {
    cursor: pointer;
    padding: 1.1rem 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    background: var(--secondary);
    border: none;
    outline: none;
    width: 100%;
    transition: background 0.2s;
}
.faq-question:hover {
    background: var(--accent);
    color: var(--white);
}
.faq-answer {
    padding: 0 1.5rem 1.1rem 1.5rem;
    color: var(--text);
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.4s;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-toggle {
    font-size: 1.3rem;
    margin-left: 1rem;
    transition: transform 0.2s;
}
.faq-item.open .faq-toggle {
    transform: rotate(90deg);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body.dark-mode .faq-section {
    background: #232b3a;
}
body.dark-mode .faq-item {
    background: #1e2533;
    color: #e3e6ee;
}
body.dark-mode .faq-question {
    background: #232b3a;
    color: var(--accent);
}
body.dark-mode .faq-question:hover {
    background: var(--accent);
    color: #181f2a;
}
body.dark-mode .faq-answer {
    color: #e3e6ee;
} 

.gallery-section {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}
.gallery-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}
.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    background: var(--secondary);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px var(--shadow);
}
.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: filter 0.2s;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 42, 56, 0.7);
    color: var(--white);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    text-align: left;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}
body.dark-mode .gallery-section {
    background: #232b3a;
}
body.dark-mode .gallery-item {
    background: #1e2533;
}
body.dark-mode .gallery-caption {
    background: rgba(0, 201, 167, 0.7);
    color: #181f2a;
} 

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 42, 56, 0.55);
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: var(--white);
    color: var(--text);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    padding: 2.2rem 2rem 1.5rem 2rem;
    max-width: 400px;
    width: 90vw;
    position: relative;
    text-align: center;
    animation: modalIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes modalIn {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--highlight);
}
body.dark-mode .modal-content {
    background: #1e2533;
    color: #e3e6ee;
} 

.youtube-section {
    background: var(--secondary);
    padding: 3rem 2rem;
    text-align: center;
}
.youtube-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.youtube-section p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.youtube-section .cta-btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    background: #ff0000;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px var(--shadow);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.youtube-section .cta-btn:hover {
    background: var(--accent);
    color: var(--white);
}
body.dark-mode .youtube-section {
    background: #232b3a;
} 

.newsletter-section {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}
.newsletter-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.newsletter-section p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}
.newsletter-form input[type="email"] {
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: var(--secondary);
    color: var(--text);
    width: 100%;
    transition: border 0.2s, box-shadow 0.2s;
}
.newsletter-form input[type="email"]:focus {
    border: 2px solid var(--highlight);
    box-shadow: 0 0 0 2px var(--accent);
}
.newsletter-form button {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.newsletter-msg {
    margin-top: 0.5rem;
    font-size: 0.98rem;
    color: var(--highlight);
    min-height: 1.2em;
}
body.dark-mode .newsletter-section {
    background: #232b3a;
}
body.dark-mode .newsletter-form input[type="email"] {
    background: #1e2533;
    color: #e3e6ee;
    border-color: #00c9a7;
}
body.dark-mode .newsletter-form input[type="email"]:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 2px var(--accent);
} 

.live-clock {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--highlight);
    margin: 1.2rem 0 0.5rem 0;
    letter-spacing: 1px;
    text-align: center;
}
.business-hours {
    font-size: 1.05rem;
    color: var(--white);
    background: var(--primary);
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    display: inline-block;
    margin: 0.5rem auto 0 auto;
    text-align: left;
    box-shadow: 0 2px 8px var(--shadow);
}
body.dark-mode .business-hours {
    background: #151a23;
    color: #e3e6ee;
} 

#lang-switcher {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--accent);
    margin-left: 1rem;
    transition: color 0.2s;
    font-weight: 700;
    letter-spacing: 1px;
}
#lang-switcher:hover {
    color: var(--highlight);
}
body.dark-mode #lang-switcher {
    color: var(--highlight);
} 

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    z-index: 3000;
    transition: width 0.2s;
}
body.dark-mode #scroll-progress {
    background: var(--highlight);
} 

#font-size-toggle, #contrast-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--accent);
    margin-left: 1rem;
    transition: color 0.2s;
    font-weight: 700;
}
#font-size-toggle:hover, #contrast-toggle:hover {
    color: var(--highlight);
}
body.dark-mode #font-size-toggle, body.dark-mode #contrast-toggle {
    color: var(--highlight);
}
body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.high-contrast header, body.high-contrast footer, body.high-contrast .navbar, body.high-contrast .about-section, body.high-contrast .services-section, body.high-contrast .testimonials-section, body.high-contrast .faq-section, body.high-contrast .gallery-section, body.high-contrast .youtube-section, body.high-contrast .newsletter-section, body.high-contrast .contact-section {
    background: #000 !important;
    color: #fff !important;
}
body.high-contrast .service-card, body.high-contrast .testimonial-card, body.high-contrast .faq-item, body.high-contrast .gallery-item, body.high-contrast .contact-form, body.high-contrast .newsletter-form, body.high-contrast .modal-content, body.high-contrast .business-hours {
    background: #111 !important;
    color: #fff !important;
    border-color: #fff !important;
}
body.high-contrast a, body.high-contrast .cta-btn, body.high-contrast .downloads-list a {
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #fff !important;
}
body.high-contrast .cta-btn:hover, body.high-contrast .downloads-list a:hover {
    background: #fff !important;
    color: #000 !important;
} 

/* Hamburger styles for mobile nav */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s;
}
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: -2px 0 16px var(--shadow);
        transition: right 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1100;
    }
    .nav-links.open {
        right: 0;
    }
    .navbar {
        flex-direction: row;
        gap: 0;
        position: relative;
    }
}
@media (max-width: 600px) {
    .nav-links {
        width: 90vw;
        max-width: 100vw;
        padding: 4rem 1rem 1rem 1rem;
    }
}
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
} 