/* =============================================
   senggack.xyz - Watercolor Parallax Tapestry
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #6A5030;
    background-color: #FFF5E0;
    overflow-x: hidden;
}

/* --- Grain Overlay (Paper-Aged Texture) --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.06;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    filter: sepia(0.15) contrast(0.95);
}

/* --- Typography --- */
.painted-heading {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #2A1A0A;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2.painted-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #2A1A0A;
    margin-bottom: 0.75rem;
}

a {
    color: #C87941;
    text-decoration: none;
}

/* --- Underline-Draw Animation --- */
.underline-draw {
    background: linear-gradient(#C87941, #C87941) no-repeat bottom left;
    background-size: 0% 2px;
    padding-bottom: 2px;
    transition: background-size 0.4s ease;
}

.underline-draw:hover {
    background-size: 100% 2px;
}

/* --- Parallax Sections --- */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* --- Parallax Backgrounds (Layered CSS Gradients) --- */
.hero-bg {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(200, 121, 65, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(122, 154, 106, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 236, 215, 0.5) 0%, transparent 70%),
        linear-gradient(170deg, #FFF5E0 0%, #F5ECD7 50%, #FFF5E0 100%);
    background-attachment: fixed;
}

.about-bg {
    background:
        radial-gradient(ellipse at 70% 20%, rgba(200, 121, 65, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(122, 154, 106, 0.12) 0%, transparent 60%),
        linear-gradient(190deg, #F5ECD7 0%, #FFF5E0 60%, #F5ECD7 100%);
    background-attachment: fixed;
}

.features-bg {
    background:
        radial-gradient(ellipse at 40% 40%, rgba(200, 121, 65, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 70%, rgba(122, 154, 106, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(42, 26, 10, 0.04) 0%, transparent 40%),
        linear-gradient(175deg, #FFF5E0 0%, #F5ECD7 40%, #FFF5E0 100%);
    background-attachment: fixed;
}

.gallery-bg {
    background:
        radial-gradient(ellipse at 25% 60%, rgba(122, 154, 106, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 30%, rgba(200, 121, 65, 0.09) 0%, transparent 50%),
        linear-gradient(185deg, #F5ECD7 0%, #FFF5E0 50%, #F5ECD7 100%);
    background-attachment: fixed;
}

.contact-bg {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(200, 121, 65, 0.11) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(122, 154, 106, 0.07) 0%, transparent 50%),
        linear-gradient(170deg, #FFF5E0 0%, #F5ECD7 60%, #FFF5E0 100%);
    background-attachment: fixed;
}

/* --- Section Content --- */
.section-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 10vh 1.5rem;
    text-align: center;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
}

.hero-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    color: #6A5030;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

.accent-dot {
    color: #C87941;
}

/* --- Content Cards --- */
.content-card {
    background: #F5ECD7;
    border: 1px solid rgba(200, 121, 65, 0.15);
    padding: 2.5rem;
    text-align: left;
    filter: sepia(0.15) contrast(0.95);
    position: relative;
}

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

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

/* --- Diamond Accents --- */
.diamond-accent {
    width: 12px;
    height: 12px;
    background: #C87941;
    transform: rotate(45deg);
    margin: 0 auto 2rem auto;
    opacity: 0.7;
}

.diamond-accent.small {
    width: 8px;
    height: 8px;
    margin: 1rem auto 0 auto;
}

.diamond-separator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #7A9A6A;
    transform: rotate(45deg);
    margin: 0 1.25rem;
    vertical-align: middle;
    opacity: 0.6;
}

/* --- Geometric Markers --- */
.geometric-marker {
    width: 40px;
    height: 1px;
    background: #C87941;
    margin: 1.5rem auto;
    opacity: 0.5;
}

.geometric-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6A5030, transparent);
    margin: 3rem auto 0 auto;
    opacity: 0.4;
}

.card-marker {
    width: 24px;
    height: 1px;
    background: #7A9A6A;
    margin-bottom: 1.25rem;
    opacity: 0.6;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}

.feature-card {
    padding: 2rem;
}

.feature-card h3 a {
    color: #2A1A0A;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    text-align: center;
}

.gallery-placeholder {
    background: #F5ECD7;
    border: 1px solid rgba(200, 121, 65, 0.12);
    overflow: hidden;
}

.gallery-placeholder svg {
    display: block;
    width: 100%;
    height: auto;
}

.paper-aged {
    filter: sepia(0.15) contrast(0.95);
}

.gallery-label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: #6A5030;
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Contact --- */
.contact-card {
    text-align: center;
}

.contact-links {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-links a {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #C87941;
}

/* --- Footer --- */
.site-footer {
    background: #2A1A0A;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #F5ECD7;
    letter-spacing: 0.05em;
}

.site-footer .geometric-marker {
    background: #C87941;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.site-footer .diamond-accent.small {
    background: #C87941;
    opacity: 0.3;
}

/* --- Responsive --- */
@media (min-width: 600px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 599px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .diamond-separator {
        display: none;
    }

    .section-content {
        padding: 8vh 1.25rem;
    }
}
