/**
 * Page-Specific Styles
 * Homepage, Activities, Pricing, FAQ, Gallery, etc.
 */

/* ==================== HOMEPAGE ==================== */

/* Hero Section with Carousel */
.hero-carousel-section {
    margin-top: 76px;
    position: relative;
    width: 100%;
    height: 90vh;
    background: linear-gradient(135deg, rgba(26, 58, 90, 0.03) 0%, rgba(45, 141, 59, 0.03) 100%);
    overflow: hidden;
}

.hero-carousel-section .carousel {
    height: 90vh;
    position: relative;
    width: 100%;
}

.hero-carousel-section .carousel-inner {
    height: 100%;
    width: 100%;
}

.hero-carousel-section .carousel-item {
    height: 90vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Reset carousel-item for non-hero sections */
.workshop-card .carousel-item,
.activity-card .carousel-item,
section:not(.hero-carousel-section) .carousel-item {
    height: auto;
    position: static;
}

.hero-carousel-section .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.92);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 90, 0.15) 0%, rgba(45, 141, 59, 0.15) 100%);
    z-index: 1;
}

/* Modern Carousel Controls */
.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.hero-carousel-section .carousel-control-prev {
    left: 1.5rem;
}

.hero-carousel-section .carousel-control-next {
    right: 1.5rem;
}

.hero-carousel-section .carousel:hover .carousel-control-prev,
.hero-carousel-section .carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel-section .carousel-control-prev:hover,
.hero-carousel-section .carousel-control-next:hover {
    background: var(--kraken-green);
    transform: translateY(-50%) scale(1.05);
}

.hero-carousel-section .carousel-control-prev-icon,
.hero-carousel-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-color: transparent;
}

.hero-carousel-section .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.hero-carousel-section .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.hero-carousel-section .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel-section .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Modern Carousel Indicators */
.hero-carousel-section .carousel-indicators {
    bottom: 2rem;
    z-index: 2;
}

.hero-carousel-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 0;
    transition: all 0.3s ease;
}

.hero-carousel-section .carousel-indicators button.active {
    background-color: var(--kraken-green);
    width: 32px;
    border-radius: 5px;
}

/* Content Section */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.hero-content {
    background: white;
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    margin-top: calc(-15vh);
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    color: var(--deep-blue);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.hero-content h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--kraken-green), var(--kraken-green-light));
    border-radius: 4px;
}

.hero-content p {
    color: var(--neutral-800);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

/* Features List */
.features-list p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.features-list i {
    color: var(--kraken-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--kraken-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.stat-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, white 100%);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.news-section h2 {
    color: var(--deep-blue);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--kraken-green), var(--kraken-red));
    border-radius: 2px;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    color: var(--deep-blue);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--kraken-green), var(--kraken-green-light));
    border-radius: 4px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ==================== PAGE HEADERS ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--kraken-green) 100%);
    color: white;
    padding: calc(76px + var(--spacing-xl)) 0 var(--spacing-xl) 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== FAQ PAGE ==================== */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-category {
    margin-bottom: var(--spacing-xl);
}

.faq-category h2 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-category h2 i {
    color: var(--kraken-green);
}

.accordion-item {
    border: 1px solid var(--neutral-200);
    border-radius: 12px !important;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--deep-blue);
    background: white;
    padding: var(--spacing-md);
}

.accordion-button:not(.collapsed) {
    background: var(--neutral-50);
    color: var(--kraken-green);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--kraken-green);
}

.accordion-body {
    padding: var(--spacing-md);
    color: var(--neutral-800);
    line-height: 1.8;
}

/* ==================== GALLERY PAGE ==================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--neutral-200);
    background: white;
    border-radius: 50px;
    font-weight: 500;
    color: var(--neutral-800);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--kraken-green);
    background: var(--kraken-green);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: white;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--kraken-green);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ==================== PRICING PAGE ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--neutral-200);
    transition: all 0.3s ease;
}

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

.price-card.featured {
    border-color: var(--kraken-green);
    position: relative;
}

.price-card.featured::before {
    content: "Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--kraken-green);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-card h3 {
    color: var(--deep-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--kraken-green);
    margin-bottom: var(--spacing-md);
}

.price-amount span {
    font-size: 1rem;
    color: var(--neutral-800);
    font-weight: 400;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.price-features li {
    padding: var(--spacing-xs) 0;
    color: var(--neutral-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li i {
    color: var(--kraken-green);
}

/* ==================== WORKSHOP CARDS ==================== */
.workshop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.workshop-card-image {
    height: 250px;
    overflow: hidden;
}

.workshop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-card-content {
    padding: var(--spacing-lg);
}

.workshop-card h3 {
    color: var(--deep-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.workshop-meta span {
    background: var(--neutral-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--neutral-800);
}

.workshop-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kraken-green);
}

/* ==================== PRICING PAGE EXTENDED ==================== */

/* Pricing Hero */
.pricing-hero {
    background: linear-gradient(135deg, var(--deep-blue-dark) 0%, var(--deep-blue) 50%, var(--kraken-green) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* Pricing Section Container */
.pricing-section {
    background: white;
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-xl);
}

/* Hours Grid */
.hours-grid {
    display: grid;
    gap: var(--spacing-md);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--neutral-50);
    border-radius: 12px;
    border-left: 4px solid var(--kraken-green);
}

.hours-item .day {
    font-weight: 600;
    color: var(--deep-blue);
}

.hours-item .time {
    color: var(--neutral-800);
    font-weight: 500;
}

/* Price Card - Highlight Variant */
.price-card.highlight {
    border-color: var(--kraken-green);
    background: linear-gradient(135deg, rgba(45, 141, 59, 0.05) 0%, white 100%);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.price-card.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(to bottom, var(--kraken-green), var(--kraken-green-light));
}

.price-card.highlight h3 {
    text-align: left;
}

.price-amount .currency {
    font-size: 1.5rem;
}

.price-amount .period {
    font-size: 1rem;
    color: var(--neutral-800);
    font-weight: 500;
}

/* Discount Badge */
.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--kraken-red), #d62828);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* Discount List */
.discount-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.discount-list li {
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.discount-list li i {
    margin-top: 4px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Persona Cards */
.persona-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--neutral-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.persona-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--kraken-green);
}

.persona-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--kraken-green), var(--kraken-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(45, 141, 59, 0.25);
}

.persona-title {
    color: var(--deep-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.persona-subtitle {
    color: var(--kraken-green);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.persona-body {
    color: var(--neutral-800);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.persona-cta {
    background: linear-gradient(135deg, var(--kraken-green), var(--kraken-green-light));
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 14px rgba(45, 141, 59, 0.25);
}

.persona-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 141, 59, 0.35);
    color: white;
}

.persona-tagline {
    text-align: center;
    color: var(--kraken-green);
    font-weight: 600;
    font-style: italic;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

/* Terms Alert */
.terms-alert {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.1) 0%, rgba(72, 202, 228, 0.05) 100%);
    border: 2px solid var(--aqua-blue);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.terms-alert h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Important Notice Card */
.notice-card {
    background: linear-gradient(135deg, var(--deep-blue-dark) 0%, var(--deep-blue) 100%);
    color: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-top: var(--spacing-lg);
}

.notice-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.notice-card p {
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Co-Working Pass Cards */
.coworking-pass-card {
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.coworking-pass-card:hover {
    border-color: var(--kraken-green);
    box-shadow: var(--shadow-sm);
}

.coworking-pass-card.highlight-pass {
    border-color: var(--kraken-green);
    background: linear-gradient(135deg, rgba(45, 141, 59, 0.05) 0%, white 100%);
}

.price-badge {
    background: linear-gradient(135deg, var(--kraken-green), var(--kraken-green-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-block;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-carousel-section {
        margin-top: 70px;
        height: 60vh;
    }

    .hero-carousel-section .carousel,
    .hero-carousel-section .carousel-item {
        height: 60vh;
    }

    .hero-content {
        padding: var(--spacing-lg);
        margin-top: calc(-10vh);
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-section .btn {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-md);
    }

    .stat-desc {
        font-size: 0.75rem;
    }

    .stat-item {
        padding: var(--spacing-xs);
    }

    .info-card .row.text-center {
        flex-direction: column;
    }

    .info-card .row.text-center .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }

    .info-card .row.text-center .col-6:last-child {
        margin-bottom: 0;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

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

    /* Pricing Page Mobile */
    .pricing-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .persona-card {
        margin-bottom: var(--spacing-md);
    }

    .persona-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .persona-title {
        font-size: 1.25rem;
    }

    .terms-alert {
        padding: var(--spacing-md);
    }

    .notice-card {
        padding: var(--spacing-md);
    }
}
