/*
Theme Name: Tulumink
Theme URI: https://tulumink.com
Description: Custom theme for Ink Tulum tattoo studio
Version: 2.1.0
Author: AL TIRO Agency
Author URI: https://altiro.agency
Text Domain: tulumink
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    --tk-black: #0a0a0a;
    --tk-dark: #111111;
    --tk-dark-alt: #1a1a1a;
    --tk-red: #e63946;
    --tk-red-hover: #ff4757;
    --tk-red-glow: rgba(230, 57, 70, 0.35);
    --tk-white: #ffffff;
    --tk-gray: #888888;
    --tk-light-gray: #cccccc;
    --tk-font-heading: "Oswald", sans-serif;
    --tk-font-body: "Inter", sans-serif;
    --tk-font-accent: "Dancing Script", cursive;
    --tk-header-height: 80px;
    --tk-container: 1200px;
    --tk-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --tk-transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   RESET / NORMALIZE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    background-color: var(--tk-black);
    color: var(--tk-white);
    font-family: var(--tk-font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Subtle noise/grain texture overlay for premium dark feel */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--tk-transition);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tk-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-red {
    color: var(--tk-red);
}

.text-white {
    color: var(--tk-white);
}

.section-label {
    font-family: var(--tk-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tk-gray);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--tk-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

/* Subtle section dividers — gradient line between sections */
.section-divider,
.founder-section::before,
.portfolio-section::before,
.team-section::before,
.site-footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(230, 57, 70, 0.2) 20%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(230, 57, 70, 0.2) 80%,
        transparent 100%
    );
}

.founder-section,
.portfolio-section,
.team-section,
.site-footer {
    position: relative;
}

/* Scroll reveal animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Smooth transitions on all interactive elements */
a, button, input, .btn-primary, .btn-reservar, .btn-founder,
.filter-btn, .carousel-btn, .portfolio-item, .team-photo-card {
    transition: all var(--tk-transition);
}

/* ========================================
   SITE HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background var(--tk-transition), box-shadow var(--tk-transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
    max-width: var(--tk-container);
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--tk-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--tk-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--tk-white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 1.1rem;
    font-family: var(--tk-font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--tk-transition);
    position: relative;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: var(--tk-red);
    transition: transform var(--tk-transition);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--tk-white);
}

.btn-reservar {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    background: var(--tk-red);
    color: var(--tk-white);
    font-family: var(--tk-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background var(--tk-transition), transform var(--tk-transition), box-shadow var(--tk-transition);
    margin-left: 0.75rem;
    white-space: nowrap;
}

.btn-reservar:hover {
    background: var(--tk-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--tk-red-glow);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--tk-white);
    transition: transform var(--tk-transition), opacity var(--tk-transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--tk-dark);
}

/* Darker gradient overlay on left for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(10, 10, 10, 0.78) 30%,
        rgba(10, 10, 10, 0.50) 55%,
        rgba(10, 10, 10, 0.25) 80%,
        rgba(10, 10, 10, 0.15) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 2rem 2rem 2rem 70px;
    max-width: 750px;
}

.hero-brand {
    font-family: var(--tk-font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

/* Dramatic title with heavy text-shadow */
.hero-title {
    font-family: var(--tk-font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: var(--tk-white);
    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.7),
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
    position: relative;
}

/* Script overlapping dramatically with title — sitting on the period */
.hero-script {
    display: block;
    font-family: var(--tk-font-accent);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: none;
    color: var(--tk-red);
    margin-top: -0.55em;
    margin-left: 0.15em;
    letter-spacing: 0;
    line-height: 1.2;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 20px rgba(230, 57, 70, 0.3);
}

.hero-cta {
    margin-top: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--tk-red);
    color: var(--tk-white);
    font-family: var(--tk-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background var(--tk-transition), transform var(--tk-transition), box-shadow var(--tk-transition);
}

.btn-primary:hover {
    background: var(--tk-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--tk-red-glow);
}

/* ========================================
   FOUNDER SECTION
   ======================================== */
.founder-section {
    background: var(--tk-dark);
    padding: 0;
    overflow: hidden;
}

.founder-inner {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    align-items: stretch;
    min-height: 600px;
}

.founder-image {
    position: relative;
    overflow: hidden;
}

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

/* Wider, more subtle gradient fade from image to dark background */
.founder-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(17, 17, 17, 0.15) 25%,
        rgba(17, 17, 17, 0.5) 55%,
        rgba(17, 17, 17, 0.85) 80%,
        var(--tk-dark) 100%
    );
    pointer-events: none;
}

.founder-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 40px;
}

.founder-text h2 {
    font-family: var(--tk-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--tk-white);
}

.founder-text p {
    font-family: var(--tk-font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--tk-light-gray);
    margin-bottom: 2rem;
}

/* Slightly larger button text for "Meet the Founder" */
.btn-founder {
    display: inline-block;
    padding: 13px 32px;
    background: var(--tk-red);
    color: var(--tk-white);
    font-family: var(--tk-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 50px;
    transition: background var(--tk-transition), transform var(--tk-transition), box-shadow var(--tk-transition);
    align-self: flex-start;
}

.btn-founder:hover {
    background: var(--tk-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--tk-red-glow);
}

/* ========================================
   PORTFOLIO SECTION — Dynamic 2026
   ======================================== */
.portfolio-section {
    background: var(--tk-black);
    padding: 6rem 2rem;
    position: relative;
}

.portfolio-inner {
    max-width: var(--tk-container);
    margin: 0 auto;
}

.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.portfolio-title-area {
    flex-shrink: 0;
}

.portfolio-title-area .section-label {
    margin-bottom: 0.5rem;
}

.portfolio-title-area .section-title {
    margin-bottom: 0;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    padding-bottom: 0.35rem;
}

.filter-btn {
    padding: 0;
    font-family: var(--tk-font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--tk-gray);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--tk-red);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover {
    color: var(--tk-white);
}

.filter-btn:hover::after {
    width: 50%;
}

.filter-btn.active {
    color: var(--tk-white);
    font-weight: 600;
    border-bottom-color: transparent;
}

.filter-btn.active::after {
    width: 100%;
}

/* ---- Portfolio Grid with staggered animation ---- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: portfolioReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes portfolioReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.portfolio-item-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--tk-dark-alt);
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: saturate(0.85) brightness(0.9);
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.12);
    filter: saturate(1.1) brightness(1);
}

/* ---- Overlay with glass morphism ---- */
.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(10, 10, 10, 0.4) 60%,
        rgba(10, 10, 10, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

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

.portfolio-item-content {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-item-content {
    transform: translateY(0);
}

.portfolio-item-style {
    display: inline-block;
    font-family: var(--tk-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--tk-red);
    margin-bottom: 0.4rem;
    padding: 3px 10px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.portfolio-item-title {
    font-family: var(--tk-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tk-white);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.portfolio-item-view {
    font-family: var(--tk-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-item-view {
    color: var(--tk-red);
}

/* ---- Label below image ---- */
.portfolio-item-label {
    padding: 0.6rem 0.75rem;
    font-family: var(--tk-font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(17, 17, 17, 0.95);
    border-top: 1px solid rgba(230, 57, 70, 0.15);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-item-label {
    color: var(--tk-white);
    background: rgba(230, 57, 70, 0.12);
    border-top-color: var(--tk-red);
}

/* ---- Red accent line on hover ---- */
.portfolio-item-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tk-red), var(--tk-red-hover));
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-item-inner::before {
    transform: scaleX(1);
}

/* ---- Filter transition for show/hide ---- */
.portfolio-item.hidden {
    display: none;
}

.portfolio-item.filtering-out {
    animation: filterOut 0.4s ease forwards;
}

.portfolio-item.filtering-in {
    animation: filterIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes filterOut {
    to {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

@keyframes filterIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ========================================
   TEAM / GUEST ARTISTS SECTION
   ======================================== */
.team-section {
    background: var(--tk-dark);
    padding: 6rem 2rem;
    overflow: hidden;
}

.team-inner {
    max-width: var(--tk-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
}

.team-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.team-photo-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Rounded corners on artist photos */
.team-photo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--tk-transition), filter var(--tk-transition);
}

.team-photo-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Dark overlay at bottom of photo for "Ver +" text */
.team-photo-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.3) 40%,
        transparent 100%
    );
    pointer-events: none;
    transition: opacity var(--tk-transition);
    opacity: 0;
}

.team-photo-card:hover::after {
    opacity: 1;
}

.team-photo-card .artist-link {
    display: block;
    margin-top: 0.7rem;
    font-family: var(--tk-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tk-red);
    transition: color var(--tk-transition), letter-spacing var(--tk-transition);
}

.team-photo-card .artist-link:hover {
    color: var(--tk-red-hover);
    letter-spacing: 0.03em;
}

.team-text {
    padding: 1rem 0;
}

.team-text .section-label {
    margin-bottom: 0.5rem;
}

.team-text .section-title {
    margin-bottom: 1.25rem;
}

.team-description {
    font-family: var(--tk-font-body);
    font-size: 0.95rem;
    color: var(--tk-gray);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

.team-nav {
    display: flex;
    gap: 1rem;
}

/* More prominent arrows */
.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--tk-white);
    background: transparent;
    transition: all var(--tk-transition);
}

.carousel-btn:hover {
    border-color: var(--tk-red);
    background: var(--tk-red);
    transform: scale(1.05);
}

/* The "next" arrow (second button) with red outline by default */
.carousel-btn.carousel-next,
.carousel-btn:last-child {
    border-color: var(--tk-red);
    color: var(--tk-red);
}

.carousel-btn.carousel-next:hover,
.carousel-btn:last-child:hover {
    background: var(--tk-red);
    color: var(--tk-white);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--tk-black);
    border-top: none;
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: var(--tk-container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--tk-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--tk-gray);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--tk-light-gray);
    letter-spacing: 0.03em;
    transition: color var(--tk-transition);
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--tk-red);
    transition: width var(--tk-transition);
}

.footer-links a:hover {
    color: var(--tk-red);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copy p {
    font-size: 0.75rem;
    color: var(--tk-gray);
}

/* ========================================
   CONTENT AREA (fallback index.php)
   ======================================== */
.content-area {
    max-width: var(--tk-container);
    margin: 0 auto;
    padding: calc(var(--tk-header-height) + 3rem) 2rem 4rem;
}

.content-area article {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--tk-dark-alt);
}

.content-area article h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.content-area article h2 a {
    color: var(--tk-white);
    transition: color var(--tk-transition);
}

.content-area article h2 a:hover {
    color: var(--tk-red);
}

.content-area article p {
    color: var(--tk-light-gray);
    line-height: 1.8;
}

/* ========================================
   RESPONSIVE — TABLET (768px)
   ======================================== */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--tk-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        padding: 1rem;
        font-size: 1rem;
    }

    .nav-menu li a::after {
        display: none;
    }

    .btn-reservar {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .hero-content {
        padding: 2rem 2rem 2rem 30px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-script {
        font-size: 2.2rem;
        margin-top: -0.45em;
    }

    .section-title {
        font-size: 2rem;
    }

    .founder-inner {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-height: 400px;
    }

    .founder-image::after {
        display: none;
    }

    .founder-text {
        padding: 3rem 2rem;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-inner {
        grid-template-columns: 1fr;
    }

    .team-photos {
        order: 2;
    }

    .team-text {
        order: 1;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   RESPONSIVE — MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    :root {
        --tk-header-height: 65px;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-script {
        font-size: 1.75rem;
        margin-top: -0.4em;
    }

    .hero-brand {
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .founder-text {
        padding: 2.5rem 1.5rem;
    }

    .founder-text h2 {
        font-size: 1.75rem;
    }

    .portfolio-section {
        padding: 4rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .portfolio-filters {
        gap: 1rem;
    }

    .filter-btn {
        font-size: 0.8rem;
    }

    .team-section {
        padding: 4rem 1rem;
    }

    .team-photos {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   WORDPRESS ALIGNMENT CLASSES
   ======================================== */
.alignleft {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

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

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

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--tk-gray);
    margin-top: 0.5rem;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

:focus-visible {
    outline: 2px solid var(--tk-red);
    outline-offset: 2px;
}
