/**
 * Intikuna - Pallay & Andean Patterns
 * 
 * Elegant decorative elements inspired by traditional Aymara 
 * Pallay textile patterns. These geometric motifs (diamonds, 
 * zigzags, stepped designs) are used sparingly for visual interest.
 */

/* =============================================================================
   PALLAY PATTERN BORDERS - SVG-based geometric Andean motifs
   ============================================================================= */

/* Pallay Diamond Border - subtle repeating diamond pattern */
.pallay-border-top,
.has-pallay-border {
    position: relative;
}

.pallay-border-top::before,
.has-pallay-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M12 0L18 6L12 12L6 6Z' fill='%23B8634B' fill-opacity='0.15'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}

/* Pallay Zigzag Border */
.pallay-zigzag {
    position: relative;
}

.pallay-zigzag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 8L4 0L8 8L12 0L16 8' fill='none' stroke='%23C9A227' stroke-width='1.5' stroke-opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

/* Pallay Stepped Border - Andean stairs motif */
.pallay-steps {
    position: relative;
}

.pallay-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath d='M0 16h8v-4h8v-4h8v-4h8v-4' fill='none' stroke='%236B5344' stroke-width='1' stroke-opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

/* =============================================================================
   DECORATIVE ACCENTS - Subtle & Refined
   ============================================================================= */

/* Thin accent line */
.inti-accent-line {
    height: 2px;
    background: var(--inti-sand, #D4C4A8);
    margin: 2rem auto;
    max-width: 300px;
    opacity: 0.6;
}

/* Section divider with symbol */
.inti-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    gap: 1.5rem;
}

.inti-divider::before,
.inti-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    max-width: 150px;
    background: var(--inti-sand, #D4C4A8);
}

.inti-divider span {
    color: var(--inti-terracotta-soft, #C9826E);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
}

/* =============================================================================
   PALLAY DECORATIVE SEPARATORS
   ============================================================================= */

/* Pallay diamond separator */
.pallay-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
    gap: 0;
}

.pallay-separator::before,
.pallay-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    max-width: 120px;
    background: var(--inti-sand, #D4C4A8);
}

.pallay-separator::before {
    margin-right: 1rem;
}

.pallay-separator::after {
    margin-left: 1rem;
}

/* Diamond icon in center */
.pallay-separator span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--inti-terracotta, #B8634B);
    transform: rotate(45deg);
    opacity: 0.6;
}

/* =============================================================================
   CHAKANA SYMBOL - Minimal Version
   ============================================================================= */

/* Small decorative chakana */
.chakana-small {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
}

.chakana-small::before,
.chakana-small::after {
    content: '';
    position: absolute;
    background: var(--inti-terracotta-soft, #C9826E);
}

.chakana-small::before {
    width: 8px;
    height: 24px;
    left: 8px;
    top: 0;
}

.chakana-small::after {
    width: 24px;
    height: 8px;
    left: 0;
    top: 8px;
}

/* =============================================================================
   SUBTLE BORDER ACCENTS
   ============================================================================= */

/* Top accent for sections */
.inti-border-accent {
    position: relative;
}

.inti-border-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--inti-terracotta-soft, #C9826E),
        var(--inti-gold-soft, #D4B85A),
        var(--inti-mountain-mist, #A8B5AD)
    );
    opacity: 0.5;
    border-radius: 1px;
}

/* Corner accent - top left */
.inti-corner-accent {
    position: relative;
}

.inti-corner-accent::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--inti-terracotta-soft, #C9826E);
    border-left: 2px solid var(--inti-terracotta-soft, #C9826E);
    opacity: 0.4;
}

/* =============================================================================
   STEPPED PATTERN - Very Subtle
   ============================================================================= */

/* Subtle stepped background for hero sections */
.inti-stepped-bg {
    position: relative;
    overflow: hidden;
}

.inti-stepped-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.03;
    background: 
        linear-gradient(135deg, transparent 75%, var(--inti-earth, #6B5344) 75%) 0 0,
        linear-gradient(225deg, transparent 75%, var(--inti-earth, #6B5344) 75%) 0 0;
    background-size: 20px 20px;
    pointer-events: none;
}

/* =============================================================================
   QUOTE DECORATION
   ============================================================================= */

/* Elegant quote styling */
.inti-quote {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--inti-gold, #C9A227);
}

.inti-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: var(--inti-gold-soft, #D4B85A);
    opacity: 0.3;
    line-height: 1;
}

/* =============================================================================
   CARD HOVER EFFECTS
   ============================================================================= */

/* Subtle lift on hover */
.inti-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inti-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(107, 83, 68, 0.1);
}

/* =============================================================================
   TEXT DECORATIONS
   ============================================================================= */

/* Highlighted text */
.inti-highlight {
    background: linear-gradient(
        180deg,
        transparent 60%,
        var(--inti-gold-soft, #D4B85A) 60%
    );
    background-size: 100% 90%;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding: 0 0.2em;
}

/* Small caps */
.inti-small-caps {
    font-variant: small-caps;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* =============================================================================
   FOOTER DECORATION
   ============================================================================= */

/* Subtle footer top border */
.inti-footer-accent::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--inti-terracotta, #B8634B),
        var(--inti-gold, #C9A227),
        var(--inti-mountain, #7A8B82),
        var(--inti-terracotta, #B8634B)
    );
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

/* Fade in animation */
.inti-fade-in {
    animation: intiFadeIn 0.6s ease forwards;
}

@keyframes intiFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle shadow */
.inti-shadow {
    box-shadow: 0 4px 20px rgba(107, 83, 68, 0.08);
}

.inti-shadow-lg {
    box-shadow: 0 12px 40px rgba(107, 83, 68, 0.12);
}

/* Rounded corners */
.inti-rounded {
    border-radius: 6px;
}

.inti-rounded-lg {
    border-radius: 12px;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 768px) {
    .inti-divider {
        margin: 2rem 0;
    }
    
    .inti-border-accent::before {
        left: 1rem;
        right: 1rem;
    }
    
    .inti-stepped-bg::before {
        width: 100px;
        height: 100px;
    }
}
