/* ================================
   Senseless Violets Boutique
   Vintage Greeting Card & Wallpaper Aesthetic
   Inspired by Victorian/Edwardian Era Postcards
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --violet: #8b7ba8;
    --violet-dark: #5d4e6d;
    --violet-light: #b8a9c9;
    --turquoise: #7fb3b0;
    --turquoise-light: #a8d5d3;
    --mint: #c8e5e3;
    --cream: #f9f6f0;
    --ivory: #fdf8f0;
    --sepia: #8b7355;
    --gold: #d4af37;
    --rose: #d8a7b1;
    --sage: #9eb09a;
    --vintage-white: #fefdfb;
    --text-dark: #4a3f35;
}

body {
    font-family: 'Comic Neue', 'Palatino', 'Georgia', serif;
    background-color: var(--cream);
    /* Vintage wallpaper pattern with florals and damask */
    background-image:
        /* Floral violet pattern */
        radial-gradient(circle at 20% 20%, rgba(139, 123, 168, 0.08) 0%, transparent 15%),
        radial-gradient(circle at 80% 30%, rgba(139, 123, 168, 0.06) 0%, transparent 12%),
        radial-gradient(circle at 40% 60%, rgba(127, 179, 176, 0.07) 0%, transparent 18%),
        radial-gradient(circle at 70% 80%, rgba(139, 123, 168, 0.05) 0%, transparent 14%),
        radial-gradient(circle at 15% 90%, rgba(127, 179, 176, 0.06) 0%, transparent 16%),
        /* Small dotted stipple pattern */
        radial-gradient(circle at 50% 50%, rgba(139, 115, 85, 0.03) 0%, transparent 1px),
        /* Lace-like pattern */
        repeating-radial-gradient(
            circle at 0 0,
            transparent 0,
            rgba(139, 123, 168, 0.02) 10px,
            transparent 20px
        ),
        /* Subtle paper texture */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 115, 85, 0.01) 2px,
            rgba(139, 115, 85, 0.01) 4px
        ),
        linear-gradient(135deg, #f9f6f0 0%, #fdf8f0 50%, #f9f6f0 100%);
    background-size:
        200px 200px,
        180px 180px,
        220px 220px,
        190px 190px,
        210px 210px,
        3px 3px,
        40px 40px,
        100% 100%,
        100% 100%;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

/* Vintage aging overlay with spots and foxing */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        /* Age spots / foxing */
        radial-gradient(ellipse at 10% 15%, rgba(139, 115, 85, 0.08) 0%, transparent 4%),
        radial-gradient(circle at 85% 25%, rgba(139, 115, 85, 0.06) 0%, transparent 3%),
        radial-gradient(ellipse at 45% 55%, rgba(139, 115, 85, 0.05) 0%, transparent 5%),
        radial-gradient(circle at 75% 85%, rgba(139, 115, 85, 0.07) 0%, transparent 4%),
        radial-gradient(ellipse at 25% 95%, rgba(139, 115, 85, 0.06) 0%, transparent 3%),
        radial-gradient(circle at 92% 60%, rgba(139, 115, 85, 0.05) 0%, transparent 3%),
        /* Delicate sparkles like embossing */
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.09) 0%, transparent 2px);
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        150px 150px,
        200px 200px,
        180px 180px;
    animation: subtle-shimmer 4s ease-in-out infinite;
    opacity: 0.8;
    z-index: -1;
}

@keyframes subtle-shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.9; }
}

/* Hero banner at top of page */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(139, 123, 168, 0.2);
}

/* Header with navigation */
header {
    background: linear-gradient(180deg,
        rgba(139, 123, 168, 0.15) 0%,
        rgba(127, 179, 176, 0.12) 50%,
        rgba(139, 123, 168, 0.15) 100%);
    background-color: var(--ivory);
    padding: 0;
    text-align: center;
    border-bottom: 8px double var(--turquoise);
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.7),
        inset 0 -4px 8px rgba(139, 123, 168, 0.2),
        0 6px 12px rgba(139, 123, 168, 0.15);
    position: relative;
    background-image:
        radial-gradient(circle, rgba(139, 123, 168, 0.02) 1px, transparent 1px);
    background-size: 4px 4px;
    background-repeat: repeat;
}

/* Header navigation bar with About, Location, Contact */
.header-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    background-image:
        radial-gradient(circle, rgba(139, 115, 85, 0.02) 1px, transparent 1px);
    background-size: 3px 3px;
    border-top: 2px dotted var(--violet-light);
    border-bottom: 2px dotted var(--turquoise-light);
}

.nav-item {
    text-align: center;
    padding: 1rem;
    background: rgba(184, 169, 201, 0.08);
    border: 2px solid rgba(139, 123, 168, 0.2);
    border-radius: 10px;
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.8),
        0 2px 6px rgba(139, 123, 168, 0.1);
}

.nav-item h3 {
    color: var(--violet-dark);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: 'Palatino', 'Georgia', serif;
    text-shadow:
        1px 1px 2px rgba(255, 255, 255, 0.9),
        2px 2px 4px rgba(139, 123, 168, 0.15);
}

.nav-item p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0;
    font-family: 'Georgia', serif;
}

.nav-item .hours {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--sepia);
}

.nav-item a {
    color: var(--violet-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: var(--rose);
    text-decoration: underline;
}

.nav-item .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.nav-item .social-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    width: 100%;
    justify-content: center;
}

/* Decorative border bar with scalloped edge effect */
.rainbow-bar {
    height: 12px;
    background: linear-gradient(90deg,
        var(--violet) 0%,
        var(--rose) 20%,
        var(--turquoise) 40%,
        var(--sage) 60%,
        var(--violet-light) 80%,
        var(--violet) 100%);
    position: relative;
    /* Scalloped edge effect */
    background-image:
        repeating-radial-gradient(
            circle at 0 0,
            transparent 0,
            rgba(255, 255, 255, 0.3) 5px,
            transparent 10px
        );
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(139, 123, 168, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.section {
    margin: 2.5rem 0;
}

/* Vintage postcard-style content boxes */
.border-box {
    background: var(--vintage-white);
    background-image:
        /* Corner flourishes */
        radial-gradient(circle at 3% 3%, rgba(139, 123, 168, 0.12) 0%, transparent 8%),
        radial-gradient(circle at 97% 3%, rgba(127, 179, 176, 0.12) 0%, transparent 8%),
        radial-gradient(circle at 3% 97%, rgba(127, 179, 176, 0.12) 0%, transparent 8%),
        radial-gradient(circle at 97% 97%, rgba(139, 123, 168, 0.12) 0%, transparent 8%),
        /* Subtle floral pattern */
        radial-gradient(circle at 30% 30%, rgba(139, 123, 168, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(127, 179, 176, 0.03) 0%, transparent 20%),
        /* Paper texture */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 115, 85, 0.01) 2px,
            rgba(139, 115, 85, 0.01) 4px
        );
    background-size:
        25% 25%,
        25% 25%,
        25% 25%,
        25% 25%,
        150px 150px,
        150px 150px,
        100% 100%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, repeat;
    /* Ornate scalloped border */
    border: 6px solid var(--violet-light);
    border-image:
        repeating-linear-gradient(
            45deg,
            var(--violet-light),
            var(--violet-light) 10px,
            var(--turquoise-light) 10px,
            var(--turquoise-light) 20px
        ) 6;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.8),
        inset 0 0 10px rgba(139, 123, 168, 0.1),
        5px 5px 20px rgba(139, 123, 168, 0.2),
        0 0 0 1px rgba(139, 123, 168, 0.1);
    position: relative;
}

/* Decorative corner ornaments */
.border-box::before,
.border-box::after {
    content: '✿';
    position: absolute;
    font-size: 1.8rem;
    color: var(--violet);
    opacity: 0.25;
}

.border-box::before {
    top: 0.8rem;
    left: 0.8rem;
}

.border-box::after {
    bottom: 0.8rem;
    right: 0.8rem;
}

.border-box h2 {
    color: var(--violet-dark);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.8rem;
    font-family: 'Palatino', 'Georgia', serif;
    /* Embossed greeting card text */
    text-shadow:
        2px 2px 0px rgba(255, 255, 255, 0.9),
        -1px -1px 0px rgba(139, 123, 168, 0.2),
        3px 3px 6px rgba(139, 123, 168, 0.15);
    /* Decorative underline */
    border-bottom: 2px dotted var(--turquoise);
    padding-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.content-box {
    background: rgba(255, 255, 255, 0.6);
    background-image:
        /* Delicate lined paper effect */
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 28px,
            rgba(139, 123, 168, 0.04) 28px,
            rgba(139, 123, 168, 0.04) 30px
        ),
        /* Stipple texture */
        radial-gradient(circle, rgba(139, 115, 85, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 3px 3px;
    padding: 2rem;
    border: 2px solid rgba(139, 123, 168, 0.2);
    border-radius: 12px;
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.9),
        inset 0 0 5px rgba(139, 123, 168, 0.05),
        0 2px 8px rgba(139, 123, 168, 0.08);
}

.content-box p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-family: 'Georgia', serif;
}

/* Contact information cards */
.location-info, .contact-info {
    display: grid;
    gap: 1.8rem;
}

.info-item {
    background: rgba(184, 169, 201, 0.08);
    background-image:
        radial-gradient(circle, rgba(139, 123, 168, 0.02) 1px, transparent 1px);
    background-size: 4px 4px;
    padding: 1.5rem;
    border: 2px dotted var(--violet-light);
    border-radius: 10px;
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.8),
        0 3px 8px rgba(139, 123, 168, 0.1);
}

.info-item strong {
    color: var(--violet-dark);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.phone-number {
    text-align: center;
    font-size: 1.6rem;
    margin: 1.5rem 0;
}

.phone-link {
    color: var(--violet-dark);
    font-weight: 700;
    text-decoration: none;
    border: 3px solid var(--turquoise-light);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    background: linear-gradient(135deg,
        rgba(168, 213, 211, 0.25) 0%,
        rgba(184, 169, 201, 0.2) 100%);
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        2px 3px 8px rgba(139, 123, 168, 0.15);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
    font-family: 'Georgia', serif;
}

.phone-link:hover {
    background: linear-gradient(135deg,
        rgba(216, 167, 177, 0.35) 0%,
        rgba(184, 169, 201, 0.3) 100%);
    border-color: var(--rose);
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        3px 4px 12px rgba(139, 123, 168, 0.25);
}

/* Social media with vintage styling */
.social-media {
    margin-top: 2.5rem;
    text-align: center;
}

.social-media h3 {
    color: var(--violet-dark);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-family: 'Palatino', 'Georgia', serif;
    text-shadow:
        1px 1px 2px rgba(255, 255, 255, 0.9),
        2px 2px 4px rgba(139, 123, 168, 0.15);
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border: 3px solid;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.5),
        3px 3px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.social-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, 0.6),
        4px 6px 14px rgba(0, 0, 0, 0.2);
}

.social-btn:hover i {
    transform: scale(1.1);
}

.instagram {
    background: linear-gradient(135deg,
        rgba(139, 123, 168, 0.35) 0%,
        rgba(184, 169, 201, 0.3) 100%);
    color: var(--violet-dark);
    border-color: var(--violet-light);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.instagram:hover {
    background: linear-gradient(135deg,
        rgba(216, 167, 177, 0.45) 0%,
        rgba(139, 123, 168, 0.4) 100%);
    border-color: var(--rose);
}

.pinterest {
    background: linear-gradient(135deg,
        rgba(127, 179, 176, 0.3) 0%,
        rgba(168, 213, 211, 0.35) 100%);
    color: var(--violet-dark);
    border-color: var(--turquoise-light);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.pinterest:hover {
    background: linear-gradient(135deg,
        rgba(216, 167, 177, 0.45) 0%,
        rgba(127, 179, 176, 0.4) 100%);
    border-color: var(--rose);
}

/* Visitor counter in footer */
.counter-text {
    font-weight: 600;
    color: var(--sepia);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* Footer with greeting card styling */
footer {
    background: linear-gradient(180deg,
        rgba(139, 123, 168, 0.15) 0%,
        rgba(127, 179, 176, 0.12) 50%,
        rgba(139, 123, 168, 0.15) 100%);
    background-color: var(--ivory);
    background-image:
        /* Floral corner patterns */
        radial-gradient(circle at 10% 50%, rgba(139, 123, 168, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 90% 50%, rgba(127, 179, 176, 0.1) 0%, transparent 15%),
        /* Stipple */
        radial-gradient(circle, rgba(139, 115, 85, 0.02) 1px, transparent 1px);
    background-size:
        100px 100px,
        100px 100px,
        3px 3px;
    color: var(--text-dark);
    text-align: center;
    padding: 2.5rem 1rem;
    border-bottom: 8px double var(--violet);
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.7),
        inset 0 -4px 8px rgba(139, 123, 168, 0.15);
}

.footer-content p {
    margin: 0.8rem 0;
    font-family: 'Georgia', serif;
}

.footer-note {
    font-style: italic;
    color: var(--sepia);
    font-size: 1.05rem;
}

/* ================================
   MOBILE RESPONSIVE STYLES
   ================================ */

@media (max-width: 768px) {
    .header-nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .border-box {
        padding: 1.5rem;
    }

    .border-box h2 {
        font-size: 1.7rem;
    }

    .content-box {
        padding: 1.2rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .phone-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .border-box h2 {
        font-size: 1.4rem;
    }

    .content-box p {
        font-size: 1rem;
    }
}
