/* --- HERO TYPOGRAPHY OVERRIDES --- */
/* Import the classic serif font just for this word */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&display=swap');

.cursive-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    /* Optional: slightly enlarges the cursive font so its visual weight matches the sans-serif */
    font-size: 1.05em; 
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.primary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid white;          /* thicker white outline */
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.primary-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}

/* Initial hidden state for the animation */
.hero-title,
.hero-subtitle,
.primary-btn {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The class JavaScript will add to reveal them */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== TWO-IMAGE SPLIT WITH CLIP-PATH ===== */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;  /* ensure no background color shows through */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hardware acceleration to eliminate 1px seam */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* --- NEW: Force actual <img> tags to behave like backgrounds --- */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none; /* Prevents users from accidentally dragging the image */
    display: block; 
}

/* Left image wrapper (clips right 50%) */
.hero-image-left {
    clip-path: inset(0 var(--right-clip, 50%) 0 0);
}

/* Right image wrapper (clips left side smoothly) */
.hero-image-right {
    clip-path: inset(0 0 0 var(--left-clip, 50%));
    /* Tiny overlap to hide any remaining seam */
    left: -1px;
    width: calc(100% + 1px);
}

/* Hero text/content stays on top */
.hero-content {
    position: relative;
    z-index: 2;
}



.gold-dot {
    /* Exact matte-gold pulled from the 'Printing' reference image */
    color: #C89B3C; 
}



/* ===== HERO TO ABOUT FADE GRADIENT ===== */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh; /* Controls how tall the fade is */
    /* Fades from transparent into the exact color of the About section */
    background: linear-gradient(to bottom, transparent 0%, var(--bg-surface) 100%);
    z-index: 1; /* Sits above images (0) but below hero text (2) */
    pointer-events: none; /* Ensures it doesn't block any clicks */
}

/* MOBILE: fixed 50/50 split (no cursor tracking, clip-path locked) */
@media (max-width: 768px) {
    .hero-image-left {
        clip-path: inset(0 50% 0 0) !important;
    }
    .hero-image-right {
        clip-path: inset(0 0 0 50%) !important;
        /* Keep overlap on mobile as well to prevent seam */
        left: -1px;
        width: calc(100% + 1px);
    }
}