@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --primary-color: #ff3366;
    --bg-color: #0f0f13;
    --card-bg: #1a1a24;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
body {
    background: radial-gradient(circle at top center, rgba(255, 51, 102, 0.15) 0%, var(--bg-color) 60%) no-repeat fixed;
    background-color: var(--bg-color);
}
.bg-glow {
    display: none; /* Removed problematic fixed div */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 3rem;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-color);
}

header .logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

header .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Responsive Header */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    header .logo {
        flex-direction: column;
        gap: 5px;
    }
    header .logo h1 {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out forwards;
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.book-us-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.book-us-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff4d79, #ff1a4d);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

/* Tip Jar Styles */
.tip-jar-card {
    margin-bottom: 2rem;
    background: linear-gradient(145deg, rgba(255,51,102,0.1), rgba(20,20,25,0.8));
    border-color: rgba(255,51,102,0.2);
}

.tip-jar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.tip-jar-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.tip-jar-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
}

.tip-methods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.tip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s, filter 0.2s;
}

.tip-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.payid-btn { background: #000000; border: 1px solid rgba(255,255,255,0.2); }
.beem-btn { background: #6b21ff; }
.paypal-btn { background: #00457C; }
.bmac-btn { background: #FFDD00; color: #000000; }

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    color: var(--primary-color);
}

/* Social Links */
.social-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-item i {
    font-size: 1.5rem;
}

.social-item .info {
    display: flex;
    flex-direction: column;
}

.social-item .name {
    display: block;
    font-weight: 600;
}

.social-item .platform {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Native Calendar Styling */
.calendar-wrapper {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.calendar-wrapper::-webkit-scrollbar {
    width: 6px;
}
.calendar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.gig-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    transition: transform 0.2s, background 0.2s;
}

.gig-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.gig-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 102, 0.1);
    color: var(--primary-color);
    min-width: 65px;
    height: 65px;
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.gig-date .month {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gig-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 2px 0;
}

.gig-details {
    flex-grow: 1;
}

.gig-details h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.gig-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

.gig-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gig-details-toggle {
    background: none;
    border: none;
    outline: none;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
    margin-top: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.gig-details-toggle:focus {
    outline: none;
}

.gig-details-toggle:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.gig-description {
    display: none;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    padding-bottom: 0.2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    animation: fadeInDesc 0.3s ease forwards;
}

@keyframes fadeInDesc {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.gig-description.expanded {
    display: block;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.subscribe-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Chatbot Widget */
.chat-hidden {
    display: none !important;
}

.chat-visible {
    display: flex !important;
}

#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideUp 0.3s ease-out forwards;
}

@media (max-width: 400px) {
    #chat-widget {
        width: 90%;
        right: 5%;
        left: 5%;
        bottom: 10px;
    }
}

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

.chat-header {
    background: rgba(255, 51, 102, 0.1);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-header h3 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header h3 i {
    color: var(--primary-color);
}

#close-chat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

#close-chat-btn:hover {
    color: var(--text-color);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-message {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--primary-color);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

#chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-family: var(--font-main);
}

#chat-input:focus {
    border-color: rgba(255, 51, 102, 0.5);
}

#send-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}

#send-btn:hover {
    transform: scale(1.1);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 15px !important;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Default order for all hero children */
.hero > * {
    order: 2;
    max-width: 100%;
}

/* Keep title and first paragraph at the very top */
.hero h2, .hero p:nth-of-type(1) {
    order: 1;
}

/* Keep tip jar at the bottom for Desktop */
.hero .tip-jar-card {
    order: 10;
    width: 100%;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Tip Jar Styles */
.tip-jar-card {
    margin-bottom: 2rem;
    background: linear-gradient(145deg, rgba(255,51,102,0.1), rgba(20,20,25,0.8));
    border-color: rgba(255,51,102,0.2);
}

.tip-jar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.tip-jar-text {
    flex: 1;
}

.tip-jar-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.tip-jar-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
}

.tip-methods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    flex: 1.5;
}

.tip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white !important;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s, filter 0.2s;
}

.tip-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.payid-btn { background: #000000; border: 1px solid rgba(255,255,255,0.2); }
.paypal-btn { background: #00457C; }
.bmac-btn { background: #FFDD00; color: #000000 !important; }

/* Mobile Calendar & Tip Fixes */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0 2rem 0;
    }
    .hero h2 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Move Tip Jar directly below the first paragraph on Mobile */
    .hero .tip-jar-card {
        order: 1;
    }
    
    .tip-jar-content {
        flex-direction: column;
        text-align: center;
    }
    .tip-methods {
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.2rem;
    }
    .gig-item {
        padding: 0.8rem;
        align-items: flex-start;
    }
    .gig-date {
        min-width: 55px;
        height: 55px;
        margin-right: 0.8rem;
        margin-top: 3px;
    }
    .gig-meta {
        flex-direction: column;
        gap: 6px;
    }
}
