/*
* File: style.css
* Description: Custom styles for the Izmir Investment Consultant Website.
* Design System: Glassmorphism, Block Interface
* Color Scheme: Pastel
* Animation: Particle Animation, AOS, Animate.css
*/

/* ---------------------------------- */
/*      1. CSS Variables & Root       */
/* ---------------------------------- */
:root {
    /* Color Palette (Pastel & Professional) */
    --primary-color: #48C774; /* A vibrant yet soft green */
    --primary-color-dark: #3aa863;
    --accent-color: #4A90E2;  /* A calming blue */
    --background-color: #F7F9FB; /* Light, airy background */
    --light-bg-color: #FFFFFF;
    --text-color: #363636; /* Dark grey for readability (Bulma default) */
    --text-color-light: #555;
    --headings-color: #1A2E44; /* Deep blue for strong headers */
    --white-color: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #1A2E44;
    --footer-text: #E0E6F0;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-blur: 10px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* Typography */
    --font-family-headings: 'Inter', sans-serif;
    --font-family-body: 'IBM Plex Sans', sans-serif;

    /* Spacing & Sizing */
    --navbar-height: 5rem;
}

/* ---------------------------------- */
/*        2. Base & Body Setup        */
/* ---------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

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

.main-container {
    position: relative;
    z-index: 2;
    background-color: transparent; /* Allows particle background to be visible */
}

/* Particle.js Background Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--background-color);
}

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

.title {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem !important;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ---------------------------------- */
/*      4. Global Components          */
/* ---------------------------------- */
/* --- Global Button Styles --- */
.button, button, input[type='submit'] {
    font-family: var(--font-family-headings);
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.button:hover, button:hover, input[type='submit']:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.button.is-primary {
    background-color: var(--primary-color);
    border-color: transparent;
}

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

.button.is-primary.is-light {
    background-color: #eaf8f0;
    color: var(--primary-color-dark);
}

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


/* --- Global Card Styles --- */
.card {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05), 0 3px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
    background-color: var(--light-bg-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08), 0 5px 10px rgba(0,0,0,0.1);
}

.card .card-image, .card .image-container {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.card .card-image img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-content {
    text-align: center;
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content .button {
    margin-top: auto;
}

/* ---------------------------------- */
/*       5. Section Styling           */
/* ---------------------------------- */
.section {
    padding: 4rem 1.5rem;
}

/* --- Header & Navbar --- */
.header.is-fixed-top .navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    border-bottom: var(--glass-border);
}

.navbar .navbar-item, .navbar .navbar-link {
    font-family: var(--font-family-headings);
    font-weight: 500;
    color: var(--headings-color);
    transition: color 0.3s;
}

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

.logo {
    font-weight: 900 !important;
    font-size: 1.5rem;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
        border-radius: 0 0 10px 10px;
    }
}


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

#hero .hero-title, #hero .hero-subtitle {
    color: var(--white-color); /* STRICT REQUIREMENT */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-weight: 900;
}


/* --- Methodology Section --- */
#methodology .progress {
    height: 12px;
    border-radius: 6px;
}
#methodology .progress-indicators label {
    display: block;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* --- Workshops & Carousel Section --- */
.content-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto; /* A simple carousel for now, can be enhanced by JS */
    padding: 1rem 0;
}

.content-carousel .card {
    min-width: 320px;
    flex-shrink: 0;
}

.glassmorphism-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.glassmorphism-card .title, .glassmorphism-card p {
    color: var(--headings-color);
}

/* --- Clientele Section --- */
.testimonial-card {
    background-color: var(--light-bg-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    height: 100%;
}
.testimonial-card p.is-italic {
    color: var(--text-color-light);
}

/* --- Pricing Section --- */
.pricing-card {
    text-align: center;
}
.pricing-card.is-featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}
.pricing-card ul {
    list-style: none;
    margin: 1.5rem auto;
    text-align: left;
    max-width: 250px;
}
.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* --- Resources Section --- */
.resource-card {
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
}
.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.resource-card a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
}
.resource-card a:hover {
    text-decoration: underline;
}

/* --- Contact Form Section --- */
.form-container {
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.form-container .label {
    color: var(--headings-color);
    font-weight: 500;
}
.form-container .input, .form-container .textarea {
    border-radius: 8px;
    border-color: rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-container .input:focus, .form-container .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(72, 199, 116, 0.25);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

/* --- Footer --- */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1.5rem 2rem;
}
.footer .title {
    color: var(--white-color);
}
.footer p, .footer li {
    color: var(--footer-text);
}
.footer a {
    color: var(--footer-text);
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--primary-color);
}
.footer .content p {
    color: var(--footer-text);
}

/* ---------------------------------- */
/*       6. Page Specific Styles      */
/* ---------------------------------- */
/* --- Privacy, Terms Pages --- */
.static-page-content {
    padding-top: calc(var(--navbar-height) + 2rem);
    padding-bottom: 4rem;
    min-height: calc(100vh - var(--navbar-height));
}
.static-page-content .content h1,
.static-page-content .content h2,
.static-page-content .content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* --- Success Page --- */
.success-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background-color);
}

.success-box {
    padding: 3rem;
    border-radius: 16px;
    background: var(--light-bg-color);
    box-shadow: var(--glass-shadow);
    max-width: 600px;
}
.success-box .title {
    color: var(--primary-color);
}


/* ---------------------------------- */
/*         7. Responsiveness          */
/* ---------------------------------- */
@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        margin-bottom: 2rem !important;
    }

    .columns.is-vcentered.is-multiline .column.is-half {
        text-align: center;
    }

    .content-carousel {
        /* On mobile, allow normal block flow instead of horizontal scroll */
        flex-direction: column;
        gap: 1.5rem;
    }

    .content-carousel .card {
        min-width: 100%;
    }
}