html {
    scroll-behavior: smooth;
    --header-height: 80px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

/* Header/Navigation */
.header {
    background-color: transparent;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: auto;
    width: 100%;
    transition: background-color 0.8s ease, box-shadow 0.8s ease;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c2c2c;
    text-decoration: none;
    z-index: 1001;
    transition: color 0.8s ease;
}

.header:not(.scrolled) .logo {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    background: transparent;
    border: none;
}

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

.nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.8s ease;
    padding: 0.5rem;
}

.header:not(.scrolled) .nav a {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav a:hover {
    color: #2F7F7A;
}

.header:not(.scrolled) .nav a:hover {
    color: #2F7F7A;
    text-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c2c2c;
    margin: 3px 0;
    transition: 0.8s ease;
    border-radius: 2px;
}

.header:not(.scrolled) .menu-toggle span {
    background-color: #ffffff;
}

.header:not(.scrolled) .menu-toggle.active span {
    background-color: #2c2c2c;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
    }

    .nav.active {
        right: 0;
    }

    .nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #2c2c2c !important;
        text-shadow: none !important;
    }

    .nav a:hover {
        color: #2F7F7A !important;
        text-shadow: none !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 2.5rem 2rem;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .newsletter-container {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .newsletter-container {
        max-width: 1600px;
    }
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.newsletter-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.newsletter-input {
    flex: 0 1 320px;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.95rem;
    min-height: 46px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input:focus {
    outline: none;
    border-color: #2F7F7A;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(47, 127, 122, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
    padding: 0.875rem 2rem;
    background-color: #2F7F7A;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    min-height: 46px;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.newsletter-button:hover {
    background-color: #5FA5A0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 127, 122, 0.3);
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.newsletter-message {
    margin-top: 1rem;
    font-size: 0.875rem;
    min-height: 20px;
    display: none;
    text-align: center;
    letter-spacing: 0.2px;
}

.newsletter-message.show {
    display: block;
}

.newsletter-message.success {
    color: #8ADAD4;
}

.newsletter-message.error {
    color: #ff9999;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 3rem 2rem 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    scroll-margin-top: calc(var(--header-height));
}

.footer.animated {
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

@media (min-width: 1440px) {
    .footer-container {
        max-width: 1400px;
        gap: 4rem;
    }
}

@media (min-width: 1920px) {
    .footer-container {
        max-width: 1600px;
        gap: 5rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2F7F7A;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background-color: #2F7F7A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-column h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2F7F7A;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #8ADAD4;
}

.footer-column .social-icons {
    margin-top: 1.5rem;
}

.footer-map {
    color: #ffffff;
}

.footer-map h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2F7F7A;
    font-weight: 600;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.map-container:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
}

.footer-email {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-email input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #555;
    background-color: #3a3a3a;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1rem;
    min-height: 44px;
}

.footer-email input::placeholder {
    color: #999;
}

.footer-email button {
    padding: 0.75rem 1rem;
    background-color: #2F7F7A;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s, filter 0.3s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: filter 0.3s;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background-color: #2F7F7A;
}

.social-icon:hover svg {
    filter: brightness(0) invert(0);
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-wrap: wrap;
        gap: 0.875rem;
    }

    .newsletter-title {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .newsletter-input {
        flex: 1;
        min-width: 0;
    }

    .newsletter-button {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 1.75rem 1rem;
    }

    .newsletter-title {
        font-size: 1rem;
    }

    .newsletter-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .newsletter-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 250px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}



