/* ============================================
   ARTIST THEME - GAURAPRIYA YESHWANTH
   Educator | Lettering Artist | Mindset Coach
   ============================================ */

/* ============================================
   1. CSS VARIABLES - DESIGN TOKENS
   ============================================ */

:root {
    /* Brand Colors */
    --artist-primary: #8B5A5A;
    --artist-primary-light: #A67C7C;
    --artist-primary-dark: #6B4444;
    --artist-primary-rgb: 139, 90, 90;

    --artist-secondary: #5A7B8B;
    --artist-secondary-light: #7A9BAB;
    --artist-secondary-dark: #4A6B7B;
    --artist-secondary-rgb: 90, 123, 139;

    --artist-accent: #D4A574;
    --artist-accent-light: #E4C5A4;
    --artist-accent-dark: #B48554;
    --artist-accent-rgb: 212, 165, 116;

    /* Neutral Colors */
    --artist-dark: #2D2D2D;
    --artist-light: #FAF7F5;
    --artist-cream: #F5F0EB;
    --artist-muted: #8E8E8E;
    --artist-border: rgba(139, 90, 90, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    --font-accent: 'Dancing Script', cursive;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(45, 45, 45, 0.08);
    --shadow-medium: 0 8px 30px rgba(45, 45, 45, 0.12);
    --shadow-strong: 0 16px 50px rgba(45, 45, 45, 0.15);
    --shadow-glow: 0 0 40px rgba(139, 90, 90, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-modal: 1000;
    --z-toast: 1100;
}

/* ============================================
   2. BASE RESET & TYPOGRAPHY
   ============================================ */

.artist-page {
    font-family: var(--font-body);
    color: var(--artist-dark);
    background: var(--artist-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.artist-page h1,
.artist-page h2,
.artist-page h3,
.artist-page h4,
.artist-page h5,
.artist-page h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--artist-dark);
}

.artist-page .font-accent {
    font-family: var(--font-accent);
}

/* ============================================
   3. ARTIST HEADER
   ============================================ */

.artist-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.artist-header::before {
    /* Removed overlay - navbar keeps same color when scrolled */
    display: none;
}

.artist-header.scrolled::before {
    /* Disabled - no color change on scroll */
}

.artist-header.scrolled {
    box-shadow: var(--shadow-soft);
}

.artist-header_container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.artist-header_logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.artist-header_logo:hover {
    transform: translateY(-2px);
}

.artist-header_logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--artist-primary), var(--artist-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-accent);
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.artist-header_logo-text {
    display: flex;
    flex-direction: column;
}

.artist-header_logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--artist-dark);
    letter-spacing: 0.02em;
}

.artist-header_logo-tagline {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    color: var(--artist-primary);
    margin-top: -2px;
}

/* Navigation */
.artist-header_nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artist-header_nav-link {
    position: relative;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--artist-dark);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.artist-header_nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--artist-primary), var(--artist-accent));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: var(--transition-smooth);
}

.artist-header_nav-link:hover::after,
.artist-header_nav-link.active::after {
    width: 60%;
}

.artist-header_nav-link:hover {
    color: var(--artist-primary);
}

.artist-header_nav-link.active {
    color: var(--artist-primary);
    font-weight: 600;
}

/* Header Actions */
.artist-header_actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.artist-header_social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artist-header_social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--artist-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    font-size: 1.125rem;
}

.artist-header_social-link:hover {
    color: var(--artist-primary);
    background: rgba(139, 90, 90, 0.08);
    border-color: var(--artist-border);
    transform: translateY(-2px);
}

.artist-header_social-link.youtube:hover {
    color: #FF0000;
    background: rgba(255, 0, 0, 0.08);
}

.artist-header_social-link.instagram:hover {
    color: #E4405F;
    background: rgba(228, 64, 95, 0.08);
}

/* Cart & Wishlist Icons */
.artist-header_icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--artist-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.125rem;
}

.artist-header_icon-btn:hover {
    color: var(--artist-primary);
    background: rgba(139, 90, 90, 0.08);
}

.artist-header_icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--artist-primary), var(--artist-accent));
    color: white;
    box-shadow: 0 2px 8px rgba(139, 90, 90, 0.4);
}

/* Mobile Toggle */
.artist-header_mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--artist-dark);
    font-size: 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.artist-header_mobile-toggle:hover {
    background: rgba(139, 90, 90, 0.08);
    color: var(--artist-primary);
}

/* Mobile Menu */
.artist-header_mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--artist-light);
    z-index: var(--z-modal);
    padding: 2rem;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.artist-header_mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.artist-header_mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--artist-cream);
    cursor: pointer;
    color: var(--artist-dark);
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.artist-header_mobile-close:hover {
    background: var(--artist-primary);
    color: white;
}

.artist-header_mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1rem;
}

.artist-header_mobile-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--artist-dark);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.artist-header_mobile-link:hover,
.artist-header_mobile-link.active {
    color: var(--artist-primary);
    background: rgba(139, 90, 90, 0.08);
}

.artist-header_mobile-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .artist-header_nav {
        display: none;
    }

    .artist-header_mobile-toggle {
        display: flex;
    }

    .artist-header_mobile-menu {
        display: flex;
    }
}

@media (max-width: 640px) {
    .artist-header_logo-text {
        display: none;
    }

    .artist-header_social {
        display: none;
    }

    .artist-header_container {
        padding: 0 1rem;
    }
}

/* ============================================
   4. ARTIST FOOTER
   ============================================ */

.artist-footer {
    position: relative;
    background: var(--artist-dark);
    color: white;
    overflow: hidden;
}

/* Decorative Wave */
.artist-footer_wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: transparent;
    transform: translateY(-50%);
}

.artist-footer_wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%232D2D2D' d='M0,30 C360,60 720,0 1080,30 C1260,45 1350,40 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

.artist-footer_content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) 2rem var(--space-lg);
}

/* Footer Top Section */
.artist-footer_top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Column */
.artist-footer_brand {
    max-width: 320px;
}

.artist-footer_logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.artist-footer_logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--artist-primary), var(--artist-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-accent);
    font-size: 1.5rem;
}

.artist-footer_logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.artist-footer_philosophy {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: var(--artist-accent);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.artist-footer_desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Footer Links Columns */
.artist-footer_column {
    display: flex;
    flex-direction: column;
}

.artist-footer .artist-footer_heading,
.artist-page .artist-footer_heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.artist-footer_heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--artist-primary), var(--artist-accent));
    border-radius: 2px;
}

.artist-footer_links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.artist-footer_link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artist-footer_link:hover {
    color: var(--artist-accent);
    transform: translateX(5px);
}

.artist-footer_link i {
    font-size: 0.875rem;
    width: 20px;
}

/* Connect Column */
.artist-footer_connect {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.artist-footer_email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.artist-footer_email:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--artist-accent);
}

.artist-footer_email i {
    color: var(--artist-accent);
}

.artist-footer_social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.artist-footer_social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.artist-footer_social-btn:hover {
    transform: translateY(-3px);
}

.artist-footer_social-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: white;
}

.artist-footer_social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: white;
}

/* Footer Bottom */
.artist-footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.artist-footer_copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artist-footer_copyright i {
    color: var(--artist-primary);
}

.artist-footer_bottom-links {
    display: flex;
    gap: 1.5rem;
}

.artist-footer_bottom-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-fast);
}

.artist-footer_bottom-link:hover {
    color: var(--artist-accent);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .artist-footer_top {
        grid-template-columns: 1fr 1fr;
    }

    .artist-footer_brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .artist-footer_heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .artist-footer_top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .artist-footer_column {
        align-items: center;
    }

    .artist-footer_links {
        align-items: center;
    }

    .artist-footer_link:hover {
        transform: none;
    }

    .artist-footer_bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .artist-footer_content {
        padding: var(--space-lg) 1rem var(--space-md);
    }
}

/* ============================================
   5. COMMON COMPONENTS
   ============================================ */

/* Section Base */
.artist-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.artist-section_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .artist-section {
        padding: var(--space-lg) 0;
    }

    .artist-section_container {
        padding: 0 1rem;
    }
}

/* Section Headers */
.artist-section_header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.artist-section_label {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    color: var(--artist-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.artist-section_title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--artist-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.artist-section_subtitle {
    color: var(--artist-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.artist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.artist-btn--primary {
    background: linear-gradient(135deg, var(--artist-primary), var(--artist-primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 90, 90, 0.3);
}

.artist-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 90, 90, 0.4);
}

.artist-btn--secondary {
    background: transparent;
    color: var(--artist-dark);
    border: 2px solid var(--artist-border);
}

.artist-btn--secondary:hover {
    background: var(--artist-primary);
    color: white;
    border-color: var(--artist-primary);
    transform: translateY(-3px);
}

.artist-btn--accent {
    background: linear-gradient(135deg, var(--artist-accent), var(--artist-accent-dark));
    color: var(--artist-dark);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.artist-btn--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* Cards */
.artist-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   6. ANIMATIONS
   ============================================ */

/* Fade In Up */
@keyframes artistFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artist-animate-fadeInUp {
    animation: artistFadeInUp 0.8s ease forwards;
}

/* Fade In */
@keyframes artistFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.artist-animate-fadeIn {
    animation: artistFadeIn 0.6s ease forwards;
}

/* Scale In */
@keyframes artistScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.artist-animate-scaleIn {
    animation: artistScaleIn 0.5s ease forwards;
}

/* Float */
@keyframes artistFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.artist-animate-float {
    animation: artistFloat 4s ease-in-out infinite;
}

/* Stagger Animation Delays */
.artist-delay-1 {
    animation-delay: 0.1s;
}

.artist-delay-2 {
    animation-delay: 0.2s;
}

.artist-delay-3 {
    animation-delay: 0.3s;
}

.artist-delay-4 {
    animation-delay: 0.4s;
}

.artist-delay-5 {
    animation-delay: 0.5s;
}

/* Initially Hidden for Animation */
.artist-animate-ready {
    opacity: 0;
}

/* ============================================
   7. UTILITIES
   ============================================ */

.artist-text-primary {
    color: var(--artist-primary) !important;
}

.artist-text-secondary {
    color: var(--artist-secondary) !important;
}

.artist-text-accent {
    color: var(--artist-accent) !important;
}

.artist-text-dark {
    color: var(--artist-dark) !important;
}

.artist-text-muted {
    color: var(--artist-muted) !important;
}

.artist-bg-primary {
    background-color: var(--artist-primary) !important;
}

.artist-bg-secondary {
    background-color: var(--artist-secondary) !important;
}

.artist-bg-accent {
    background-color: var(--artist-accent) !important;
}

.artist-bg-light {
    background-color: var(--artist-light) !important;
}

.artist-bg-cream {
    background-color: var(--artist-cream) !important;
}

.artist-font-heading {
    font-family: var(--font-heading) !important;
}

.artist-font-accent {
    font-family: var(--font-accent) !important;
}

/* ============================================
   GLOBAL BUTTON STYLES - bg-secondary
   Applied on Cart, Checkout, and all pages
   ============================================ */

/* Primary action buttons with bg-secondary class */
.bg-secondary,
button.bg-secondary,
a.bg-secondary {
    background: linear-gradient(135deg, var(--artist-primary), var(--artist-accent)) !important;
    color: white !important;
    border: none !important;
}

.bg-secondary:hover,
button.bg-secondary:hover,
a.bg-secondary:hover {
    background: linear-gradient(135deg, #7A4A4A, #C49A6C) !important;
    box-shadow: 0 8px 25px rgba(139, 90, 90, 0.35) !important;
}

/* Ghost/Outline buttons with border-white and text-white */
/* These need visible styling on light backgrounds */
a[class*="border-white"][class*="text-white"],
button[class*="border-white"][class*="text-white"] {
    border: 1px solid var(--artist-primary) !important;
    color: var(--artist-primary) !important;
    background: transparent !important;
}

a[class*="border-white"][class*="text-white"]:hover,
button[class*="border-white"][class*="text-white"]:hover {
    background: rgba(139, 90, 90, 0.08) !important;
    border-color: var(--artist-primary-dark) !important;
    color: var(--artist-primary-dark) !important;
}

/* Ensure white text is visible on bg-secondary buttons */
.bg-secondary .text-white,
button.bg-secondary .text-white,
a.bg-secondary .text-white {
    color: white !important;
}