/*
* style.css
* Creative Design Studio - Bogotá, Colombia
* Design System: Creative
* Trend: Biomorphic Design
* Color Scheme: Split-Complementary
*/

/* ---------------------------------- */
/*          CSS Variables             */
/* ---------------------------------- */

:root {
    /* Color Palette (Split-Complementary: Yellow-Orange, Teal, Violet) */
    --primary-color: #FFB703;      /* Vibrant Colombian Yellow/Orange */
    --secondary-color: #023047;     /* Deep Blue */
    --accent-color-1: #219EBC;       /* Bright Teal/Blue */
    --accent-color-2: #8ECAE6;       /* Light Sky Blue */
    --accent-color-3: #FB8500;       /* Energetic Orange */

    /* Text Colors */
    --text-dark: #222222;
    --text-medium: #333333;
    --text-light: #555555;
    --text-on-dark: #FFFFFF;

    /* Background Colors */
    --bg-light: #FDFDFD;
    --bg-soft-gray: #f5f7fa;

    /* Fonts */
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    /* Spacing & Sizing */
    --header-height: 80px;
    --border-radius-soft: 15px;
    --border-radius-organic: 60% 40% 30% 70% / 60% 30% 70% 40%;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------- */
/*          Global Styles             */
/* ---------------------------------- */

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

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

/* ---------------------------------- */
/*        Typography & Headings       */
/* ---------------------------------- */

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
    font-family: var(--font-headings);
    color: var(--text-dark);
    font-weight: 700;
}

.title.is-1 { font-size: 3.5rem; }
.title.is-2 { font-size: 2.8rem; }
.title.is-3 { font-size: 2rem; }
.title.is-4 { font-size: 1.5rem; }

.section-title {
    margin-bottom: 2rem !important;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color-1);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-3);
}

/* ---------------------------------- */
/*          Layout & Sections         */
/* ---------------------------------- */

.section {
    padding: 5rem 1.5rem;
}

.section.is-medium {
    padding: 7rem 1.5rem;
}

.has-background-light {
    background-color: var(--bg-soft-gray);
}

/* Privacy/Terms page header spacing */
.page-header-section {
    padding-top: calc(var(--header-height) + 4rem);
    background: linear-gradient(135deg, var(--accent-color-2), var(--bg-soft-gray));
}

/* ---------------------------------- */
/*        Component: Header           */
/* ---------------------------------- */

.header.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
    height: var(--header-height);
}

.navbar {
    min-height: var(--header-height);
}

.navbar-item, .navbar-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-item.logo strong {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: var(--secondary-color);
}

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

/* Burger Menu */
.navbar-burger {
    color: var(--secondary-color);
    height: var(--header-height);
    width: var(--header-height);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(10,10,10,.1);
        padding-bottom: 1rem;
    }
}

/* ---------------------------------- */
/*        Component: Buttons          */
/* ---------------------------------- */

.button {
    font-family: var(--font-headings);
    font-weight: 600;
    border-radius: 50px;
    padding: 1.2em 2.5em;
    transition: all 0.3s ease-in-out;
    border-width: 2px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

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

.button.is-primary:hover {
    background-color: var(--accent-color-3);
    border-color: var(--accent-color-3);
    color: var(--text-on-dark);
}

.button.is-link.is-light {
    background-color: transparent;
    border: 2px solid var(--accent-color-1);
    color: var(--accent-color-1);
}

.button.is-link.is-light:hover {
    background-color: var(--accent-color-1);
    color: var(--text-on-dark);
}

/* ---------------------------------- */
/*        Component: Cards            */
/* ---------------------------------- */
.card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

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

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

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

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

.card .card-content .title {
    margin-bottom: 0.75rem;
}

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

.hero#home .hero-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero#home h1, .hero#home h2 {
    color: var(--text-on-dark);
}

.hero#home h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero#home h2 {
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
}

/* ---------------------------------- */
/*      Section: Portfolio Gallery    */
/* ---------------------------------- */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.image-gallery-item {
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.image-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ---------------------------------- */
/*      Section: Vision               */
/* ---------------------------------- */

.vision-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 8rem 1.5rem;
}

.vision-section .column {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-soft);
    padding: 3rem;
}

/* ---------------------------------- */
/*    Section: External Resources     */
/* ---------------------------------- */

#external-resources ul {
    list-style: none;
    margin-left: 0;
}

.resource-item {
    background: #fff;
    border-radius: var(--border-radius-soft);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(33, 158, 188, 0.2);
}

.resource-item a {
    text-decoration: none;
    display: block;
}

.resource-item .resource-title {
    font-family: var(--font-headings);
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.resource-item .resource-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ---------------------------------- */
/*          Section: Contact          */
/* ---------------------------------- */

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-details strong {
    color: var(--text-dark);
}

.map-container {
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

/* Form Styles */
.input, .textarea {
    border-radius: 8px;
    border: 1px solid #dbdbdb;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 1.2em 1em;
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(255, 183, 3, 0.25);
}

.label {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--text-dark);
}

/* ---------------------------------- */
/*        Component: Footer           */
/* ---------------------------------- */

.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 1.5rem;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

.footer .content p {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------------------------------- */
/*        Success Page Styles         */
/* ---------------------------------- */
body.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-color-1), var(--secondary-color));
}

.success-page .hero-body .title,
.success-page .hero-body .subtitle {
    color: var(--text-on-dark);
}

/* ---------------------------------- */
/*        Animations & Transitions    */
/* ---------------------------------- */

/* Example of a simple fade-in for scroll animations (to be triggered by JS) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}