/**
 * Page Builder - Dedicated Stylesheet
 * Stiluri pentru paginile create cu Page Builder
 * Izolate de main.css pentru a evita conflicte
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --pb-primary: #fbb71b;
    --pb-primary-dark: #e0a516;
    --pb-bg-dark: #1a1a1a;
    --pb-bg-darker: #0d0d0d;
    --pb-bg-card: rgba(30, 30, 30, 0.8);
    --pb-text-light: #ffffff;
    --pb-text-muted: #999999;
    --pb-text-body: #cccccc;
    --pb-border-color: rgba(255, 255, 255, 0.1);
    --pb-border-radius: 16px;
    --pb-max-width: 1200px;
    --pb-transition: all 0.3s ease;
}

/* ============================================
   Override main.css conflicts for Page Builder content
   ============================================ */

/* Reset container styles that may come from main.css */
.pb-page .pb-page-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 0; /* Header spacing handled separately */
}

.pb-page .pb-page-content {
    width: 100%;
    max-width: none;
    margin: 0;
}

.pb-page .pb-content {
    width: 100%;
    max-width: none;
}

.pb-page .pb-container {
    width: 100%;
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Ensure footer stays at full width */
.pb-page footer,
.pb-page .site-footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Override main.css .container that might affect sections */
.pb-page .section-wrapper .container,
.pb-page .admin-about-section .container,
.pb-page .admin-services-section .container,
.pb-page .admin-gallery-section .container,
.pb-page .admin-testimonials-section .container,
.pb-page .admin-contact-section .container,
.pb-page .admin-blog-section .container {
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ============================================
   Base Reset for Page Builder Pages
   ============================================ */
.pb-page {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--pb-bg-dark);
    color: var(--pb-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll from full-width sections */
}

.pb-page *,
.pb-page *::before,
.pb-page *::after {
    box-sizing: inherit;
}

/* ============================================
   Container System
   ============================================ */
.pb-container {
    width: 100%;
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pb-container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

/* ============================================
   Page Content Wrapper
   ============================================ */
.pb-page-wrapper {
    padding-top: 80px; /* Space for fixed header */
    min-height: calc(100vh - 80px);
    overflow-x: hidden; /* Prevent horizontal scroll from full-width sections */
}

.pb-page-content {
    position: relative;
    min-height: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll from full-width sections */
}

.pb-content {
    padding: 2rem 0;
}

.pb-content-inner {
    padding: 2rem 0;
}

/* ============================================
   Section Wrapper System (for Page Builder sections)
   ============================================ */
.section-wrapper,
.pb-section-wrapper {
    position: relative;
    overflow: hidden;
}

.section-wrapper .wrapper-content,
.pb-section-wrapper .pb-section-content {
    position: relative;
    z-index: 2;
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Full Width Section - Legacy support */
.wrapper-full-width,
.pb-section-full {
    width: 100%;
}

.wrapper-full-width .wrapper-content,
.pb-section-full .pb-section-content {
    max-width: 100%;
    padding: 0;
}

.wrapper-full-width .container,
.pb-section-full .pb-container {
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NEW: Separate Background and Content Layout
   ============================================ */

/* Background Full Width - section background spans full viewport */
.wrapper-bg-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Background Boxed - section background respects container */
.wrapper-bg-boxed {
    width: 100%;
    max-width: var(--pb-max-width);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--pb-border-radius);
}

/* Content Full Width - content spans full width */
.wrapper-content-full .wrapper-content {
    max-width: 100%;
    padding: 0 1.5rem;
}

/* Content Boxed - content respects max-width */
.wrapper-content-boxed .wrapper-content {
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Combined: Full BG + Boxed Content (most common for sections) */
.wrapper-bg-full.wrapper-content-boxed .wrapper-content {
    max-width: var(--pb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Combined: Boxed BG + Full Content */
.wrapper-bg-boxed.wrapper-content-full .wrapper-content {
    max-width: 100%;
    padding: 0;
}

/* Section Overlay */
.wrapper-overlay,
.pb-section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Admin Sections - Common styles */
.admin-hero-section,
.admin-about-section,
.admin-services-section,
.admin-gallery-section,
.admin-testimonials-section,
.admin-contact-section,
.admin-blog-section,
.admin-products-section,
.admin-promotions-section {
    width: 100%;
}

/* ============================================
   Typography
   ============================================ */
.pb-page h1, .pb-page h2, .pb-page h3,
.pb-page h4, .pb-page h5, .pb-page h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pb-primary);
}

.pb-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.pb-page h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.pb-page h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.pb-page h4 { font-size: 1.5rem; }
.pb-page h5 { font-size: 1.25rem; }
.pb-page h6 { font-size: 1rem; }

.pb-page p {
    margin: 0 0 1rem 0;
    color: var(--pb-text-body);
}

.pb-page a {
    color: var(--pb-primary);
    text-decoration: none;
    transition: var(--pb-transition);
}

.pb-page a:hover {
    color: var(--pb-primary-dark);
}

/* Section Titles */
.pb-section-title {
    font-size: 2.5rem;
    color: var(--pb-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.pb-section-subtitle {
    font-size: 1.1rem;
    color: var(--pb-text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* ============================================
   Buttons
   ============================================ */
.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--pb-transition);
}

.pb-btn-primary {
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-primary-dark));
    color: #000;
}

.pb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 183, 27, 0.3);
    color: #000;
}

.pb-btn-secondary {
    background: transparent;
    color: var(--pb-text-light);
    border: 2px solid var(--pb-border-color);
}

.pb-btn-secondary:hover {
    border-color: var(--pb-primary);
    color: var(--pb-primary);
}

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

.pb-btn-outline:hover {
    background: var(--pb-primary);
    color: #000;
}

/* ============================================
   Cards
   ============================================ */
.pb-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    border: 1px solid var(--pb-border-color);
    overflow: hidden;
    transition: var(--pb-transition);
}

.pb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 183, 27, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pb-card-flat {
    border-radius: 0;
    box-shadow: none;
}

.pb-card-bordered {
    background: transparent;
    border: 2px solid var(--pb-border-color);
}

.pb-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pb-card:hover .pb-card-image img {
    transform: scale(1.05);
}

.pb-card-body {
    padding: 1.5rem;
}

.pb-card-title {
    font-size: 1.25rem;
    color: var(--pb-text-light);
    margin-bottom: 0.5rem;
}

.pb-card-text {
    color: var(--pb-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Grid System
   ============================================ */
.pb-grid {
    display: grid;
    gap: 2rem;
}

.pb-grid-1 { grid-template-columns: 1fr; }
.pb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pb-grid-4 { grid-template-columns: repeat(4, 1fr); }

.pb-grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 992px) {
    .pb-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pb-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pb-grid-4,
    .pb-grid-3,
    .pb-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   Hero Section
   ============================================ */
.pb-hero,
.admin-hero-section,
.custom-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 4rem 1.5rem;
    width: 100%;
}

/* Hero outside of wrapper - Full width by default */
.pb-page > .admin-hero-section,
.pb-page > .custom-hero-section {
    margin-top: 0;
    width: 100%;
}

.pb-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.pb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.pb-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--pb-primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.pb-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pb-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.pb-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: pb-bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pb-hero-scroll:hover {
    color: var(--pb-primary);
}

@keyframes pb-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hero responsive */
@media (max-width: 768px) {
    .pb-hero,
    .admin-hero-section {
        min-height: 80vh;
        background-attachment: scroll !important;
    }

    .pb-hero-title {
        font-size: 2.5rem !important;
    }

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

/* ============================================
   Services Section
   ============================================ */
.pb-services {
    padding: 5rem 0;
}

.pb-service-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    overflow: hidden;
    border: 1px solid var(--pb-border-color);
    transition: var(--pb-transition);
}

.pb-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--pb-primary);
}

.pb-service-image {
    height: 200px;
    overflow: hidden;
}

.pb-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pb-service-card:hover .pb-service-image img {
    transform: scale(1.1);
}

.pb-service-content {
    padding: 1.5rem;
}

.pb-service-name {
    font-size: 1.3rem;
    color: var(--pb-text-light);
    margin-bottom: 0.5rem;
}

.pb-service-desc {
    color: var(--pb-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pb-service-price {
    display: block;
    color: var(--pb-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pb-service-link {
    color: var(--pb-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pb-service-link:hover {
    gap: 1rem;
}

/* ============================================
   Gallery Section
   ============================================ */
.pb-gallery {
    padding: 5rem 0;
}

/* Split Gallery */
.pb-gallery-split {
    position: relative;
    height: 520px;
    display: flex;
    overflow: hidden;
    border-radius: var(--pb-border-radius);
}

.pb-gallery-split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}

.pb-gallery-split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.pb-gallery-split-columns {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
}

.pb-gallery-split-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--pb-text-light);
    transition: var(--pb-transition);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-gallery-split-col:last-child {
    border-right: none;
}

.pb-gallery-split-col:hover,
.pb-gallery-split-col.active {
    background: rgba(251, 183, 27, 0.1);
    flex: 1.5;
}

.pb-gallery-split-col.active {
    background: rgba(251, 183, 27, 0.2);
}

.pb-gallery-split-label {
    text-align: center;
}

.pb-gallery-split-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pb-gallery-split-count {
    font-size: 0.85rem;
    color: var(--pb-text-muted);
}

/* Masonry Gallery */
.pb-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.pb-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

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

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

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

/* ============================================
   Testimonials Section
   ============================================ */
.pb-testimonials {
    padding: 5rem 0;
}

.pb-testimonial-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    padding: 2rem;
    border: 1px solid var(--pb-border-color);
}

.pb-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pb-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--pb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-testimonial-avatar-placeholder {
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
}

.pb-testimonial-name {
    color: var(--pb-text-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.pb-testimonial-rating {
    color: var(--pb-primary);
}

.pb-testimonial-text {
    color: var(--pb-text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.pb-about {
    padding: 5rem 0;
}

.pb-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pb-about-image img {
    width: 100%;
    border-radius: var(--pb-border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pb-about-content .pb-section-title {
    text-align: left;
}

.pb-about-text {
    color: var(--pb-text-body);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pb-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.pb-contact {
    padding: 5rem 0;
}

.pb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.pb-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pb-contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(251, 183, 27, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pb-contact-info-label {
    color: var(--pb-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.pb-contact-info-value {
    color: var(--pb-text-light);
    font-weight: 500;
}

/* Contact Form */
.pb-form-group {
    margin-bottom: 1.5rem;
}

.pb-form-label {
    display: block;
    color: var(--pb-text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.pb-form-input,
.pb-form-textarea,
.pb-form-select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pb-border-color);
    border-radius: 8px;
    color: var(--pb-text-light);
    font-size: 1rem;
    transition: var(--pb-transition);
}

.pb-form-input:focus,
.pb-form-textarea:focus,
.pb-form-select:focus {
    outline: none;
    border-color: var(--pb-primary);
    background: rgba(255, 255, 255, 0.08);
}

.pb-form-textarea {
    min-height: 150px;
    resize: vertical;
}

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

/* ============================================
   Blog Section
   ============================================ */
.pb-blog {
    padding: 5rem 0;
}

.pb-blog-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    overflow: hidden;
    border: 1px solid var(--pb-border-color);
    transition: var(--pb-transition);
}

.pb-blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 183, 27, 0.3);
}

.pb-blog-image {
    height: 200px;
    overflow: hidden;
}

.pb-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pb-blog-card:hover .pb-blog-image img {
    transform: scale(1.05);
}

.pb-blog-content {
    padding: 1.5rem;
}

.pb-blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--pb-text-muted);
}

.pb-blog-title {
    font-size: 1.2rem;
    color: var(--pb-text-light);
    margin-bottom: 0.75rem;
}

.pb-blog-excerpt {
    color: var(--pb-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pb-blog-link {
    color: var(--pb-primary);
    font-weight: 500;
}

/* ============================================
   Products Section
   ============================================ */
.pb-products {
    padding: 5rem 0;
}

.pb-product-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    overflow: hidden;
    border: 1px solid var(--pb-border-color);
    transition: var(--pb-transition);
}

.pb-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 183, 27, 0.3);
}

.pb-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.pb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pb-product-card:hover .pb-product-image img {
    transform: scale(1.05);
}

.pb-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--pb-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.pb-product-content {
    padding: 1.5rem;
}

.pb-product-name {
    font-size: 1.1rem;
    color: var(--pb-text-light);
    margin-bottom: 0.5rem;
}

.pb-product-price {
    font-size: 1.25rem;
    color: var(--pb-primary);
    font-weight: 700;
}

.pb-product-price-old {
    font-size: 0.9rem;
    color: var(--pb-text-muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* ============================================
   Promotions Section
   ============================================ */
.pb-promotions {
    padding: 5rem 0;
}

.pb-promo-card {
    background: var(--pb-bg-card);
    border-radius: var(--pb-border-radius);
    overflow: hidden;
    border: 1px solid var(--pb-border-color);
    position: relative;
}

.pb-promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    z-index: 2;
}

.pb-promo-image {
    height: 200px;
    overflow: hidden;
}

.pb-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-promo-content {
    padding: 1.5rem;
}

.pb-promo-title {
    font-size: 1.3rem;
    color: var(--pb-text-light);
    margin-bottom: 0.5rem;
}

.pb-promo-desc {
    color: var(--pb-text-muted);
    margin-bottom: 1rem;
}

.pb-promo-countdown {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pb-promo-countdown-item {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.pb-promo-countdown-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pb-primary);
}

.pb-promo-countdown-label {
    font-size: 0.75rem;
    color: var(--pb-text-muted);
}

/* ============================================
   Utility Classes
   ============================================ */
.pb-text-center { text-align: center; }
.pb-text-left { text-align: left; }
.pb-text-right { text-align: right; }

.pb-mt-0 { margin-top: 0; }
.pb-mt-1 { margin-top: 0.5rem; }
.pb-mt-2 { margin-top: 1rem; }
.pb-mt-3 { margin-top: 1.5rem; }
.pb-mt-4 { margin-top: 2rem; }
.pb-mt-5 { margin-top: 3rem; }

.pb-mb-0 { margin-bottom: 0; }
.pb-mb-1 { margin-bottom: 0.5rem; }
.pb-mb-2 { margin-bottom: 1rem; }
.pb-mb-3 { margin-bottom: 1.5rem; }
.pb-mb-4 { margin-bottom: 2rem; }
.pb-mb-5 { margin-bottom: 3rem; }

.pb-py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pb-py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.pb-hidden { display: none; }
.pb-visible { display: block; }

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

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

@keyframes pb-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pb-slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pb-gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pb-animate-fadeIn { animation: pb-fadeIn 0.5s ease-out; }
.pb-animate-fadeInUp { animation: pb-fadeInUp 0.6s ease-out; }
.pb-animate-slideInLeft { animation: pb-slideInLeft 0.6s ease-out; }
.pb-animate-slideInRight { animation: pb-slideInRight 0.6s ease-out; }

/* Staggered animations */
.pb-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.pb-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.pb-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.pb-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.pb-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.pb-stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   Lightbox
   ============================================ */
.pb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pb-lightbox.active {
    opacity: 1;
    visibility: visible;
}

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

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

.pb-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.pb-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--pb-transition);
}

.pb-lightbox-nav:hover {
    background: var(--pb-primary);
    color: #000;
}

.pb-lightbox-prev { left: 20px; }
.pb-lightbox-next { right: 20px; }

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .pb-container {
        padding: 0 1rem;
    }

    .pb-hero {
        min-height: 80vh;
        padding: 2rem 1rem;
        padding-top: calc(80px + 2rem);
    }

    .pb-hero-title {
        font-size: 2.5rem;
    }

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

    .pb-section-title {
        font-size: 2rem;
    }

    .pb-gallery-split {
        flex-direction: column;
        height: auto;
    }

    .pb-gallery-split-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
    }
}
