/* =============================================
   HAARWERK — home.css
   Homepage-specific styles: Hero, Services, About, Gallery, CTA
   ============================================= */

/* ── HERO ─────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-black);
    overflow: hidden;
}

/* Grain texture overlay */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 0;
}

/* Gold ambient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-orb--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(184,146,42,0.06) 0%, transparent 70%);
}
.hero-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(184,146,42,0.04) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* ── HERO CONTENT ─────────────────────────── */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-label {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.7s ease forwards 0.2s;
}

.hero-title {
    margin-top: var(--space-sm);
    display: flex;
    flex-direction: column;
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero-title-line {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title-line:nth-child(2) { animation-delay: 0.45s; }

.hero-title-gold {
    font-style: italic;
    background: linear-gradient(135deg,
        var(--color-gold-dim) 0%,
        var(--color-gold-bright) 45%,
        var(--color-gold) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scissors ornament */
.hero-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards 0.7s;
}
.ornament-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold-dim), transparent);
}
.hero-ornament .ornament-line:last-child {
    background: linear-gradient(90deg, transparent, var(--color-gold-dim));
}
.ornament-scissors { color: var(--color-gold); display: flex; }

.hero-text {
    font-size: 1.05rem;
    color: var(--color-white-dim);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.6s;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.75s;
}

/* Quick info strip */
.hero-info-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-black-border);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.9s;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dim);
}

.info-value {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-white);
}

.info-phone {
    text-decoration: none;
    color: var(--color-white);
    transition: color var(--transition-fast);
}
.info-phone:hover { color: var(--color-gold); }

.info-sep {
    width: 1px;
    height: 32px;
    background: var(--color-black-border);
    flex-shrink: 0;
}

/* ── HERO BRAND MARK ──────────────────────── */
.hero-brand-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.hero-circle-outer {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle-inner {
    width: 220px;
    height: 220px;
    border: 1px solid var(--color-gold-dim);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(184,146,42,0.04) 0%, transparent 70%);
    /* Double ring */
    box-shadow:
        0 0 0 10px rgba(184,146,42,0.03),
        0 0 0 20px rgba(184,146,42,0.02);
}

.hero-big-h {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(160deg, var(--color-gold-dim) 0%, var(--color-gold-bright) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-scissors-mark {
    color: var(--color-gold-dim);
    display: flex;
}

.hero-brand-sub {
    font-family: var(--font-accent);
    font-size: 0.55rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-gold-dim);
    margin-top: 4px;
}

/* Rotating text ring */
.hero-ring-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 40s linear infinite;
}

.ring-text-content {
    font-family: var(--font-accent);
    font-size: 10px;
    fill: var(--color-gold-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── SECTION SHARED ───────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}
.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-gold-dim), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── SERVICES ─────────────────────────────── */
.services-section {
    padding: var(--space-xl) 0;
    background: var(--color-black-soft);
    position: relative;
}

/* Side gold border */
.services-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--color-gold-dim) 30%, var(--color-gold-dim) 70%, transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--color-black-card);
    border: 1px solid var(--color-black-border);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-mid), transform var(--transition-mid);
    /* Staggered entrance animation */
    opacity: 0;
    transform: translateY(24px);
}

.service-card.in-view {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: calc(var(--card-index) * 0.1s);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-mid);
}

.service-card:hover {
    border-color: var(--color-gold-dim);
    transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-black-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.service-card:hover .service-icon-wrap {
    border-color: var(--color-gold-dim);
    background: rgba(184,146,42,0.05);
}

.service-title {
    font-size: 1.1rem;
    font-family: var(--font-display);
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-white-dim);
    margin-bottom: 1.2rem;
}

.service-price {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.services-cta {
    text-align: center;
}

/* ── ABOUT ────────────────────────────────── */
.about-section {
    padding: var(--space-xl) 0;
    background: var(--color-black);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Visual side */
.about-visual {
    position: relative;
}

.about-img-frame {
    position: relative;
    border: 1px solid var(--color-black-border);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-img-frame img,
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.about-img-frame:hover img { transform: scale(1.03); }

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-black-card);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.about-img-placeholder .placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-gold-dim);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* Floating badge */
.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(184,146,42,0.4);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
}

.badge-label {
    font-family: var(--font-accent);
    font-size: 0.45rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-black);
    line-height: 1.3;
    margin-top: 2px;
}

/* Shadow card behind image */
.about-img-shadow {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 1px solid var(--color-gold-dim);
    z-index: -1;
    opacity: 0.4;
}

/* Content side */
.about-ornament {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.about-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold-dim);
}
.about-scissors { color: var(--color-gold-dim); display: flex; }

.about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-white-dim);
    margin-bottom: 1rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-white-dim);
}

.feature-icon {
    color: var(--color-gold);
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* ── GALLERY PREVIEW ──────────────────────── */
.gallery-preview-section {
    padding: var(--space-xl) 0;
    background: var(--color-black-soft);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Make first item span 2 rows */
.gallery-preview-item:first-child {
    grid-row: span 2;
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--color-black-card);
    aspect-ratio: 1;
}

.gallery-preview-item:first-child .gallery-img-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-mid);
}

.gallery-overlay-icon {
    color: var(--color-gold);
    display: flex;
    transform: scale(0.7);
    transition: transform var(--transition-mid);
}

.gallery-img-wrap:hover .gallery-img { transform: scale(1.06); }
.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }
.gallery-img-wrap:hover .gallery-overlay-icon { transform: scale(1); }

.gallery-placeholder .gallery-img-wrap,
.gallery-placeholder .placeholder-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black-card);
    border: 1px solid var(--color-black-border);
    min-height: 200px;
}

.gallery-placeholder .placeholder-inner {
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-gold-dim);
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    width: 100%;
    height: 100%;
}

.gallery-preview-cta { text-align: center; }

/* ── CTA STRIP ────────────────────────────── */
.cta-strip {
    position: relative;
    padding: 5rem 0;
    background: var(--color-black-card);
    border-top: 1px solid var(--color-black-border);
    border-bottom: 1px solid var(--color-black-border);
    overflow: hidden;
}

/* Gold shimmer lines */
.cta-strip::before,
.cta-strip::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-gold-dim) 20%,
        var(--color-gold) 50%,
        var(--color-gold-dim) 80%,
        transparent 100%
    );
}
.cta-strip::before { top: 0; }
.cta-strip::after  { bottom: 0; }

.cta-strip-grain {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(184,146,42,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-strip-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-top: 0.5rem;
}

.cta-strip-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--color-gold-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.cta-phone:hover { color: var(--color-gold); }

/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container { gap: 2rem; }
    .hero-circle-outer { width: 300px; height: 300px; }
    .hero-circle-inner { width: 180px; height: 180px; }
    .hero-big-h { font-size: 4rem; }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-brand-mark { display: none; }
    .hero-ornament { justify-content: center; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-info-strip { justify-content: center; }

    .about-container { grid-template-columns: 1fr; }
    .about-visual { max-width: 400px; margin: 0 auto; }

    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-strip-actions { align-items: center; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-preview-item:first-child { grid-row: auto; }
    .hero-info-strip { gap: 1rem; }
    .info-sep { display: none; }
}
