/* 
/*
 * TIN SOLER - Professional Portfolio
 * Theme: Light Elegance (White / Orange / Minimal Red)
 * Version: 2.0
 */

:root {
    /* Brand Colors (Warm & Vibrant) */
    --brand-coral: #E94D40;
    /* Pantone 7625C */
    --brand-gold: #F7B362;
    /* Pantone 150C */
    --accent-red: #dc2626;
    /* Red 600 - Kept for existing usage */

    /* Mapped Variables */
    --accent-orange: var(--brand-coral);
    --accent-gold: var(--brand-gold);

    /* Backgrounds - Restoring Warmth */
    --accent-orange-light: #fff2e0;
    /* Warmer, more gold-tinted white for backgrounds */
    --gradient-primary: linear-gradient(135deg, #fffbf5 0%, #ffece0 100%);
    /* Subtle but visible warm gradient */

    /* Text Colors */
    --text-primary: #1e293b;
    /* Slate 800 - Softer than pure black */
    --text-secondary: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;

    /* UI Elements */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);

    /* Dimensions */
    --header-height: 80px;
    --container-width: 1240px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--accent-orange-light);
    /* Warmer background instead of gray */
}

.text-orange {
    color: var(--accent-orange);
}

.text-red {
    color: var(--accent-red);
}

.section-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand-coral);
    color: white;
    border: 1px solid var(--brand-coral);
}

.btn-primary:hover {
    background: #d63d30;
    /* Slightly darker coral */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 77, 64, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand-coral);
    color: var(--brand-coral);
    transform: translateY(-2px);
}

.btn-red {
    background-color: var(--accent-red);
    color: white;
}

.btn-red:hover {
    background-color: #b91c1c;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Needed for absolute centering of nav */
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    /* Gap removed to keep text and dot together */
    z-index: 10;
    /* Ensure logo stays clickable above nav if overlap occurs */
}

.logo-img {
    height: 48px;
    width: auto;
    /* Natural width */
    object-fit: contain;
    /* Show full image */
    margin-right: 0.8rem;
}

.logo span {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    /* Absolute centering */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    z-index: 10;
    /* Ensure buttons stay clickable */
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 0;
    /* Flush to bottom */
    background: var(--gradient-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    /* Tighter gap */
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    /* Smaller title */
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-coral) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.05rem;
    /* Slightly smaller text */
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 95%;
}

.hero-visual {
    position: relative;
    height: 420px;
    /* Much shorter container */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-right: -2rem;
}

.simple-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    /* Smaller circle */
    height: 350px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.hero-img {
    position: relative;
    z-index: 1;
    /* Above circle */
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full body, no cropping */
    object-position: bottom center;
    /* Anchor to bottom */
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    /* Depth */
    transition: transform 0.5s ease;
}

.hero-visual:hover .hero-img {
    transform: scale(1.02);
}

/* Blog Section (New Grid) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233, 77, 64, 0.3);
}

.blog-image {
    height: 200px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Specific placeholder colors for demo */
.blog-1 .blog-image {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange-light) 100%);
}

.blog-2 .blog-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.blog-3 .blog-image {
    background: linear-gradient(135deg, #bfdbfe 0%, #eff6ff 100%);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.blog-link:hover {
    color: var(--accent-orange);
}

/* Booking Section (New Interactive) */
.booking-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    max-width: 900px;
    /* Constrain width */
    margin: 0 auto;
    /* Center it */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.booking-calendar {
    padding: 2rem;
    /* Reduced from 3rem */
    background: var(--bg-white);
}

.booking-form-wrapper {
    background: var(--accent-orange-light);
    padding: 2rem;
    /* Reduced from 3rem */
    border-left: 1px solid var(--border-color);
}

.calendar-header {
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-header h3 {
    font-size: 1.25rem;
    /* Explicitly smaller header */
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    /* Reduced from 0.5rem */
    text-align: center;
}

.cal-day-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    /* Smaller text */
    padding-bottom: 0.5rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    /* Smaller numbers */
    transition: all 0.2s;
    height: 36px;
    /* Fixed height to control size better */
    width: 36px;
    /* Fixed width */
    margin: 0 auto;
    /* Center in cell */
}

.cal-day:hover:not(.empty) {
    background-color: var(--bg-light);
    color: var(--accent-orange);
}

.cal-day.active {
    background-color: var(--accent-orange);
    color: white;
}

.cal-day.disabled {
    color: #cbd5e1;
    /* Gray text */
    cursor: not-allowed;
    background: transparent;
    /* No hover effect */
    opacity: 0.5;
}

.cal-day.disabled:hover {
    background-color: transparent;
    color: #cbd5e1;
}

.cal-day.empty {
    cursor: default;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    /* Reduced from 0.9rem to match calendar */
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    /* Reduced padding */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
    background: white;
    transition: border-color 0.2s;
    height: 38px;
    /* Fixed height for consistency */
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(233, 77, 64, 0.1);
}

/* Specific adjustment for the button inside the form to match */
.booking-form-wrapper .btn-primary {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer (Minimalist) */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 1.5rem 0;
    /* Huge reduction from 4rem */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Safe wrapping for mobile */
    gap: 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-text-small {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.logo-text-small span {
    color: var(--accent-orange);
}

.copyright-text {
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-orange);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

.footer-link-small {
    color: #64748b;
    font-size: 0.8rem;
}

.footer-link-small:hover {
    color: white;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonial-card {
    background: var(--bg-light);
    /* Slight warm tint */
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--brand-coral);
    /* Brand Coral for the quote */
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-container-minimal {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: block;
        color: var(--text-primary);
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .booking-container {
        grid-template-columns: 1fr;
    }

    .booking-form-wrapper {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}

/* =========================================
   NEW ANIMATIONS
   ========================================= */

/* Stats Section */
.stats-section {
    padding: 2rem 0;
    /* Reduced vertical padding */
    background: white;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Reduced gap */
    flex-wrap: wrap;
}

.stat-card {
    background: #fff;
    /* Removed heavy border, using subtle one or shadow instead */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    /* Reduced padding */
    text-align: center;
    min-width: 200px;
    /* Reduced min-width */
    box-shadow: var(--shadow-sm);
    /* Subtler shadow */
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-orange);
}

.stat-number {
    font-size: 2.5rem;
    /* Reduced font size from 3rem */
    font-weight: 800;
    color: var(--accent-orange);
    /* Changed to Brand Orange to match theme */
    margin-bottom: 0.25rem;
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Marquee / Logo Carousel */
.marquee-section {
    padding: 4rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--accent-orange);
}

/* Infinite Scroll Keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CountUp Placeholder Class (handled by JS) */
.counting {
    opacity: 1;
    /* Just ensuring visibility */
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    background-color: #f1f5f9;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-signature {
    margin-top: 2rem;
    font-family: 'Damion', cursive;
    /* Optional: Add google font for signature if desired, or just bold script */
    font-size: 1.5rem;
    color: var(--accent-orange);
}

/* =========================================
   ARTICLE PAGE STYLES
   ========================================= */
.article-header {
    padding: 180px 0 80px;
    background: linear-gradient(to bottom, var(--accent-orange-light) 0%, #ffffff 100%);
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-title {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.1;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    /* Added generous bottom padding */
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 2rem;
}

.article-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-quote {
    border-left: 4px solid var(--accent-orange);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.author-box {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    /* Clean separator line */
    background: transparent;
    /* No background */
    border-radius: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 48px;
    /* Much smaller (was 80px) */
    height: 48px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

/* =========================================
   LEAD MAGNET / PROMO SECTION
   ========================================= */
.promo-section {
    background-color: var(--text-primary);
    /* Dark background for contrast */
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.promo-content {
    max-width: 600px;
}

.promo-tag {
    display: inline-block;
    background: rgba(234, 88, 12, 0.2);
    color: var(--accent-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.promo-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.promo-text {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.promo-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.promo-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
}

.promo-input::placeholder {
    color: #94a3b8;
}

.promo-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.1);
}

.promo-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

.promo-visual {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
}

@media (max-width: 900px) {
    .promo-container {
        flex-direction: column;
        text-align: center;
    }

    .promo-form {
        flex-direction: column;
    }

    .promo-visual {
        display: none;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 350px;
    }

    .article-title {
        font-size: 2.5rem;
    }
}