/*
Theme Name: Luracan MKT Theme
Theme URI: https://github.com/luisenramos/luracan-theme
Description: A premium, highly responsive custom WordPress theme implementing the Spanish Editorial "Organic Premium" design system. Features deep forest layouts, warm cream sections, botanical accents, integrated high-fidelity projects, and robust contact form mailers.
Version: 1.1.0
Author: Antigravity
Author URI: https://deepmind.google/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luracan-theme
*/

/* Reset & Base Setup */
body {
    background-color: #07100C;
    color: #e5e2dc;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #07100C;
}
::-webkit-scrollbar-thumb {
    background: #4C5F36;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8A9B58;
}

/* Vortex Texture Layer */
.vortex-texture {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAf5F7EjFwvd2CHM3KFT47FDfSb3t3GpWYQYp1KtJnOvMciNK977j0j8pvW1iDZw4pMHkrteHRgdYDHQuSKOw0aFIvQFBS8sa690B3mcQwiq3zKg0xkPFkGiJFr0r7Qzl-ZaEIJiLbm1M3qgQ35tu5CEJpWH4qJB01xP6OnHSNat4Q7bhOizJLbDmNND13OcpK8Y4T3WHiySz5nn0CqtDJpz3jk_8CuJa8BVIHx_ggIHNEOuiWnU1dYe-XYgwaYVRoA4eCtSRJXpjEz');
    background-size: cover;
    background-position: center;
    mix-blend-mode: overlay;
    opacity: 0.15;
    filter: blur(4px);
    pointer-events: none;
}

/* Scroll Narrative line */
.narrative-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(138, 155, 88, 0.4) 10%, rgba(138, 155, 88, 0.4) 90%, transparent);
    transform: translateX(-50%);
    z-index: 1;
}

/* Interactive step-marker node */
.step-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #8A9B58;
    border-radius: 50%;
    box-shadow: 0 0 20px #8A9B58;
    z-index: 2;
}

/* Premium translucent glass pillar card */
.glass-pillar {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 155, 88, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.glass-pillar:hover {
    border-color: rgba(138, 155, 88, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

/* Scroll reveal properties */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Editorial inputs */
.editorial-input {
    border: none !important;
    border-bottom: 1px solid #A8A296 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #FAF8F1 !important;
    padding: 0.75rem 0 !important;
    outline: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: border-color 0.3s ease !important;
}
.editorial-input:focus {
    border-color: #8A9B58 !important;
    box-shadow: none !important;
}
.editorial-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #A8A296;
    display: block;
    margin-bottom: 4px;
}

/* Project Cards details */
.project-card-container {
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    cursor: pointer;
}
.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 12, 0.85);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 5;
}
.project-card-container:hover .project-card-overlay {
    opacity: 1;
}

/* Make entire project card clickable */
.project-card-overlay a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* Mobile & Touch Viewport Adjustments */
@media (max-w: 1024px) {
    .project-card-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(7, 16, 12, 0.95) 0%, rgba(7, 16, 12, 0.8) 50%, rgba(7, 16, 12, 0.4) 100%) !important;
        justify-content: flex-end !important;
        padding: 1.5rem !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    .project-card-overlay p {
        display: none !important; /* Hide description on mobile to avoid overcrowding */
    }
    .project-card-overlay h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
    }
    .project-card-overlay span {
        margin-bottom: 0.25rem !important;
    }
}

/* Custom Navigation styling compatibility */
.wp-nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 3rem;
}
.wp-nav-menu li a {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-decoration: none;
}
.wp-nav-menu li a:hover,
.wp-nav-menu li.current-menu-item a {
    color: #FAF8F1;
}
