/* style.css */

/*------------------------------------------------------------------
[Table of Contents]

1. :root Variables
2. Global Styles & Typography
3. Utility Classes
4. Header / Navigation
5. Hero Section
6. Section Styles
7. Card Components
8. Timeline Component
9. Gallery & Press
10. Forms & Buttons
11. Footer
12. Static Pages (About, Privacy, etc.)
13. Success Page
14. Media Queries (Responsiveness)
-------------------------------------------------------------------*/

/* 1. :root Variables */
:root {
    /* Tetradic Color Scheme */
    --primary-color: #00f5d4;   /* Bright Teal/Green */
    --secondary-color: #ff007f; /* Vibrant Magenta */
    --accent-color-1: #3c096c;  /* Deep Violet */
    --accent-color-2: #f9c74f;  /* Bright Yellow */

    /* Neutral & Text Colors */
    --background-dark: #121212;
    --background-light: #f0f2f5;
    --card-dark-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #222222;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-light: #dddddd;

    /* Fonts */
    --font-headings: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: all 0.3s ease-in-out;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 245, 212, 0.3);
}

/* 2. Global Styles & Typography */
html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-light);
}

.title, .subtitle {
    font-family: var(--font-headings);
}

.title.has-text-white, .subtitle.has-text-white {
    color: var(--text-light) !important;
}

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

a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    display: inline-block;
}

.has-background-light {
    background-color: var(--background-light) !important;
}

.has-background-light .title, .has-background-light .subtitle, .has-background-light p, .has-background-light .label {
    color: var(--text-dark) !important;
}

/* 3. Utility Classes */
.section-title {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.section-title-dark {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 2rem !important;
}

/* 4. Header / Navigation */
.header.is-fixed-top .navbar {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-item.logo-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-item {
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.navbar-burger {
    color: var(--text-light);
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 5. Hero Section */
.hero {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

.hero .subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
}

/* 6. Section Styles */
.section {
    padding: 4rem 1.5rem;
}

/* 7. Card Components */
.card {
    background-color: var(--card-dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
}

.has-background-light .card {
    background-color: #fff;
    border: 1px solid var(--border-color-light);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card .card-image {
    width: 100%;
    margin: 0 auto;
}

.card .card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.card .card-content {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.card .card-content .title,
.card .card-content .subtitle {
    color: var(--text-light);
}

.has-background-light .card .card-content .title,
.has-background-light .card .card-content .subtitle {
    color: var(--text-dark);
}

.card .card-content .content {
    color: var(--text-muted);
}

.has-background-light .card .card-content .content {
    color: #555;
}

/* Horizontal Card for Reviews */
.futuristic-card-horizontal {
    display: flex;
    flex-direction: row;
    background-color: var(--card-dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.futuristic-card-horizontal:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.futuristic-card-horizontal .card-image {
    flex: 0 0 40%;
}

.futuristic-card-horizontal .card-image img {
    object-fit: cover;
    height: 100%;
    border-radius: 12px 0 0 12px;
}

.futuristic-card-horizontal .card-content {
    padding: 2rem;
}

/* 8. Timeline Component */
.timeline .timeline-item .timeline-marker {
    background-color: var(--accent-color-1);
}

.timeline .timeline-item .timeline-content {
    background-color: var(--card-dark-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.timeline .timeline-item .timeline-content p, 
.timeline .timeline-item .timeline-content .heading {
    color: var(--text-muted);
}

.timeline .timeline-header .tag {
    background-color: var(--primary-color);
    color: var(--background-dark);
    font-weight: 700;
}

/* 9. Gallery & Press */
#gallery .image img {
    border-radius: 8px;
    transition: var(--transition-fast);
    filter: saturate(0.8);
}

#gallery .image:hover img {
    transform: scale(1.05);
    filter: saturate(1.2);
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.press-logo {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.resource-list ul {
    list-style: none;
    margin-left: 0;
}

.resource-list li {
    background: #fff;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.resource-list li:hover {
    transform: translateX(5px);
}

.resource-list a {
    font-weight: 500;
    color: var(--text-dark);
}

/* 10. Forms & Buttons */
.button.futuristic-button, button.futuristic-button {
    background-color: var(--primary-color);
    color: var(--background-dark);
    border: 2px solid var(--primary-color);
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: var(--transition-fast), transform 0.15s ease;
    box-shadow: var(--shadow-glow);
}

.button.futuristic-button:hover, button.futuristic-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 245, 212, 0.5);
}

.button.is-outlined.is-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition-fast);
}
.button.is-outlined.is-primary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.contact-form .input, .contact-form .textarea {
    background-color: #fff;
    border: 2px solid var(--border-color-light);
    border-radius: 8px;
    color: var(--text-dark);
    padding: 1rem;
    transition: var(--transition-fast);
}

.contact-form .input::placeholder, .contact-form .textarea::placeholder {
    color: #999;
}

.contact-form .input:focus, .contact-form .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
    outline: none;
}

/* 11. Footer */
.footer {
    padding: 3rem 1.5rem 2rem;
    color: var(--text-muted);
}

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

.footer a {
    color: var(--text-muted);
    font-weight: 400;
}

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

.footer ul {
    list-style: none;
    margin: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

/* 12. Static Pages (About, Privacy, etc.) */
.static-page-content {
    padding-top: 100px;
    padding-bottom: 4rem;
}

.static-page-content .container {
    max-width: 800px;
}

.static-page-content h1, .static-page-content h2, .static-page-content h3 {
    margin-bottom: 1.5rem;
}

/* 13. Success Page */
body.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.success-container {
    background-color: var(--card-dark-bg);
    padding: 3rem 4rem;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.success-container .title {
    color: var(--primary-color);
}

/* 14. Media Queries (Responsiveness) */

/* Tablet */
@media screen and (max-width: 1023px) {
    .futuristic-card-horizontal {
        flex-direction: column;
    }
    
    .futuristic-card-horizontal .card-image {
        flex: 0 0 auto;
    }

    .futuristic-card-horizontal .card-image img {
        border-radius: 12px 12px 0 0;
    }
    .press-logos {
        gap: 2rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .section {
        padding: 3rem 1rem;
    }
    .navbar-menu {
        background-color: #1a1a1a;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
    .navbar-item {
        padding: 1rem;
    }
    .footer .columns {
        text-align: center;
    }
    .footer .column {
        margin-bottom: 2rem;
    }
}