:root {
    --background: #FFFFFF;
    --text: #FFF;
    --headings: #FF4081;
    --muted: #F2F2F2;
    --primary: #FF4081;
    --secondary: #1D3557;
    --thirdary: #ff8bb1;
}

.theme-primary {
    --background: rgba(255, 255, 255, 0.7);
    --headings: #FF4081;
    --text: #2E4053;
    --muted: #F2F2F2;
}

.theme-dark {
    --background: #1C1C1C;
    --headings: #FF4081;
    --text: #F1F1F1;
    --muted: #444444;
}

.theme-light {
    --background: #FFFFFF;
    --headings: #FF4081;
    --text: #2E4053;
    --muted: #F2F2F2;
}

.theme-footer {
    --background: #FF4081;
    --contact-icons-color: #FFFFFF;
    --contact-text-color: #FFFFFF;
    --contact-circles-color: #ff8bb1;
    --text: #FFFFFF;
    --headings: #FFFFFF;
}

.navbar {
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #ecc3d1ff;
}

.section-hero {
    background: #ffd1e1ff;
}

.section-presentation ::before{
    display: block;
    content: '';

    position: absolute;
    top: calc(5px - var(--divider-height));
    left: 0;
    width: 100%;
    height: var(--divider-height);
    clip-path: polygon(0% 80%, 0 100%, 100% 100%, 100% 80%, 100% 0%);
    background: #1D3557;
    pointer-events: none;
}
.section-presentation {
    background: #1D3557;
}

.circle-container {
    width: 250px;
    height: 250px;
    background-color: #FF4081;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2em;
    opacity: 1;
    animation: rotatePhilip .8s ease-out forwards;
}

.flamingo-img {
    width: 70%;
    height: auto;
}

.hero-contents {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4em 2em;
    font-weight: bold;
    color: #333333;
    gap: 1.5em;
}

.hero-wordmark {
    font-size: 2.2em;
    font-weight: bold;
    color: #FF4081;
    display: inline-flex;
    align-items: center;
    opacity: 0;
    animation: fadeInText .5s .5s forwards;
    padding: 1em 2em;
    border-radius: 8px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    gap: 0.3em;
}

.hero-wordmark span {
    color: #1D3557;
    display: inline;
}

.philip-logo {
    width: 150px;
    height: auto;
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes rotatePhilip {
    0% {
        transform: rotateY(0deg);
        opacity: 0;
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
        opacity: 1;
    }
}

.hero-registration {
    display: inline-block;
    position: relative;
}

.hero-registration-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 40px;
    font-size: 1.2em;
    border-radius: 6px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background-color: var(--primary);
    min-width: 450px;
}

.hero-registration-button-1 {
    min-width: 350px;
}


.hero-registration-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.hero-registration-button-2:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 2em;
    width: 100%;
}

.hero-registration-button {
    display: flex;
    font-size: 1.2em;
    border-radius: 6px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    min-width: 450px;
    position: relative;
}

.hero-registration-button-1 {
    min-width: 350px;
    background-color: #1D3557;
}

.hero-registration-button-2 {
    min-width: 200px;
    background-color: #FF4081;
}

.hero-registration-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    transition: transform 0.4s ease, opacity 0.6s ease;
    position: absolute;
    left: 40px;
    opacity: 0;
}

.hero-registration-button:hover .hero-icon {
    transform: translateX(6px);
    opacity: 1;
    stroke: #fff;
}

.hero-registration-button-2 p {
    margin: 0;
    transition: transform 0.4s ease;
}

.hero-registration-button:hover p,
.hero-registration-button-2:hover p {
    transform: translateX(8px);
}

.hero-registration-button svg,
.hero-registration-button-2 svg {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-registration-button:hover svg,
.hero-registration-button-2:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.hero-registration-button:hover {
    background-color: #FF4081;
    transform: translateY(-2px);
}

.hero-registration-button svg {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-registration-button:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.button-drive, .button-register {
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-registration-button:hover .button-drive, .hero-registration-button:hover .button-register {
    transform: translateX(8px);
}

.hero-registration-button svg.hidden + .button-drive, .hero-registration-button svg.hidden + .button-register {
    transform: translateX(-12px);
}

.hero-registration-button-closed:hover p{
    transform: translateX(0) !important;
    transition: none;
}

.warning-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #FFC105;
    background-color: #FFF8E1;
    border-radius: 5px;
    width: 140%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.warning-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.warning-text {
    font-size: 1.6rem;
    font-weight: normal;
    color: #333;
    line-height: 1.5;
    flex-grow: 1;
}

.warning-text a {
    color: #0073e6;
    text-decoration: none;
}

.warning-text a:hover {
    text-decoration: underline;
}

.presentation-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    color: #000000;
    grid-row: span 2;
    background-image: url(../icons/leaves.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.presentation-feature-icon svg {
    width: 2.4rem;
    height: 2.4rem;
}

.hero-bullet {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: .5em;
}

.date-text {
    line-height: 1.4;
    text-align: left;
}

.partner-andros {
    width: 10rem;
}

.partner-redbull {
    width: 10rem;
}

/* --- SCHEDULE TABLE STYLES --- */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    margin-top: 20px;
}

.schedule-table {
    border-collapse: separate;
    border-spacing: 10px;
    width: 100%;
    min-width: 800px;
}

/* Headers */
.schedule-table th {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    vertical-align: bottom;
    border-bottom: 3px solid var(--primary);
}

.corner-cell {
    width: 40px;
    border-bottom: none !important;
}

/* Sidebar Categories */
.category-cell {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    width: 140px;
    vertical-align: middle;
    text-align: right;
    padding-right: 20px;
    font-size: 1rem;
    border-right: 2px solid var(--thirdary);
}

/* Data Cards */
.card-cell {
    background-color: rgba(0, 0, 0, 0.25);
    color: #fff;
    border-radius: 8px;
    padding: 15px;
    vertical-align: top;
    height: 80px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
    min-width: 130px;
    border: 1px solid var(--primary);
}


/* Empty Slots */
.empty-cell {
    background-color: transparent;
    border: 2px dashed var(--thirdary);
    opacity: 0.3;
    border-radius: 8px;
}

/* Text Styles inside Cards */
.subject {
    display: block;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3;
}

.sub-detail {
    display: block;
    font-size: 1rem;
    margin-top: 4px;
    color: var(--thirdary);
    font-style: italic;
}

/* --- MOBILE LANDSCAPE OPTIMIZATIONS --- */
@media screen and (max-width: 950px) and (orientation: landscape) {
    
    .table-responsive {
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .schedule-table {
        min-width: 600px; 
        border-spacing: 6px; 
    }

    .category-cell {
        width: 100px; 
        font-size: 0.8rem;
        padding-right: 10px;
        line-height: 1.2;
    }

    .schedule-table th {
        font-size: 0.8rem;
        padding-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .card-cell {
        height: auto; 
        min-height: 60px;
        padding: 8px 10px; 
        min-width: 110px; 
    }

    .subject {
        font-size: 0.95rem; 
        margin-bottom: 2px;
    }

    .sub-detail {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .empty-cell {
        border-width: 1px;
    }
    
    .container-wide {
        padding: 0 60px;
        max-width: 100%;
    }
}