/* 
 * YogaClasses.in - Modern Yoga Website
 * Color Scheme: White with Orange Accents
 */

/* CSS Variables for consistent theming */
:root {
    --primary-orange: #ff6b35;
    --light-orange: #ff8c61;
    --dark-orange: #e85a2b;
    --pale-orange: #fff3ed;
    --soft-orange: #ffe5d9;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --border-color: #eeeeee;
    --shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
    --shadow-hover: 0 4px 20px rgba(255, 107, 53, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--white) 0%, var(--pale-orange) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

h2 {
    font-size: 2rem;
    color: var(--dark-orange);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
}

.logo:hover {
    color: var(--dark-orange);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--soft-orange);
    color: var(--primary-orange);
    text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-orange) 100%);
    padding: 4rem 20px;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    animation: fadeIn 1.5s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Main Content */
main {
    padding: 3rem 20px;
    min-height: 60vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* City Links Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.city-card {
    background: var(--soft-orange);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.city-card a {
    color: var(--dark-orange);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

/* Info Links */
.info-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.info-link {
    background: var(--pale-orange);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.info-link:hover {
    background: var(--soft-orange);
    transform: translateX(10px);
}

.info-link a {
    color: var(--dark-orange);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Disclaimer Box */
.disclaimer {
    background: var(--pale-orange);
    border-left: 4px solid var(--primary-orange);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.disclaimer h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.disclaimer ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.disclaimer li {
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    background: var(--soft-orange);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.contact-email {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-orange);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-orange) 100%);
    color: var(--white);
    margin-top: 4rem;
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.cookie-notice {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-accept-btn {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Yoga Poses Collage */
.yoga-poses-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.yoga-poses-collage img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.yoga-poses-collage img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* City Filter Tabs */
.city-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--pale-orange);
    border-color: var(--light-orange);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.filter-btn .count {
    font-size: 0.85em;
    opacity: 0.9;
}

/* Loading and Error States */
.loading-state,
.error-state,
.no-results {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    margin: 2rem 0;
}

.loading-state p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.error-state p {
    font-size: 1.1rem;
    color: #dc3545;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* Yoga Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Yoga Class Card */
.yoga-class-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.yoga-class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.class-header h3 {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-bottom: 0;
    flex: 1;
}

.city-badge {
    background: var(--soft-orange);
    color: var(--dark-orange);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Class Details */
.class-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.detail-content {
    flex: 1;
    line-height: 1.6;
}

.detail-content strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.detail-content p {
    color: var(--text-medium);
    margin: 0;
}

.experience {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.price {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-row {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.contact-row a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-row a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* City Directory Intro */
.city-directory-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* City Cards Grid */
.city-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* City Card */
.city-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--light-orange);
}

.city-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.city-card-header {
    background: linear-gradient(135deg, var(--soft-orange) 0%, var(--pale-orange) 100%);
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.city-card-header h3 {
    font-size: 1.5rem;
    color: var(--dark-orange);
    margin-bottom: 0.25rem;
}

.city-state {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 500;
}

.city-card-content {
    padding: 1.5rem;
}

.city-classes-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 0.75rem;
}

.city-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.city-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.explore-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.city-card:hover .explore-btn {
    background: var(--dark-orange);
    transform: translateX(5px);
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-medium);
    margin: 0 0.5rem;
}

/* City Page Header */
.city-page-header {
    background: linear-gradient(135deg, var(--soft-orange) 0%, var(--pale-orange) 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.city-page-header h1 {
    color: var(--dark-orange);
    margin-bottom: 0.5rem;
}

.city-page-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }

    .yoga-poses-collage {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .yoga-poses-collage img {
        height: 300px;
    }

    .city-filter {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .classes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .city-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .city-directory-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

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

    .content-wrapper {
        padding: 1rem;
    }
}
