/* style.css */

/* ---------------------------------- */
/*          CSS Variables             */
/* ---------------------------------- */
:root {
    /* Tetradic Color Scheme */
    --primary-color: #0d82d4;       /* Futuristic Blue */
    --secondary-color: #d43b0d;     /* Contrasting Orange */
    --accent-color-1: #0dd45b;      /* Vibrant Green */
    --accent-color-2: #d40d82;      /* Vivid Magenta */

    /* Neutral & Background Colors */
    --dark-bg: #0a0c10;
    --section-dark-bg: #111318;
    --card-dark-bg: rgba(30, 35, 45, 0.7);
    --light-bg: #f5f7fa;
    --card-light-bg: #ffffff;
    
    /* Text Colors */
    --light-text: #e0e5f0;
    --dark-text: #363636;
    --primary-text-on-dark: var(--primary-color);
    --subtitle-text-dark: #a0a5b0;
    
    /* Fonts */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;

    /* UI Elements */
    --border-radius: 8px;
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
}

/* ---------------------------------- */
/*          Global Styles             */
/* ---------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--light-bg);
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.7;
}

#page-wrapper {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* ---------------------------------- */
/*        Typography & Headings       */
/* ---------------------------------- */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-headings);
}

.title {
    color: var(--dark-text);
}

.subtitle {
    color: #555;
    font-family: var(--font-body);
}

.section-title {
    margin-bottom: 3rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-title-light {
    color: var(--light-text);
    margin-bottom: 3rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ---------------------------------- */
/*        Header & Navigation         */
/* ---------------------------------- */
.navbar.is-dark {
    background-color: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-item {
    font-family: var(--font-body);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-item:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

/* ---------------------------------- */
/*           Hero Section             */
/* ---------------------------------- */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax Effect */
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
}

.hero-subtitle {
    font-weight: 400;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------- */
/*        General Section Styling     */
/* ---------------------------------- */
.section {
    padding: 6rem 1.5rem;
}

.section-dark {
    background-color: var(--section-dark-bg);
    color: var(--light-text);
}

.section-dark .content p, .section-dark .subtitle {
    color: var(--subtitle-text-dark);
}

/* ---------------------------------- */
/*       Buttons & Interactive        */
/* ---------------------------------- */
.button.futuristic-button {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--border-radius);
    padding: 1.5rem 2.5rem;
    transition: all var(--transition-speed) ease;
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
}

.button.is-primary.futuristic-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color-2));
    box-shadow: 0 4px 15px rgba(13, 130, 212, 0.4);
}

.button.futuristic-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(13, 130, 212, 0.6);
}

.button.is-link.is-outlined {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.button.is-link.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

section.section-dark .button.is-link.is-outlined {
    border-color: var(--light-text);
    color: var(--light-text);
}

section.section-dark .button.is-link.is-outlined:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
}


/* ---------------------------------- */
/*        Card Component Styles       */
/* ---------------------------------- */
.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    transform-style: preserve-3d;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card .card-image .image {
    height: 250px; /* Fixed height for image container */
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
}

.card .card-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card .card-content .content {
    text-align: left;
}


/* Dark Theme Cards */
.futuristic-card-dark {
    background-color: var(--card-dark-bg);
    border: var(--card-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--light-text);
}

.card-title-light {
    color: var(--light-text) !important;
}

/* ---------------------------------- */
/*          Form Styling              */
/* ---------------------------------- */
.futuristic-label {
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.section-dark .futuristic-label {
    color: var(--subtitle-text-dark);
}

.futuristic-input, .futuristic-input:focus {
    background-color: #f0f2f5;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: all var(--transition-speed) ease;
    padding: 1.2rem;
}

.futuristic-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 130, 212, 0.25);
}

/* ---------------------------------- */
/*      Component-Specific Styles     */
/* ---------------------------------- */

/* Testimonials */
.testimonial-box {
    background-color: var(--card-light-bg);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
    padding: 2rem;
}

.testimonial-box img.is-rounded {
    border: 3px solid var(--primary-color);
}

/* Webinars / Tabs */
.tabs.is-boxed li.is-active a {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.tabs.is-boxed a {
    transition: all var(--transition-speed) ease;
}

/* Press Logos */
#press img {
    transition: all var(--transition-speed) ease;
}

#press img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* ---------------------------------- */
/*           Footer Styling           */
/* ---------------------------------- */
.footer {
    padding: 4rem 1.5rem 4rem;
    background-color: var(--dark-bg);
}

.footer-title {
    color: var(--light-text);
}

.footer p, .footer a {
    color: var(--subtitle-text-dark);
    transition: color var(--transition-speed) ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer .content p {
    color: #777;
}

/* ---------------------------------- */
/*       Page-Specific Styles         */
/* ---------------------------------- */

/* Legal Pages (Privacy, Terms) */
.legal-page-content {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Success Page */
body.success-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, var(--dark-bg), #1a1d24);
    color: var(--light-text);
}
.success-container h1 {
    color: var(--light-text);
}

/* ---------------------------------- */
/*        Responsive Design           */
/* ---------------------------------- */
@media screen and (max-width: 768px) {
    .section {
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .button.futuristic-button {
        padding: 1.2rem 2rem;
    }

    .footer {
        text-align: center;
    }
    
    .legal-page-content {
        padding-top: 80px;
    }
}