/* Import Cal Sans Font */
@font-face {
    font-family: 'Cal Sans';
    src: url('https://cdn.jsdelivr.net/gh/calcom/font/CalSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Cal Sans';
    src: url('https://cdn.jsdelivr.net/gh/calcom/font/CalSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* CSS Variables */
:root {
    --color-primary: #014751;
    --color-secondary: #BEC14F;
    --color-light: #FFF2EB;
    --color-lighter: #FBEBE2;
    --color-dark: #012830;
    --color-white: #ffffff;
    --font-main: 'Cal Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(1, 71, 81, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 16px;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    background-image:
        linear-gradient(135deg, rgba(1, 71, 81, 0.9) 0%, rgba(1, 40, 48, 0.95) 100%),
        url('https://images.unsplash.com/photo-1555597408-26bc8e548a46?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 71, 81, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 2;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(190, 193, 79, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
    font-size: 18px;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
    font-size: 18px;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(188, 24, 136, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 48px);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-dark);
    opacity: 0.8;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--color-secondary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--color-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-item i {
    font-size: 32px;
    color: var(--color-secondary);
    min-width: 40px;
}

.feature-item h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 15px;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(1, 71, 81, 0.15);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 15px 25px;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(1, 71, 81, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--color-lighter);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: var(--color-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(1, 71, 81, 0.08);
}

.info-item i {
    font-size: 28px;
    color: var(--color-secondary);
    min-width: 35px;
}

.info-item h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-cta {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(1, 71, 81, 0.1);
}

.contact-cta h3 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.social-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 120px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 30px 20px;
    }

    .social-buttons {
        flex-direction: column;
    }
}
