:root {
    --primary-color: #0E2432;
    --secondary-color: #ffffff;
    --accent-color: #666666;
    --transition-speed: 0.3s;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --content-width: 680px;
    --spacing-unit: 3vh;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.4;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: var(--spacing-unit) 2.5vh;
        max-width: 1440px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (min-width: 769px) {
    .container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: calc(var(--spacing-unit) * 2) 2.5vh 2.5vh;
        max-width: 1440px;
        margin: 0 auto;
        width: 100%;
    }
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    width: 100%;
    position: relative;
}

.text-content {
    width: min(480px, 80vw);
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo-container {
    width: min(480px, 80vw);
    margin: var(--spacing-unit) auto;
    display: flex;
    justify-content: center;
    padding-left: 0;
    position: relative;
}

.logo {
    width: clamp(35px, 5.5vh, 55px);
    height: clamp(35px, 5.5vh, 55px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
}

.bird-logo {
    width: clamp(35px, 5.5vh, 55px);
    height: clamp(35px, 5.5vh, 55px);
    object-fit: contain;
}

.hero-text {
    font-size: clamp(1.14rem, 2.375vh, 1.425rem);
    line-height: 1.2;
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media (min-width: 769px) {
    .hero-text {
        line-height: 1.0;
    }
}

.hero-text p {
    margin-bottom: 0.5rem;
}

.hero-text br {
    content: "";
    display: block;
    margin: calc(var(--spacing-unit) * 0.5) 0;
}

.carousel {
    position: relative;
    overflow: hidden;
    margin: var(--spacing-unit) auto;
    cursor: default;
    width: min(var(--content-width), 90vw);
    height: auto;
    padding: 0 clamp(40px, 8vw, 80px);
    flex-shrink: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e8e8e8;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #b0b0b0;
}

.carousel {
    position: relative;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.carousel.show-left-gradient::before {
    left: 0;
    width: 30px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
}

.carousel::after {
    right: 0;
    width: 30px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
}

@media (min-width: 769px) {
    .carousel {
        width: 580px;
        padding: 0 62px;
    }
    
    .carousel::before,
    .carousel::after {
        width: 60px;
    }
}

.carousel-content {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    height: auto;
    align-items: center;
}

.carousel-item {
    flex: 0 0 auto;
    width: 456px;
    height: 262px;
    overflow: hidden;
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(1);
    cursor: default;
    position: relative;
}


.carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-item:hover {
    opacity: 1;
    transform: scale(1);
}

.carousel-nav {
    display: none;
}

footer {
    padding: 2vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: auto 0 2vh 0;
    width: 100%;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity var(--transition-speed);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
}

.social-icon {
    width: 22.8px;
    height: 22.8px;
    fill: currentColor;
}

.contact-list {
    width: min(480px, 80vw);
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    visibility: hidden;
    padding-top: 2vh;
}

.contact-section {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-section:last-child {
    margin-bottom: 0;
}

.contact-section h3 {
    font-size: 1.1875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.1;
}

.contact-name {
    font-size: 1.045rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    line-height: 1.1;
}

.contact-email {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.045rem;
    transition: color var(--transition-speed);
    line-height: 1.1;
}

.contact-email:hover {
    color: var(--primary-color);
}

.contact-greeting {
    font-size: 1.045rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1.1;
}

.contact-section p {
    margin-bottom: 0.5rem;
}

.contact-section br {
    content: "";
    display: block;
    margin: 1.5rem 0;
}

.contact-list.visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.text-content.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.privacy-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (min-width: 769px) {
    .privacy-link br {
        display: none;
    }
    
    .privacy-link {
        white-space: nowrap;
    }
}

@media (min-width: 1200px) and (min-height: 800px) {
    .privacy-link {
        margin-bottom: 2vh;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .text-content,
    .carousel {
        width: 100%;
    }
    
    .logo-container {
        width: 320px;
        justify-content: flex-start;
        left: 0;
        margin: var(--spacing-unit) 0 var(--spacing-unit) 3vh;
    }

    .logo {
        width: 65px;
        height: 65px;
    }

    .bird-logo {
        width: 65px;
        height: 65px;
    }

    .hero-text {
        font-size: 1.25rem;
        text-align: left;
    }

    .carousel {
        padding: 0 0 0 3vh;
        margin: var(--spacing-unit) 0 var(--spacing-unit) 0;
    }


    .carousel-item {
        width: 320px;
        height: 180px;
    }


    .social-links {
        gap: 1rem;
        justify-content: flex-start;
        padding-left: 0;
    }

    .text-content {
        width: 320px;
        text-align: left;
        margin-left: 3vh;
        align-self: flex-start;
    }

    .hero-text {
        text-align: left;
    }

    .contact-list {
        text-align: left;
    }

    .contact-section {
        text-align: left;
    }

    footer {
        background-color: #0E2432;
        padding: 4vh 2.5vh 5vh;
        margin: 0 -2.5vh -5vh;
        width: calc(100% + 5vh);
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    footer .social-links a {
        color: #ffffff;
    }

    footer .privacy-link {
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
    }

    footer .contact-list {
        color: #ffffff;
    }

    footer .contact-section h3,
    footer .contact-name,
    footer .contact-greeting {
        color: #ffffff;
    }

    footer .contact-email {
        color: rgba(255, 255, 255, 0.8);
    }

    footer .contact-email:hover {
        color: #ffffff;
    }
} 