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


.wrapper {
    font-family: 'Roboto', sans-serif;
    background: url('/static/img/international/fond_etoile.jpg') center center/cover no-repeat fixed;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    height: 70vh; /* Reduced from 100vh to show contact section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 0 0rem 0;
}

.planet-container {
    position: relative;
    width: 50vw;
    max-width: 600px;
    min-width: 300px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet {
    width: 100%;
    height: auto;
    z-index: 2;
}

.bee {
    position: absolute;
    top: 10%;
    right:-5%;
    width: 15%;
    height: auto;
    z-index: 3;
    animation: bee-float 2s ease-in-out infinite alternate;
}

.title {
    position: absolute;
    width: 45vw;
    max-width: 500px;
    min-width: 250px;
    height: auto;
    z-index: 1;
    transform: translateY(-15%) scale(0.5);
    opacity: 0;
    animation: title-appear 0.5s ease-out 0.5s forwards;
}

/* Animations */
@keyframes bee-float {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(2px, 2px);
    }
    50% {
        transform: translate(0, 0);
    }
    75% {
        transform: translate(-2px, -2px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes title-appear {
    75% {
        z-index: 1;
    }
    100% {
        transform: translateY(-145%) scale(1);
        opacity: 1;
        z-index: 4;
    }
}

/* Main Content Section */
.main-content {
    background: transparent;
    padding: 3rem 1rem 4rem 1rem; /* Restored original padding */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.main-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    margin: 0 auto;
    min-height: 70vh;
    align-items: stretch;
}

.contact-container {
    margin-top: 0;
    width: 100%;
    max-width: none;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-container h2 {
    
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-intro {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-intro p:first-child {
    font-weight: 600;
    color: #ffd700;
}

.international-promo p:first-of-type {
    font-weight: 600;
    color: #ffd700;
}

.international-promo {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    padding-top: 6rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float-liquid 6s ease-in-out infinite;
    animation-delay: 1s;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.international-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.international-promo:hover::before {
    left: 100%;
}

.international-promo:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 45px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.international-promo h3 {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 0;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
    display: inline-block;
    white-space: normal;
    text-align: center;
    max-width: 90%;
}

.international-promo p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.promo-image {
    width: 200px;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.promo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-form-section {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.contact-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float-liquid 6s ease-in-out infinite;
}

@keyframes float-liquid {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(2deg);
    }
}

.contact-card:nth-child(2) {
    animation-delay: 2s;
}

.contact-card:nth-child(3) {
    animation-delay: 4s;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 45px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-card h3 {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.person-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.person-info p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.profile-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.contact-card p {
    margin: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.email-link {
    display: inline-flex;
    align-items: center;
    color: #87ceeb;
    text-decoration: none;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    word-break: break-all;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(135, 206, 235, 0.05));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(135, 206, 235, 0.15),
        transparent
    );
    transition: left 0.4s;
}

.email-link:hover::before {
    left: 100%;
}

.email-link svg {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    fill: currentColor;
    flex-shrink: 0;
}

.email-link:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(135, 206, 235, 0.1));
    color: white;
    transform: scale(1.02);
    border: 1px solid rgba(135, 206, 235, 0.4);
    box-shadow: 0 5px 20px rgba(135, 206, 235, 0.3);
}

.social {
    color: #ccc;
    font-size: 0.9rem;
}

/* Website Link in Contact Section */
.website-link {
    margin-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.contact-website-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-website-link:hover {
    color: #fff;
    border-bottom-color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-website-link:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

@media (orientation: landscape) and (min-width: 768px) {
    .main-layout {
        flex-direction: row;
        gap: 2rem;
        align-items: stretch;
        min-height: 70vh;
    }
    
    .international-promo {
        flex: 1;
        min-width: 0;
    }
    
    .contact-container {
        flex: 2;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
        gap: 1.5rem;
        flex: 1;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size:auto;
        background-repeat: repeat;
        min-height: 100vh;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .main-layout {
        min-height: auto;
    }
    
    .planet-container {
        width: 70vw;
    }
    
    .title {
        width: 60vw;
    }
    
    .contact-container h2 {
        font-size: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .contact-intro {
        padding-bottom: 2rem;
    }
    
    
    
    .email-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-container h2 {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .international-promo {
        padding-top: 7rem;
    }
    
    .international-promo h3 {
        font-size: 1.4rem;
        max-width: 85%;
    }
    
    .planet-container {
        width: 80vw;
    }
    
    .title {
        width: 70vw;
    }
}

/* Portrait mode specific adjustments */
@media (orientation: portrait) {
    .hero-section {
        height: 50vh;
    }
}