/*
Theme Name: Francisco
Theme URI: https://www.franciscoguerrero.org
Description: "Francisco" is a creative and minimalist WordPress theme designed for artists, musicians, and storytellers. It provides a clean, visually engaging layout to showcase projects, portfolio work, and personal reflections. With its focus on simplicity and ease of navigation, this theme enhances the user experience while promoting a creative journey through media like music, photography, and documentaries. Perfect for those who wish to share their artistic endeavors in an elegant and accessible way.
Version: 2.0.0 (2026)
Author: Francisco Guerrero
Author URI: https://www.franciscoguerrero.org
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: francisco
*/

/* Import Google Fonts */
/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Banner */
.anniversary-banner {
    position: fixed;
    top: 45px;
    right: -100px;
    width: 350px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, 
        #ec988e 0%,    /* Soft coral */
        #f0ac94 30%,   /* Peach */
        #329d9a 70%,   /* Teal */
        #b47fa4 100%   /* Mauve */
    );
    text-align: center;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(236, 152, 142, 0.25);
    z-index: 1001;
    font-family: var(--title-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .anniversary-banner {
        top: 35px;
        font-size: 14px;
        width: 300px;
        right: -90px;
        padding: 10px;
    }
}

/* Base Styles */
:root {
    --title-font: 'Montserrat', sans-serif;
    --body-font: 'Inter', sans-serif;
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #999999;
    --background-color: #ffffff;
    --light-gray: #f8f8f8;
    --spacing-unit: 2rem;
}

body {
    font-family: var(--body-font);
    font-weight: normal;
    line-height: 1.6;
    color: var(--primary-color);
    background: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-branding {
    display: flex;
    align-items: flex-start;
    gap: 0rem;
}

.logo-wrapper {
    flex-shrink: 0;
    width: 80px;
}

.custom-logo {
    width: 100%;
    height: auto;
    display: block;
}

.title-nav-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.site-title {
    margin: 0;
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #666;
}

.main-navigation {
    margin-top: 0.50rem;
}

/* Menu Styles */
.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.primary-menu li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.primary-menu a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--title-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding: 1px 0;
    transition: color 0.3s ease;
}

.primary-menu a::before {
    content: attr(data-text);
    display: block;
    font-weight: 700;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
    margin-bottom: 0;
}

.primary-menu a:hover {
    color: #333;
    font-weight: 700;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #333;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.primary-menu a:hover::after {
    transform: scaleX(1);
}

/* Active states for primary menu */
.primary-menu .current-menu-item > a,
.primary-menu .current-page-ancestor > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current-page-parent > a,
.primary-menu .current_page_parent > a,
.primary-menu .current_page_ancestor > a,
.primary-menu .current-menu-parent > a {
    color: #333;
    font-weight: 700;
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current-page-ancestor > a::after,
.primary-menu .current-menu-ancestor > a::after,
.primary-menu .current-page-parent > a::after,
.primary-menu .current_page_parent > a::after,
.primary-menu .current_page_ancestor > a::after,
.primary-menu .current-menu-parent > a::after {
    transform: scaleX(1);
}
/* Portfolio Grid Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 120px 2rem 2rem;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
}

.portfolio-item {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.portfolio-item img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    display: block;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.portfolio-item-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); 
    padding: 20px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-info {
    opacity: 1;
}

.portfolio-item-info h2 {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}

.portfolio-item-info p {
    font-size: 12px;
    margin: 0;
    color: #fff;
    line-height: 1;
}

.portfolio-category {
    font-size: 10px;
    color: #ffffff;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* Portfolio Grid Additional Styles */
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-letter {
    font-family: var(--title-font);
    font-size: 3rem;
    font-weight: 700;
    color: #999;
}

.portfolio-categories,
.portfolio-tags {
    margin: 5px 0;
}

.portfolio-category,
.portfolio-tag {
    display: inline-block;
    font-size: 10px;
    color: #ffffff;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2px;
    padding: 2px 6px;
    border-radius: 3px;
}

.portfolio-category {
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-tag {
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-excerpt {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 8px;
    color: #fff;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
}

.no-posts p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.return-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--title-font);
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.return-home:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .portfolio-item-info h2 {
        font-size: 14px;
    }
    
    .portfolio-category,
    .portfolio-tag {
        font-size: 9px;
    }
    
    .portfolio-excerpt {
        font-size: 11px;
    }
    
    .no-posts p {
        font-size: 1rem;
    }
}

/* Single Project Styles */
.single-project {
    margin-top: 103px;
}

.hero-header {
    position: relative;
    height: 273px;
    margin-bottom: 3rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.hero-header .entry-title {
    color: #ffffff;
    font-family: var(--title-font);
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0 0 0.75rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    line-height: 1.2;
}

.hero-header .entry-meta {
    color: #ffffff;
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    margin: 0;
}

.no-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    margin-bottom: 3rem;
}

.no-hero .entry-title {
    color: var(--primary-color);
}

.no-hero .entry-meta {
    color: var(--secondary-color);
}

.project-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;  
}

.entry-content {
    font-size: 1.3rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    word-break: normal;
    hyphens: none;
}

.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
    font-family: var(--title-font);
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.entry-footer {
    margin: 2rem auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-family: var(--title-font);
}

.entry-footer span {
    display: block;
    margin-bottom: 0.5rem;
}
/* Footer Styles */
.site-footer {
    padding: var(--spacing-unit);
    background: var(--light-gray);
    margin-top: var(--spacing-unit);
}

.footer-navigation {
    margin-bottom: var(--spacing-unit);
    width: 100%;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0 20px;
}

.footer-navigation li {
    display: flex;
    align-items: center;
}

.footer-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--title-font);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 1px 0;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-navigation a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.footer-navigation a:hover::after {
    transform: scaleX(1);
}

.site-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-family: var(--title-font);
    text-transform: uppercase;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0rem;
        margin-top: 0px;
    }
    
    .logo-wrapper {
        width: 70px;
        margin-bottom: 0px;
    }
    
    .title-nav-wrapper {
        align-items: flex-start;
        padding-top: 0.25rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
        padding: 125px 2rem 2rem;
    }
    
    .primary-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.2rem;
        line-height: 0;
        row-gap: 0.2rem;
    }
    
    .primary-menu a {
        font-size: 0.8rem;
        padding: 0.25rem;
    }

    .footer-navigation ul {
        justify-content: center;
        row-gap: 15px;
        column-gap: 20px;
        padding: 0 15px;
    }

    .footer-navigation a {
        font-size: 0.85rem;
        padding: 2px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
        padding-top: 110px;
    }

    .site-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .primary-menu {
        gap: 0.75rem;
    }

    .primary-menu a {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .footer-navigation {
        margin-bottom: 1.5rem;
    }

    .footer-navigation ul {
        row-gap: 12px;
        column-gap: 15px;
        padding: 0 10px;
    }

    .footer-navigation a {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .site-header {
        padding: 0.75rem 0;
    }

    .logo-wrapper {
        width: 60px;
    }

    .hero-header {
        height: 200px;
    }

    .hero-header .entry-title {
        font-size: 1.75rem;
    }

    .project-content {
        padding: 0 1rem;
    }

    .entry-content {
        font-size: 1.3rem;
    }
}

/* WordPress Core Styles */
.alignnone, .aligncenter, .alignright, .alignleft {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin: 1rem auto;
}

.alignright {
    float: right;
    margin: 1rem 0 1rem 1rem;
}

.alignleft {
    float: left;
    margin: 1rem 1rem 1rem 0;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Gallery Styles */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

@media (max-width: 480px) {
    .gallery-columns-3,
    .gallery-columns-4,
    .gallery-columns-5,
    .gallery-columns-6,
    .gallery-columns-7,
    .gallery-columns-8,
    .gallery-columns-9 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Content Links */
.entry-content a,
.entry-content a:visited,
article a,
article a:visited,
.post-content a,
.post-content a:visited {
    color: #000000 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.entry-content a:hover,
article a:hover,
.post-content a:hover {
    opacity: 0.7;
}


/* Comments and Forms */
.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--title-font);
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.comment-form input[type="submit"] {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--title-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .navigation,
    .comments-area,
    .respond {
        display: none;
    }

    body {
        font-size: 12pt;
        margin: 2cm;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    .entry-content a {
        word-wrap: break-word;
    }

    .entry-content {
        max-width: 100%;
    }
}

/* Comments Styles */
.comments-area {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.comments-title {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comment-meta {
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-author .fn {
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content {
    margin-top: 1rem;
    color: var(--primary-color);
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 1rem;
}

.reply a {
    font-family: var(--title-font);
    font-size: 0.875rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Comment Form */
.comment-respond {
    margin-top: 3rem;
}

.comment-reply-title {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.comment-form {
    display: grid;
    gap: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--title-font);
    font-weight: 500;
    color: var(--primary-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: white;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form .submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--title-font);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .comments-area {
        padding: 1.5rem;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }
}

/* 404 */
.error-404 {
    margin-top: 103px; /* Mismo valor que usa .single-project */
    padding: 4rem 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Resto de los estilos para la página 404 */
.error-404 h1 {
    font-family: var(--title-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.error-404 p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .error-404 {
        margin-top: 110px; /* Ajustado para móviles */
        padding: 2rem 1rem;
    }
    
    .error-404 h1 {
        font-size: 2rem;
    }
}

/* Social Sharing and Video Styles */
.social-sharing {
    margin: 2rem 0;
    padding: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.social-sharing h4 {
    margin-bottom: 1rem;
    font-family: var(--title-font);
    font-size: 1.2rem;
}

.share-button,
.share-button:link,
.share-button:visited,
.share-button:hover,
.share-button:active {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-family: var(--title-font);
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    font-weight: normal !important;
}

/* Aseguramos el color blanco para cada botón específicamente */
.share-button.facebook,
.share-button.facebook:link,
.share-button.facebook:visited { 
    background-color: #3b5998;
    color: #ffffff !important;
}

.share-button.twitter,
.share-button.twitter:link,
.share-button.twitter:visited { 
    background-color: #1da1f2;
    color: #ffffff !important;
}

.share-button.linkedin,
.share-button.linkedin:link,
.share-button.linkedin:visited { 
    background-color: #0077b5;
    color: #ffffff !important;
}

.share-button.whatsapp,
.share-button.whatsapp:link,
.share-button.whatsapp:visited { 
    background-color: #25d366;
    color: #ffffff !important;
}

.share-button:hover {
    opacity: 0.8;
}

.vimeo-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
}

.vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .share-button {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }
}

/* =========================================================
   2026 Refresh (non-breaking overrides)
   ========================================================= */

:root{
  --fg: #0f172a;
  --bg: #ffffff;
  --muted: rgba(15, 23, 42, .7);
  --card: rgba(15, 23, 42, .04);
  --border: rgba(15, 23, 42, .10);
  --accent: #0ea5e9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark){
  :root{
    --fg: #e5e7eb;
    --bg: #0b1220;
    --muted: rgba(229, 231, 235, .72);
    --card: rgba(229, 231, 235, .06);
    --border: rgba(229, 231, 235, .14);
    --shadow: 0 10px 30px rgba(0,0,0,.45);
  }
  body{ background: var(--bg); color: var(--fg); }
}

html{ scroll-behavior: smooth; }
body{
  color: var(--fg);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container{
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

a{ text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

.screen-reader-text{
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}
.skip-link{
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
  transition: transform .2s ease;
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-branding{
  display:flex;
  gap: 1rem;
  align-items:center;
  justify-content: space-between;
  padding: .85rem 0;
}

.title-nav-wrapper{
  display:flex;
  align-items:center;
  gap: 1rem;
}

.site-title a{
  font-weight: 700;
  letter-spacing: .02em;
}

.nav-toggle{
  display:none;
  align-items:center;
  gap:.6rem;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  cursor:pointer;
}
.nav-toggle__label{ font-size: .95rem; }
.nav-toggle__icon{
  width: 18px; height: 12px;
  display:inline-block;
  background:
    linear-gradient(currentColor,currentColor) 0 0/100% 2px,
    linear-gradient(currentColor,currentColor) 0 50%/100% 2px,
    linear-gradient(currentColor,currentColor) 0 100%/100% 2px;
  background-repeat:no-repeat;
  opacity:.9;
}

.primary-menu{
  display:flex;
  gap: 1rem;
  list-style:none;
  align-items:center;
}

.primary-menu a{
  display:inline-flex;
  padding: .45rem .6rem;
  border-radius: 999px;
  color: var(--fg);
}
.primary-menu a:hover{
  background: var(--card);
}

@media (max-width: 880px){
  .nav-toggle{ display:inline-flex; }
  .primary-menu{
    flex-direction: column;
    align-items: stretch;
    gap:.25rem;
  }
  .primary-menu-wrap{
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: .75rem 1rem 1rem;
    display:none;
  }
  .primary-menu-wrap[data-open]{ display:block; }
  .primary-menu a{ padding:.7rem .9rem; }
}

.anniversary-banner{ display:none; } /* keep markup but hide by default */

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}



/* ==========================================================
   2026 DESIGN LAYER (modern UI, keeps legacy templates working)
   ========================================================== */

:root{
  --bg: #f6f7fb;
  --surface: rgba(255,255,255,0.72);
  --surface-solid: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,0.68);
  --border: rgba(11,18,32,0.10);
  --shadow: 0 18px 50px rgba(11,18,32,0.10);
  --shadow-soft: 0 10px 30px rgba(11,18,32,0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
  --header-h: 88px;

  /* keep existing font vars if present */
  --ui-font: var(--body-font, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif);
  --ui-title-font: var(--title-font, var(--ui-font));
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#080b12;
    --surface: rgba(16,20,30,0.65);
    --surface-solid:#0f1420;
    --text:#eef2ff;
    --muted:rgba(238,242,255,0.72);
    --border:rgba(238,242,255,0.12);
    --shadow: 0 18px 55px rgba(0,0,0,0.45);
    --shadow-soft: 0 10px 28px rgba(0,0,0,0.40);
  }
}

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

body{
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(120,110,255,0.16), transparent 60%),
    radial-gradient(900px 540px at 95% 0%, rgba(0,180,255,0.14), transparent 60%),
    radial-gradient(700px 420px at 60% 115%, rgba(255,110,140,0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--ui-font);
}

/* --- header --- */
.site-header{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  padding: 10px 0;
  z-index: 1000;
}

.container{
  max-width: var(--max);
  padding: 0 var(--gutter);
  margin: 0 auto;
}

.header-inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.site-brand{ min-width: 0; }
.brand-link{
  display:flex;
  gap: 12px;
  align-items:center;
  text-decoration:none;
  color: inherit;
  min-width: 0;
}

.brand-logo{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.brand-text{
  display:flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-title{
  font-family: var(--ui-title-font);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline{
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* nav */
.main-navigation{ justify-self: center; }
.primary-menu{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  font-family: var(--ui-title-font);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.primary-menu a:hover{
  background: rgba(255,255,255,0.55);
  color: var(--text);
  border-color: var(--border);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark){
  .primary-menu a:hover{ background: rgba(255,255,255,0.06); }
}

.nav-toggle{
  display:none;
  justify-self: end;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  gap: 10px;
  align-items:center;
  box-shadow: var(--shadow-soft);
}

.nav-toggle__icon{
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after{
  content:'';
  position:absolute;
  left:0; right:0;
  height:2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle__icon::before{ top:0; }
.nav-toggle__icon::after{ top:10px; }

html[data-nav-open] .nav-toggle__icon::before{ top:5px; transform: rotate(45deg); }
html[data-nav-open] .nav-toggle__icon::after{ top:5px; transform: rotate(-45deg); }

/* --- layout spacing --- */
.site-main{
  padding-top: clamp(18px, 2.5vw, 30px);
  padding-bottom: clamp(26px, 3vw, 44px);
}

/* index grid -> modern cards */
.portfolio-grid{
  padding: clamp(22px, 3vw, 38px) var(--gutter);
  margin: 0 auto;
  max-width: var(--max);
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.project-card, .portfolio-item, .post-card, .grid-item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.project-card:hover, .portfolio-item:hover, .post-card:hover, .grid-item:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(11,18,32,0.18);
}

.project-card img, .portfolio-item img, .post-card img, .grid-item img{
  width: 100%;
  height: auto;
  display:block;
}

/* single post hero */
.single-project .entry-header.hero-header{
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 var(--gutter);
}

.hero-header{
  position: relative;
  border-radius: clamp(18px, 3vw, 28px);
  overflow: clip;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-image img{
  width: 100%;
  height: clamp(240px, 40vh, 460px);
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.03);
}

.hero-content{
  position: absolute;
  inset: 0;
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.0) 55%);
  color: #fff;
}

.hero-content .entry-title{
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: none;
}

.entry-meta, .entry-meta a{
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* content container */
.single-project .entry-content,
.single-project .entry-footer,
.single-project .comments-area{
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.single-project .entry-content{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 34px);
  margin-top: clamp(16px, 2vw, 22px);
}

/* improve typographic rhythm */
.entry-content p{ line-height: 1.7; color: var(--text); }
.entry-content h2, .entry-content h3{
  letter-spacing: -0.015em;
  margin-top: 2.2rem;
}

/* footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: transparent;
}

/* --- responsive nav panel --- */
@media (max-width: 980px){
  .header-inner{ grid-template-columns: auto auto; grid-template-areas: "brand toggle" "nav nav"; }
  .site-brand{ grid-area: brand; }
  .nav-toggle{ grid-area: toggle; display:inline-flex; }
  .main-navigation{ grid-area: nav; justify-self: stretch; }
  .primary-menu-wrap{
    display: none;
    margin-top: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px;
    box-shadow: var(--shadow-soft);
  }
  .primary-menu-wrap[data-open]{ display:block; }
  .primary-menu{ justify-content: flex-start; flex-wrap: wrap; }
}

/* Make old padding-top for fixed header not apply anymore */
.portfolio-grid{ padding-top: clamp(22px, 3vw, 38px) !important; }

/* Utility */
.screen-reader-text{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}


/* home hero */
.home-hero{ padding: clamp(18px, 3vw, 34px) 0 0; }
.home-hero__card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  position: relative;
}
.home-hero__card::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 220px at 10% 10%, rgba(120,110,255,0.25), transparent 55%),
    radial-gradient(520px 220px at 90% 0%, rgba(0,180,255,0.20), transparent 55%),
    radial-gradient(540px 240px at 60% 120%, rgba(255,110,140,0.16), transparent 55%);
  pointer-events:none;
  z-index:0;
}
.home-hero__title,
.home-hero__subtitle{ position: relative; z-index: 1; }
.home-hero__title{
  margin: 0 0 6px;
  font-family: var(--ui-title-font);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}
.home-hero__subtitle{
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}


/* =========================================================
   2026 Tropical‑Luxe Cinematic layer
   (minimal, responsive, modern, elegant)
   ========================================================= */

/* Background with subtle cinematic gradient + film grain */
body{
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(42,194,181,.10), transparent 55%),
    radial-gradient(1000px 700px at 85% 0%, rgba(201,162,39,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.50), transparent 26%),
    var(--bg);
  color: var(--ink);
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.10), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 40%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.015), rgba(0,0,0,.015) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
  opacity: .55;
  z-index: 0;
}

.site{
  position: relative;
  z-index: 1;
}

/* Header: glass + sticky (no overlap with content) */
.site-header{
  position: sticky !important;
  top: 0;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: var(--border);
  box-shadow: none;
}

.header-inner{
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
}

/* Brand */
.brand-logo{
  border-radius: 18px;
  border: 1px solid rgba(11,27,26,.08);
}
.brand-title{
  font-family: var(--ui-title-font);
  font-weight: 650;
  text-transform: none;
  letter-spacing: .01em;
}
.brand-tagline{
  color: var(--muted);
}

/* Centered nav (desktop) */
.main-navigation{
  display:flex;
  justify-content: center;
  align-items:center;
  margin-top: 0 !important;
}
.primary-menu-wrap{
  width: 100%;
  display:flex;
  justify-content: center;
}
.primary-menu{
  gap: clamp(14px, 2vw, 26px);
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: var(--border);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  box-shadow: var(--shadow-soft);
}
.primary-menu a{
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-family: var(--ui-body-font);
  text-transform: none;
  letter-spacing: .01em;
  font-size: .95rem;
  padding: 10px 10px;
}
.primary-menu a:hover{
  color: var(--ink);
}
.primary-menu a::before{ display:none !important; }
.primary-menu a::after{
  content:"";
  position:absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(10,165,155,.9), rgba(201,162,39,.9), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--speed) var(--ease);
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after{
  transform: scaleX(1);
}

/* Toggle button: luxe pill */
.nav-toggle{
  border-radius: 999px;
  border: var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow-soft);
}

/* Mobile nav: cinematic panel */
@media (max-width: 900px){
  .main-navigation{
    position: fixed;
    inset: 78px 12px auto 12px;
    display:block;
    justify-content: initial;
    z-index: 999;
  }
  .primary-menu-wrap{
    display:none;
    width: 100%;
    border-radius: var(--radius);
    border: var(--border-strong);
    background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
    backdrop-filter: blur(16px) saturate(130%);
    box-shadow: var(--shadow);
    padding: 14px;
  }
  .primary-menu{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .primary-menu a{
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(11,27,26,.08);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
  }
  .site-header[data-nav-open="true"] .primary-menu-wrap{ display:block; }
}

/* Content spacing: avoid "despegado" feeling */
.site-main{
  padding-top: clamp(22px, 3vw, 34px) !important;
}

/* Cards / posts: more luxe, more air */
.card,
.post-card,
article{
  border-radius: var(--radius);
}

.post-card,
.card{
  border: var(--border);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.post-card:hover,
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Headings: cinematic editorial */
h1,h2,h3,.entry-title{
  font-family: var(--ui-title-font) !important;
  letter-spacing: .01em;
}
.entry-title{
  line-height: 1.05;
}

/* Links: tropical gold/teal accent */
a{
  color: color-mix(in srgb, var(--teal) 86%, var(--ink));
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover{
  color: color-mix(in srgb, var(--gold) 84%, var(--ink));
}

/* Single post hero: cinematic */
.single .post-hero,
.single .entry-hero{
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  border: var(--border);
  box-shadow: var(--shadow);
}
.single .post-hero::after,
.single .entry-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.50));
  pointer-events:none;
}

/* Footer: clean */
.site-footer{
  border-top: var(--border);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

/* Accessibility: focus */
:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--reef) 70%, transparent);
  outline-offset: 3px;
  border-radius: 10px;
}
