/* 
 * Kaisergarten Restaurant - Services Page CSS
 * Mobile-first responsive design with best practices
 */

/* ========================================
   HERO SECTION - MODERN OVERLAY DESIGN WITH PARALLAX
   ======================================== */
.hero-services {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Tablet */
@media (min-width: 768px) {
    .hero-services {
        min-height: 400px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-services {
        min-height: 450px;
    }
}

/* Parallax background image layer */
.hero-background-parallax {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background-image: url('../../images/gallery/buffet-selection.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Enable smooth transform */
    will-change: transform;
    transform: translateZ(0);
}

/* Dark overlay for readability - stays with background */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Centered content container - moves independently */
.hero-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Minimal icon design */
.hero-icon-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-icon-minimal i {
    font-size: 1.5rem;
    color: #ffffff;
}

.hero-icon-minimal:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Clean typography - Mobile first */
.hero-heading {
    font-size: 1.75rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 1rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Minimal divider */
.hero-divider {
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 auto 1rem;
}

/* Tagline */
.hero-tagline {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Tablet */
@media (min-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.25rem;
    }
    
    .hero-divider {
        width: 60px;
        margin: 0 auto 1.25rem;
    }
    
    .hero-tagline {
        font-size: 1.05rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-heading {
        font-size: 3rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    
    .hero-divider {
        width: 80px;
        margin: 0 auto 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
}

/* ========================================
   SERVICES SECTION - Mobile First
   ======================================== */
.services-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
}

@media (min-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .services-section {
        padding: 4rem 0;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .section-header {
        padding: 0 0.75rem;
        margin-bottom: 2rem;
    }
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Section Title - Mobile first */
.section-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
}

/* ========================================
   SERVICES GRID - Mobile First
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.75rem;
    }
}

/* ========================================
   SERVICE CARDS - Mobile First
   ======================================== */
.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

@media (min-width: 768px) {
    .service-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
}

@media (min-width: 1024px) {
    .service-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

/* Featured Card (Catering) */
.featured-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Service Icon - Mobile first */
.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #e63e5c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.25rem;
    color: #ffffff;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

@media (min-width: 768px) {
    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Service Badge - Mobile first */
.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(250, 183, 0, 0.3);
    z-index: 2;
}

@media (min-width: 768px) {
    .service-badge {
        top: 20px;
        right: 20px;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

.service-badge.premium {
    background: linear-gradient(135deg, var(--secondary-color), #ffc830);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(250, 183, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(250, 183, 0, 0.5);
    }
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 1;
}

/* Service Title & Description - Mobile first */
.service-title {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.875rem;
}

@media (min-width: 768px) {
    .service-title {
        font-size: 1.35rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* ========================================
   SERVICE FEATURES - Mobile First
   ======================================== */
.service-features {
    margin: 0.875rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .service-features {
        margin: 1rem 0;
        gap: 0.6rem;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--dark-color);
    padding: 0.35rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(196, 30, 58, 0.05);
    padding-left: 0.75rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .feature-item {
        font-size: 0.875rem;
    }
}

/* ========================================
   PRICING DISPLAY - Mobile First
   ======================================== */
.service-pricing {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 0.875rem 0;
    border: 2px solid rgba(196, 30, 58, 0.1);
}

.price-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    align-self: center;
}

@media (min-width: 480px) {
    .service-pricing {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.125rem;
        margin: 1rem 0;
    }
    
    .price-divider {
        width: 2px;
        height: 50px;
        background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    }
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.price-value {
    font-size: 1.65rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Service Note */
.service-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.875rem;
    background: rgba(250, 183, 0, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    margin: 0.875rem 0;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.service-note i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ========================================
   SERVICE HIGHLIGHT
   ======================================== */
.service-highlight {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(250, 183, 0, 0.05));
    border-radius: 10px;
    padding: 1rem;
    margin: 1.125rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid rgba(196, 30, 58, 0.1);
}

.service-highlight i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.service-highlight p {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
}

/* ========================================
   VOUCHER OCCASIONS - Mobile First
   ======================================== */
.voucher-occasions {
    margin: 1rem 0;
}

.voucher-occasions h4 {
    font-size: 0.925rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.occasions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.occasion-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 0.35rem 0.7rem;
    border-radius: 18px;
    font-size: 0.75rem;
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.occasion-tag:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.occasion-tag i {
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .voucher-occasions {
        margin: 1.125rem 0;
    }
    
    .occasions-tags {
        gap: 0.6rem;
    }
    
    .occasion-tag {
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .occasion-tag i {
        font-size: 0.9rem;
    }
}

/* ========================================
   SERVICE CARD BUTTON SPACING
   Uses unified button system from buttons-unified.css
   ======================================== */

/* Add margin to buttons in service cards */
.service-card .btn {
    margin-top: 1.125rem;
}

/* Button groups in service cards */
.service-card .btn-group {
    margin-top: 1.125rem;
}

.service-card .btn-group .btn {
    margin-top: 0;
}

/* ========================================
   ADDITIONAL INFO SECTION - Mobile First
   ======================================== */
.additional-info-section {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

@media (min-width: 768px) {
    .additional-info-section {
        padding: 2.5rem 0;
    }
}

@media (min-width: 1024px) {
    .additional-info-section {
        padding: 3rem 0;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 0;
    }
}

.info-box {
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .info-box {
        padding: 1.5rem;
        border-radius: 10px;
    }
}

@media (min-width: 1024px) {
    .info-box {
        padding: 2rem;
        border-radius: 12px;
    }
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(250, 183, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .info-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
}

.info-box h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .info-box h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .info-box p {
        font-size: 0.95rem;
    }
}

/* ========================================
   CTA SECTION - Mobile First
   ======================================== */
.cta-section {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a41830 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 3.5rem 0;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/patterns/pattern-overlay.svg');
    background-size: 300px;
    opacity: 0.05;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .cta-content {
        padding: 0 0.75rem;
    }
}

.cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.15rem;
    }
}

/* ========================================
   ACCESSIBILITY & INTERACTIONS
   ======================================== */

/* Focus states for keyboard navigation */
.occasion-tag:focus {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-icon,
    .info-box {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .service-badge.premium {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
    
    .service-badge {
        border: 2px solid currentColor;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .hero-section,
    .service-badge,
    .cta-section {
        display: none;
    }
    
    .service-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}
