/*
  Tasmania Untouched - style.css
  Theme: Futuristic & Wild Nature
  Design System: Futuristic, Dynamic Color Transitions, Non-linear Movements
  Color Scheme: Neutral
*/

/* -------------------------------------------------- */
/*                      VARIABLES                     */
/* -------------------------------------------------- */
:root {
    /* Colors */
    --color-background: #0D0F12; /* Deep space black */
    --color-surface: #1A1C20; /* Darker surface for cards */
    --color-primary: #00F5D4; /* Vibrant, futuristic teal */
    --color-secondary: #9B5DE5; /* Accent purple */
    --color-text: #CED4DA; /* Light grey for body text */
    --color-heading: #FFFFFF; /* Pure white for headings */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-gradient-dynamic: linear-gradient(135deg, #16191e 0%, #0D0F12 100%);
    --color-gradient-accent: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);

    /* Fonts */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Sizing & Spacing */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition-speed: 0.4s;
    --transition-easing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* -------------------------------------------------- */
/*                  GLOBAL & BASE STYLES                */
/* -------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* For pages that need extra top padding to not conflict with fixed header */
.page-content {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
}

/* success.html centering */
.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}

a:hover {
    color: var(--color-heading);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------- */
/*                LAYOUT & UTILITIES                  */
/* -------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-gradient-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    color: #adb5bd;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.column {
    flex: 1 1 300px;
}

.column.is-two-thirds {
    flex-grow: 2;
}

.dynamic-gradient-bg {
    background: var(--color-gradient-dynamic);
}

/* Barba.js Page Transitions */
.barba-leave-active,
.barba-enter-active {
    transition: opacity 0.5s ease-in-out;
}
.barba-leave-to,
.barba-enter-from {
    opacity: 0;
}


/* -------------------------------------------------- */
/*                  GLOBAL COMPONENTS                 */
/* -------------------------------------------------- */

/* --- Buttons --- */
.futuristic-button, .futuristic-button-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-easing);
    z-index: 1;
}

.futuristic-button {
    background: var(--color-gradient-accent);
    color: var(--color-background);
}

.futuristic-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-easing);
    z-index: -1;
}

.futuristic-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 212, 0.2);
    color: var(--color-background);
}
.futuristic-button:hover::before {
    opacity: 1;
}

.futuristic-button-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.futuristic-button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-3px);
}

/* --- Cards --- */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary);
}

.card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) var(--transition-easing);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card .card-content {
    padding: 2rem;
    width: 100%;
}

.card .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}


/* -------------------------------------------------- */
/*                  SECTION STYLES                    */
/* -------------------------------------------------- */

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 2rem;
    background: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-speed) ease;
}

.site-header.scrolled {
    background: rgba(13, 15, 18, 0.95);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-heading);
}

.logo span {
    color: var(--color-primary);
}

.nav-links a {
    color: var(--color-text);
    margin: 0 1.2rem;
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-speed) var(--transition-easing);
}

.nav-links a:hover {
    color: var(--color-heading);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.burger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}
.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color-heading);
    transition: all 0.3s ease;
}


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}


/* --- Vision Section --- */
.vision-section .columns {
    align-items: center;
}
.vision-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--color-border);
}


/* --- Statistics Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-widget {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-primary);
}
.stat-label {
    font-size: 1.1rem;
    color: var(--color-text);
}


/* --- Methodology (Accordion) --- */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}
.accordion-header {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-icon {
    font-size: 2rem;
    color: var(--color-primary);
    transition: transform var(--transition-speed) var(--transition-easing);
}
.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.accordion-content p {
    padding: 0 1.5rem 1.5rem;
}


/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.gallery-grid img {
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) var(--transition-easing);
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}


/* --- Innovation (Toggle Switch) --- */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
#techLabel {
    margin-left: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { display: none; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--color-surface);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--color-border);
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: var(--color-primary); }
input:checked + .slider:before { transform: translateX(26px); }
.tech-panel { display: none; text-align: center; }
.tech-panel.active { display: block; }


/* --- Media Section --- */
.media-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.media-logos span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #6c757d;
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}
.media-logos span:hover {
    opacity: 1;
    color: var(--color-heading);
}

/* --- Events Section --- */
.event-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.event-date {
    flex-shrink: 0;
    text-align: center;
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--border-radius);
    width: 80px;
}
.event-date span:first-child {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}
.event-date span:last-child {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-heading);
}
.event-details h3 {
    margin-bottom: 0.5rem;
}
.event-item a {
    margin-left: auto;
    white-space: nowrap;
}


/* --- Pricing Section --- */
.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.2);
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 1.5rem 0;
}
.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.pricing-card ul li:last-child {
    border-bottom: none;
}


/* --- Resources Section --- */
.resource-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.resource-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--color-text);
}
.resource-link:hover {
    background: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}


/* --- Contact Section --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-heading);
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-speed) ease;
}
.contact-form label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--color-text);
    pointer-events: none;
    transition: all var(--transition-speed) ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-bottom-color: var(--color-primary);
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--color-primary);
}
.contact-form button {
    width: 100%;
}


/* --- Footer --- */
.site-footer {
    background: var(--color-surface);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--color-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-heading);
}
.footer-column p {
    color: #adb5bd;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li a {
    display: block;
    padding: 0.3rem 0;
    color: var(--color-text);
}
.footer-column .social-links a {
    display: block;
    padding: 0.3rem 0;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    color: #6c757d;
}


/* -------------------------------------------------- */
/*                  RESPONSIVE DESIGN                 */
/* -------------------------------------------------- */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        display: flex;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.5rem;
    }

    .burger-menu {
        display: block;
        z-index: 1001;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .event-item a {
        margin-left: 0;
        margin-top: 1rem;
    }
}