/*
Theme Name: Bazmia
Theme URI: https://bazmia.com
Author: Bazmia
Author URI: https://bazmia.com
Description: Custom theme for Bazmia - The modern workspace for event planning
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bazmia
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #758eff;
    --primary-dark: #677cdf;
    --secondary: #ff8059;
    --green: #23b893;
    --green-dark: #1da07f;
    --dark: #242a2f;
    --gray-900: #242a2f;
    --gray-700: #363638;
    --gray-600: #565659;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --bg-blue-tint: #f6f6fd;
    --bg-coral-tint: #fbf4f2;
    --bg-green-tint: #f0fffa;
    --white: #FFFFFF;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --section-padding: 100px 0;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}



/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(117, 142, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.site-logo svg {
    width: 36px;
    height: 36px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-cta .btn-planner {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 50px;
}

.header-cta .btn-planner:hover {
    background: var(--green);
    color: #fff;
}

.header-cta .btn-vendor {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 50px;
}

.header-cta .btn-vendor:hover {
    background: var(--green);
    color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
    overflow: hidden;
}

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

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.1));
}

/* ===== ABOUT / INTRO SECTION ===== */
.about {
    padding: var(--section-padding);
    text-align: center;
}

.about .section-header {
    max-width: 700px;
    margin: 0 auto;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    font-size: 1.15rem;
}

/* ===== FEATURES SECTIONS (Planners & Vendors) ===== */
.features-section {
    padding: var(--section-padding);
}

.features-section.alt-bg {
    background: var(--bg-blue-tint);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-grid.reverse {
    direction: rtl;
}

.features-grid.reverse > * {
    direction: ltr;
}

.features-content h2 {
    margin-bottom: 16px;
}

.features-content > p {
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(117, 142, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-item h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-500);
}

.features-image img {
    width: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.08));
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Mobile nav */
    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--gray-200);
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .main-nav.active a {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Features */
    .features-grid,
    .features-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .features-image {
        order: -1;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 16px;
    }
}