@font-face { font-family: FatalFighter; src: url('../font/FatalFighter.otf'); } 
@font-face { font-family: Headline-One; src: url('../font/Headline-One.otf'); } 
@font-face { font-family: big_noodle_titling; src: url('../font/big_noodle_titling.otf'); } 
@font-face { font-family: Woodstamp; src: url('../font/Woodstamp.otf'); } 
@font-face { font-family: KenyanCoffeeStencilSb; src: url('../font/KenyanCoffeeStencilSb.otf'); } 

/* General Styles */
:root {
    --primary-color: #000; /* Black */
    --secondary-color: #fff; /* White */
    --accent-color: #F8BD01; /* Gold */
    --text-color: #111; /* Light grey text on dark backgrounds */
    --heading-color: var(--accent-color);
    --bg-dark: #111;
    --bg-light: #E3DCC0;
    --grey_blue: #8DA6AB99;
}

body {
    font-family: 'big_noodle_titling', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
    scroll-behavior: smooth; /* Enable smooth scrolling for nav links */
    background: url('../img/bg2.jpg') repeat center center
}

#reg_text{
    text-decoration: underline;
}

.otraluna{
    font-family: KenyanCoffeeStencilSb;
}
#logo007{
    height: 86px;
}

#logo{
    width:100px;
}

.bg{
    z-index: -1;
}
#disc1 {
    position: absolute;
    top: 50px;
    left: 65%; 
}
#blueRow1{
    position: absolute;
    background-color: var(--grey_blue);
    width:80%;
    height: 10%;
    top: 800px;
    left:20px;
    transform: skew(20deg);
}
#blueRow2{
    position: absolute;
    background-color: var(--grey_blue);
    width:80%;
    height: 10%;
    top: 2550px;
    right: 20px;
    transform: skew(-20deg);
}
#blueRow3{
    position: absolute;
    background-color: var(--grey_blue);
    width:70%;
    height: 10%;
    top: 6320px;
    left: 30px;
    transform: skew(-30deg);
}
#rocketplan{
    position: absolute;
    top: 950px;
    right: 10%;
    opacity: 0.25;
}
#column1{
    position: absolute;
    background-color: rgba(255, 0, 0, .33);
    width:23%;
    height: 2050px;
    top: 2250px;
    left: 12%;
    transform: skew(0,-10deg);
}
#column2{
    position: absolute;
    background-color: rgba(0, 0, 255, .25);
    width:10%;
    height: 2050px;
    top: 3450px;
    right: 22%;
    transform: skew(0,20deg);
}
#couple1{
    position: absolute;
    top: 450px;
    left: 1%;
    opacity: .5;
}
#couple2{
    position: absolute;
    top: 1650px;
    right: 1%;
    opacity: 0.5;
}
#couple3{
    position: absolute;
    top: 5650px;
    right: 1%;
    opacity: 0.5;
}
#milonguera1{
    position: absolute;
    top: 3850px;
    right: 5%;
    opacity: 0.5;
}
#milonguera2{
    position: absolute;
    top: 4850px;
    left: 5%;
    opacity: 0.5;
}
#bando1{
    position: absolute;
  top: 2250px;
  right: 5%;
  opacity: 0.5;
  width: 264px;
}

#column3{
    position: absolute;
    background-color: rgba(0, 100, 0, .25);
    width:20%;
    height: 1350px;
    top: 4750px;
    left: 2%;
}

h1 {
    font-family: 'Woodstamp', serif;
    font-size: 3.5em;
}

h1, h2, h3 {
    
    color: var(--heading-color);
    text-align: center;
    filter: drop-shadow(5px 5px 4px var(--bg-dark));
}

h2, h3{
    font-family: 'FatalFighter', serif;
}


h2 {
    font-size: 1.6em;
    margin: 0px;
    padding: 0px; 
}

h3 {
        font-size: 1.5em;
        margin-top: 0px;
        margin-bottom: 0px;
}

p {
    margin-bottom: 0px;
    text-align: center; /* Default center align paragraphs */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
header {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    filter: drop-shadow(1px 1px 4px var(--bg-dark));
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4em;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}
    nav ul li a:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }


/* Sections */
section {
    min-height: 100vh; /* Each section takes at least full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center;
    padding: 50px 0 50px; /* Padding top for header, bottom for content */
    position: relative; /* Needed for background-attachment: fixed */
    overflow: hidden; /* Hide overflow from animations */
}

section .container {
        position: relative; /* Ensure content is above background */
        z-index: 2;
        text-align: center;
}


/* Backgrounds & Parallax */
#hero {
    /*background: url('../img/bg1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; */
    color: var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
#hero h2{
    font-size: 4em;
}
    #hero::before { /* Dark overlay */
      /*  content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(100, 100, 100, 0.5);
        z-index: 1;*/
    }

#schedule {
    /*    background: url('../img/bg1.jpg') no-repeat center center; /* Replace with a subtle texture/pattern */
    background-size: cover;
    background-attachment: fixed;*/
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
    #schedule::before { /* Dark overlay */
        /*content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1;*/
    }

#djs-chef {
       /* background: url('../img/bg1.jpg') no-repeat center center; 
    background-size: cover;
    background-attachment: fixed;*/
    color: var(--text-color);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
    #djs-chef::before { /* Dark overlay */
        /*content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1;*/
    }

#venue {
      /*  background: url('../img/bg1.jpg') no-repeat center center; 
    background-size: cover;
    background-attachment: fixed;*/
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: 1.5rem;
}
    #venue::before { /* Dark overlay */
       /* content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1;*/
    }


#registration {
    /*background: url('../img/bg1.jpg') no-repeat center center; */
        color: var(--text-color);
}

#contact {
    /*background: url('../img/bg1.jpg') no-repeat center center; */
    color: var(--text-color);
    padding-bottom: 100px; /* More space at the very bottom */
}

    /* Section Specific Styles */
    #hero h1 {
        font-size: 4.5em;
        margin: 0;
        line-height: 0.1;
    }
   
    #hero p {
        font-size: 1.5em;
    }
    .cta-button {
        display: inline-block;
        background-color: var(--accent-color);
        color: var(--primary-color);
        padding: 15px 30px;
        font-size: 1.2em;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.2s ease;
        font-weight: bold;
    }
    .cta-button:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        transform: scale(1.05);
    }

#schedule ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    font-size: 1.8rem;
}
    #schedule li {
        background-color: rgba(150, 150, 150, 0.5);
        margin-bottom: 10px;
        padding: 15px;
        border-left: 5px solid var(--accent-color);
        text-align: left;
        transition: transform 0.3s ease;
    }
    #schedule li:hover {
        transform: translateX(10px);
    }
    #schedule li strong {
        color: var(--accent-color);
        display: inline-block;
        min-width: 120px; /* Align time/event */
    }


.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.team-member {
    text-align: center;
    max-width: 250px;
}
    .team-member img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--accent-color);
        margin-bottom: 15px;
    }
    .team-member h4 {
        margin: 0 0 5px 0;
        color: var(--text-color);
        font-size: 1.3em;
    }
    h4 .flag-emoji {
        font-size: 0.8em; /* Make emoji slightly smaller */
    }
    .team-member p {
        font-size: 0.9em;
        font-style: italic;
        color: var(--text-color);
    }

    #venue .map-container {
        position: relative;
        overflow: hidden;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
        max-width: 800px;
        width: 100%;
        margin: 20px auto;
        border: 5px solid var(--accent-color);
    }
    #venue .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    #venue p {
        margin-top: 20px;
        font-size: 1.1em;
    }

    .registration-form {
        background-color: rgba(255, 255, 255, 0.5);
        padding: 40px;
        border-radius: 8px;
        max-width: 600px;
        margin: 20px auto;
        border: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    #registration .registration-form button {
        background-color: var(--accent-color);
        color: var(--primary-color);
        padding: 15px 30px;
        font-size: 1.1em;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        width: 100%;
        font-weight: bold;
    }
    #registration .registration-form button:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }
    #registration a {
        color: var(--primary-color);        
        
    }


    #contact p {
        font-size: 1.1em;
        margin: 0px;
    }
    #contact a {
        color: var(--primary-color);        
        
    }
    #contact a:hover {
        color: #666;
        text-decoration: underline;
        transition: color 0.3s ease;
        filter: drop-shadow(2px 2px 2px var(--bg-light));
    }

    footer a {
        color: var(--primary-color);
        
        
    }
    footer a:hover {
        color: #666;
         text-decoration: underline;
         transition: color 0.3s ease;
        filter: drop-shadow(2px 2px 2px var(--bg-light));
    }

/* Scroll Animation Styles */
/* Elements that will animate in */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px); /* Start slightly below final position */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* Optimize for animation */
}

.scroll-animate.is-visible.sub {
  margin-left: 2rem;
}

/* Class added by JS when element is visible */
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

    /* Staggered effect for elements within a container (optional) */
    .scroll-animate-stagger > .scroll-animate {
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .scroll-animate-stagger > .scroll-animate:nth-child(odd) {
    /* transform: translateX(-40px); /* Animate odd elements from left - Removed for vertical consistency on mobile */
    }
    .scroll-animate-stagger > .scroll-animate:nth-child(even) {
    /* transform: translateX(40px); /* Animate even elements from right - Removed for vertical consistency on mobile */
    }
    .scroll-animate-stagger > .scroll-animate.is-visible:nth-child(odd),
    .scroll-animate-stagger > .scroll-animate.is-visible:nth-child(even) {
        transform: translateX(0); /* Move to final position */
    }


    /* Footer */
footer {
    background-color: var(--bg-light);
    color: var(--text-color);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body{
        line-height: unset;
    }
    h1 {
        font-size: 1.1em;
    }
    h2 {
        font-size: 1.2em;
    }
    h3 {
        font-size: 0.8em;
    }
    
    header .container{
        flex-direction: column;
        align-items: baseline;
        padding: 0 10px;
    }
    header .logo{
        font-size: 0.8em;
    }
    #logo007{
        height: 31px;
    }
    #guy{
        top:350px;
    }
    #girl{
        top:4050px;
    }
    #hero h1 {
        font-size: 1.6em;
    }
    #logo{
        width:31px;
    }
    #hero h2 {
        font-size: 1.0em;
    }
    nav ul {
        /*flex-direction: column;*/
        text-align: center;
        margin-top: 10px;
    }
    #schedule li strong{
        min-width: 80px;
    }
    #schedule li{
        padding: 3px;
        margin-bottom: 5px;
    }
    nav ul li {
        margin: 5px 5px;
        line-height: 1rem;
    }
    nav ul li a{
        font-size: .7em;
        padding: 0px 0px 0px 0px;
    }
    .scroll-animate.is-visible.sub {
        margin-left: 1rem;
    }
    footer, #contact, #venue p, #registration, #schedule ul, #hero p, #hero a{
        font-size: .7em;
    }
    #registration .registration-form{
        padding:10px;
    }
    
    section {
        padding-top: 120px; /* Adjust section padding for fixed header */
        min-height: auto; /* Allow sections to be shorter than viewport on small screens */
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-member {
        margin-bottom: 30px;
    }
    .team-member:last-child {
        margin-bottom: 0;
    }
    /* Simplified staggering for vertical layout */
    .scroll-animate-stagger > .scroll-animate {
        transform: translateY(40px); /* Animate all from bottom */
    }
    .scroll-animate-stagger > .scroll-animate.is-visible {
        transform: translateY(0); /* Move to final position */
    }
}