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

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: auto;
}

html.smooth-scroll {
    scroll-behavior: smooth;
}

:root {
    --ice-blue: #7EC8E3;
    --deep-blue: #1a3a52;
    --snow-white: #f8f9fa;
    --red-esf: #dc143c;
    --shadow-blue: rgba(126, 200, 227, 0.3);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, #0a1929 0%, #1a3a52 50%, #7EC8E3 100%);
    min-height: 100vh;
    color: var(--snow-white);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Snowflakes animation */
.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    animation: fall linear infinite;
    z-index: 1;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Mountain silhouette */
.mountains {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    opacity: 0.15;
}

.mountain {
    position: absolute;
    bottom: 0;
}

.mountain-1 {
    left: -10%;
    width: 0;
    height: 0;
    border-left: 300px solid transparent;
    border-right: 300px solid transparent;
    border-bottom: 400px solid var(--snow-white);
}

.mountain-2 {
    left: 30%;
    width: 0;
    height: 0;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    border-bottom: 350px solid var(--snow-white);
}

.mountain-3 {
    right: -5%;
    width: 0;
    height: 0;
    border-left: 280px solid transparent;
    border-right: 280px solid transparent;
    border-bottom: 380px solid var(--snow-white);
}

/* Main container */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 330px; /* More space to see rounded borders */
    padding: 60px 20px;
    transition: margin-top 0.6s ease;
    /* Removed animation to prevent jump effect */
}

.container.compact-mode {
    margin-top: 100px; /* Reduced space when header is compact */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    padding: 20px;
    box-shadow: none;
    transition: all 0.6s ease;
    text-align: center;
}

/* Compact header on scroll */
.fixed-header.compact {
    padding: 5px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(10, 25, 41, 0.98) 0%, rgba(10, 25, 41, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.fixed-header.compact .logo-container {
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.6s ease;
    min-height: auto;
}

.fixed-header.compact .logo-container img {
    max-width: 50px;
    height: 40px;
    object-fit: contain;
    display: block;
    transition: all 0.6s ease;
}

.fixed-header.compact .nav-menu {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 20px;
    align-items: center;
    transition: all 0.6s ease;
}

/* Logo section */
.logo-container {
    text-align: center;
    margin-bottom: 8px;
    animation: slideDown 1.2s ease-out;
    transition: all 0.6s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-container img {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px var(--shadow-blue));
    transition: all 0.6s ease;
}

.logo-container img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    flex-wrap: wrap;
    animation: fadeIn 1.3s ease-in 0.2s backwards;
    transition: all 0.6s ease;
}

.nav-link {
    background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    color: var(--snow-white);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid rgba(126, 200, 227, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    background: var(--red-esf);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
    border-color: var(--red-esf);
}

.fixed-header.compact .nav-link {
    padding: 8px 18px;
    font-size: 0.9em;
}

/* Footer */
.footer {
	background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
	
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
	
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(126, 200, 227, 0.3);
    animation: fadeIn 1.8s ease-in 0.9s backwards;
}

.footer p {
    font-size: 1.1em;
    color: var(--snow-white);
    margin-bottom: 10px;
}

.footer a {
	color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer #JJB {
    margin-top: 20px;
	color: white;
    text-decoration: none;
}

.social_logo {
	width : 5%;
	margin-left: 20px;
	margin-right: 20px;
}

/* Content section */
.content {
    background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
	
    padding: 50px 40px;
    margin-bottom: 50px;
	
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(126, 200, 227, 0.3);
    animation: fadeIn 1.4s ease-in 0.3s backwards;
}

.content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--ice-blue);
    text-shadow: 0 0 20px var(--shadow-blue);
    letter-spacing: 4px;
    line-height: 1.2;
}

.content p {
    font-size: 1.2em;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--snow-white);
}

.content p strong {
    color: var(--red-esf);
    font-weight: 600;
}

/* Photo Gallery section */
.gallery-container {
    background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(126, 200, 227, 0.3);
    animation: fadeIn 1.5s ease-in 0.45s backwards;
}

.gallery-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--ice-blue);
    text-shadow: 0 0 20px var(--shadow-blue);
    letter-spacing: 3px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 500px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeSlide 0.5s ease-in;
}

@keyframes fadeSlide {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: contain;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 8px 8px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.prev:hover, .next:hover {
    background-color: rgba(220, 20, 60, 0.8);
}

/* Dots/indicators */
.dots-container {
    text-align: center;
    padding-top: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--red-esf);
}

/* Dates Section */
.dates-container {
    background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(126, 200, 227, 0.3);
    animation: fadeIn 1.65s ease-in 0.55s backwards;
}

.dates-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--ice-blue);
    text-shadow: 0 0 20px var(--shadow-blue);
    letter-spacing: 3px;
}

.dates-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.date-item {
    background: rgba(10, 25, 41, 0.6);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(126, 200, 227, 0.2);
}

.date-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    border-color: var(--red-esf);
}

.date-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3em;
    color: var(--red-esf);
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.date-info {
    flex: 1;
}

.date-month {
    font-size: 0.9em;
    color: var(--ice-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.date-location {
    font-size: 1.3em;
    color: var(--snow-white);
    font-weight: 600;
}

/* Video section */
.video-container {
    background: rgba(26, 58, 82, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
	
    padding: 40px;
	margin-bottom: 50px;
	
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(126, 200, 227, 0.3);
    animation: fadeIn 1.6s ease-in 0.6s backwards;
}

.video-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--ice-blue);
    text-shadow: 0 0 20px var(--shadow-blue);
    letter-spacing: 3px;
}

.video-slideshow-container {
    position: relative;
    max-width: 100%;
    height: 500px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.video-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeSlide 0.5s ease-in;
}

.video-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Video navigation arrows */
.video-prev, .video-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 8px 8px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.video-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.video-prev:hover, .video-next:hover {
    background-color: rgba(220, 20, 60, 0.8);
}

/* Video dots/indicators */
.video-dots-container {
    text-align: center;
    padding-top: 20px;
}

.video-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.video-dot.active, .video-dot:hover {
    background-color: var(--red-esf);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Decorative elements - REMOVED ski trails */

/* Responsive */
@media (max-width: 768px) {
    .fixed-header {
        padding: 10px 10px;
    }
    
    /* Reduce logo height on mobile */
    .logo-container {
        margin-bottom: 5px;
        min-height: auto;
    }
    
    .logo-container img {
        max-width: 200px;
    }
    
    /* Normal mode - menu on 2 rows */
    .nav-menu {
        gap: 6px;
        margin-bottom: 0;
        max-width: 100%;
        justify-content: center;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 0.85em;
        flex: 0 0 auto;
        width: 100px;
        text-align: center;
    }
    
    /* Compact mode */
    .fixed-header.compact {
        padding: 0 10px;
        text-align: center;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
    }
    
    .fixed-header.compact .logo-container {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        align-self: stretch;
        padding: 5px 0;
    }
    
    .fixed-header.compact .logo-container img {
        width: auto;
        height: 100%;
        max-width: 80px;
        max-height: none;
        object-fit: contain;
        display: block;
    }
    
    .fixed-header.compact .nav-menu {
        margin-left: 0;
        gap: 4px;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        max-width: calc(100% - 58px);
        justify-content: center;
        padding: 5px 0;
    }
    
    .fixed-header.compact .nav-link {
        padding: 8px 8px;
        font-size: 0.65em;
        flex: 0 0 auto;
        width: 80px;
        text-align: center;
    }
    
    .container {
        padding: 40px 15px;
        margin-top: 280px;
        transition: margin-top 0.6s ease;
    }
    
    .container.compact-mode {
        margin-top: 160px;
    }

    .content {
        padding: 30px 20px;
    }

    .content h1 {
        font-size: 2.5em;
        letter-spacing: 2px;
    }

    .content p {
        font-size: 1em;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .logo-container img {
        max-width: 250px;
    }
    
    .nav-menu {
        gap: 6px;
        margin-bottom: 0;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 0.85em;
    }

    .video-container {
        padding: 20px;
    }
    
    .video-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    
    .video-slideshow-container {
        height: 300px;
    }
    
    .video-prev, .video-next {
        padding: 10px;
        font-size: 18px;
    }
    
    .gallery-container {
        padding: 20px;
    }
    
    .gallery-title {
        font-size: 2em;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }
    
    .dates-container {
        padding: 25px 15px;
    }
    
    .dates-title {
        font-size: 2em;
        margin-bottom: 25px;
    }
    
    .dates-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .date-item {
        padding: 20px;
    }
    
    .date-day {
        font-size: 2.5em;
        min-width: 50px;
    }
    
    .date-location {
        font-size: 1.1em;
    }
    
	.social_logo {
        width : 12%;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
}
