/* ===========================================
   Landing Page Styles
   =========================================== */

/* Header */
.landing-header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.landing-header.scrolled,
.landing-header.switched-header {
    background-color: #ffffff;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}

.landing-header.scrolled .nav-link,
.landing-header.switched-header .nav-link {
    color: #333 !important;
}

.landing-header.scrolled .nav-link:hover,
.landing-header.switched-header .nav-link:hover {
    color: var(--color-primary) !important;
}

.landing-header.scrolled .logo-text,
.landing-header.switched-header .logo-text {
    color: #333 !important;
}

.landing-header.scrolled .btn-outline-light,
.landing-header.switched-header .btn-outline-light {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.landing-header.scrolled .btn-outline-light:hover,
.landing-header.switched-header .btn-outline-light:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Language Switcher for Landing */
.landing-header .lang-toggle {
    color: #fff;
}

.landing-header .lang-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.landing-header.scrolled .lang-toggle,
.landing-header.switched-header .lang-toggle {
    color: #333;
}

.landing-header.scrolled .lang-toggle:hover,
.landing-header.switched-header .lang-toggle:hover {
    color: var(--color-primary);
}

/* Hero Section */
.landing-hero {
    min-height: 100vh;
    margin-bottom: -1px;
}

#features {
    background: #ffffff;
}

.landing-hero .hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-hero .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
}

/* Website Sections Showcase */
#website-sections {
    background: #ffffff;
}

.section-item {
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.section-item:hover {
    transform: translateY(-5px);
}

.section-item .section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.section-item:hover .section-icon {
    background: var(--color-primary);
}

.section-item:hover .section-icon i {
    color: #fff !important;
}

/* Interactive Features Section */
.interactive-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.interactive-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.interactive-feature-card .feature-icon {
    width: 60px;
    height: 60px;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    position: relative;
}

.pricing-card .popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: white;
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 1rem 0 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pricing-card .card-header {
    border-bottom: none;
}

.pricing-card.popular .card-header h4 {
    color: white;
}

.pricing-card .price {
    line-height: 1;
}

.pricing-card .price .display-4 {
    font-size: 3rem;
}

.pricing-card .card-body ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card .card-body ul li:last-child {
    border-bottom: none;
}

/* Process Section */
.process-step {
    position: relative;
    padding: 2rem;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* FAQ Accordion */
#faqAccordion .card {
    border-radius: 0.75rem;
    overflow: hidden;
}

#faqAccordion .btn-link {
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    line-height: 1.4;
}

#faqAccordion .btn-link:hover {
    color: var(--color-primary);
}

#faqAccordion .btn-link:focus {
    box-shadow: none;
}

/* Contact Section */
.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-control {
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0.875rem 1rem;
}

.contact-form .form-control-lg {
    font-size: 1rem;
}

.contact-form .form-control::placeholder {
    color: #555;
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    color: #333;
}

.contact-form select.form-control {
    color: #333;
    height: auto;
}

.contact-form select.form-control option {
    color: #333;
    background: white;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Privacy checkbox styling */
.contact-form .privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-form .privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #fff;
}

.contact-form .privacy-check label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}

.contact-form .privacy-check a {
    color: #fff;
    font-weight: 600;
}

.contact-form .privacy-check a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Submit button */
.contact-form .btn-light {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-light:disabled {
    opacity: 0.7;
    transform: none;
}

/* Gallery Highlight Section */
.gallery-problem h4,
.gallery-solution h4 {
    font-size: 1.25rem;
}

.problem-list li,
.solution-list li {
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
}

.problem-list li i,
.solution-list li i {
    margin-top: 4px;
    min-width: 24px;
}

.gallery-showcase {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.gallery-mockup {
    position: relative;
}

.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    position: relative;
}

.gallery-item .photo-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-item.official .photo-badge {
    background: var(--color-primary);
    color: #fff;
}

.gallery-item.guest .photo-badge {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.gallery-item.upload-placeholder {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #e8e4e0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    border: 2px dashed var(--color-primary);
}

.gallery-item.upload-placeholder:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.gallery-item.upload-placeholder span {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.gallery-stats .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Demo Preview */
.demo-preview-image img {
    max-height: 500px;
    object-fit: contain;
}

/* Footer */
.landing-footer {
    background-color: #1a1a1a !important;
}

.landing-footer h5,
.landing-footer h6 {
    color: #fff;
}

.landing-footer .text-muted {
    color: #adb5bd !important;
}

.landing-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-footer a.text-muted {
    color: #adb5bd !important;
}

.landing-footer a:hover {
    color: var(--color-primary) !important;
}

.landing-footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    /* Mobile menu dropdown with background */
    .landing-header .nav-menu {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin-top: 0.5rem;
        border-radius: 0.75rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 1rem;
    }

    .landing-header .navbar-nav {
        padding: 0.5rem 0;
    }

    .landing-header .nav-link {
        color: #333 !important;
        padding: 0.75rem 1rem !important;
        border-radius: 0.5rem;
        transition: background-color 0.2s ease;
    }

    .landing-header .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--color-primary) !important;
    }

    .landing-header .btn-outline-light {
        color: var(--color-primary) !important;
        border-color: var(--color-primary) !important;
        margin: 0.5rem 1rem;
    }

    .landing-header .btn-outline-light:hover {
        background-color: var(--color-primary) !important;
        color: #fff !important;
    }

    /* Hamburger icon color */
    .landing-header .btn-navbar-toggler {
        color: #fff;
    }

    .landing-header.scrolled .btn-navbar-toggler,
    .landing-header.switched-header .btn-navbar-toggler {
        color: #333;
    }

    /* Language switcher in mobile dropdown */
    .landing-header .lang-toggle:hover {
        color: var(--color-primary) !important;
    }
}

@media (max-width: 768px) {
    .landing-hero .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .landing-hero .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card .price .display-4 {
        font-size: 2.5rem;
    }

    .process-step::after {
        display: none;
    }

    /* FAQ mobile styles */
    #faqAccordion .card {
        overflow: visible;
    }

    #faqAccordion .card-header {
        padding: 0;
    }

    #faqAccordion .btn-link {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.process-step {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2),
.pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.pricing-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Cookie Banner GDPR */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.98);
    color: #fff;
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner .cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    min-width: 280px;
}

.cookie-banner .cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner .cookie-link:hover {
    color: #fff;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Legal Pages */
.legal-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.legal-content p,
.legal-content li {
    color: #666;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content table {
    margin: 1rem 0;
}

.legal-content table th {
    background-color: #f8f9fa;
}

/* ============================================
   Mobile Packages Carousel - Independent Structure
   ============================================ */
@media (max-width: 768px) {
    /* Swipe hint */
    .swipe-hint {
        text-align: center;
        font-size: 0.875rem;
        color: #6c757d;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .swipe-hint i {
        font-size: 1rem;
    }

    /* Mobile carousel container - Pure CSS Grid */
    .packages-mobile-carousel {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 90vw;
        gap: 5vw;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 0 5vw 1rem 5vw;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    /* Hide scrollbar */
    .packages-mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .packages-mobile-carousel {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Mobile package card */
    .mobile-package-card {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        background: white;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid #e9ecef;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .mobile-package-card.popular {
        box-shadow: none;
        border: 2px solid var(--color-primary, #E25D5D);
    }

    /* Popular badge - matching desktop style */
    .mobile-package-card .popular-badge {
        position: absolute;
        top: -1px;
        right: -1px;
        background: white;
        color: var(--color-primary, #E25D5D);
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        border-radius: 0 10px 0 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        z-index: 10;
    }

    /* Package header */
    .package-header {
        text-align: center;
        padding: 2rem 1.5rem 1.5rem;
        background: #f8f9fa;
        border-bottom: none;
    }

    .package-header.is-popular {
        background: var(--color-primary, #E25D5D);
        color: white;
    }

    .package-header h4 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
    }

    .package-header .price {
        margin-bottom: 0.75rem;
    }

    .package-header .price-amount {
        font-size: 3rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .package-header .price-vat {
        font-size: 0.875rem;
    }

    .package-header.is-popular .price-vat {
        opacity: 0.6;
    }

    .package-header:not(.is-popular) .price-vat {
        color: #6c757d;
    }

    .package-header .package-description {
        margin: 0;
        font-size: 0.8125rem;
        margin-top: 0.5rem;
    }

    .package-header.is-popular .package-description {
        opacity: 0.9;
    }

    .package-header:not(.is-popular) .package-description {
        color: #6c757d;
    }

    /* Package body */
    .package-body {
        flex: 1;
        padding: 1.5rem;
    }

    .package-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .package-body ul li {
        padding: 0.75rem 0;
        font-size: 0.9rem;
        line-height: 1.5;
        border-bottom: 1px solid #f0f0f0;
    }

    .package-body ul li:last-child {
        border-bottom: none;
    }

    .package-body .feature-included i {
        color: #28a745;
        margin-right: 0.5rem;
    }

    .package-body .feature-excluded {
        color: #6c757d;
    }

    .package-body .feature-excluded i {
        color: #dc3545;
        margin-right: 0.5rem;
    }

    /* Package footer */
    .package-footer {
        padding: 1.5rem;
        border-top: 1px solid #e9ecef;
    }

    .package-cta {
        display: block;
        width: 100%;
        padding: 0.75rem;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid var(--color-primary, #E25D5D);
        color: var(--color-primary, #E25D5D);
        background: white;
    }

    .package-cta.is-popular {
        background: var(--color-primary, #E25D5D);
        color: white;
    }

    .package-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Scroll indicators */
    .scroll-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .scroll-indicators .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d0d0d0;
        transition: background 0.3s ease, transform 0.3s ease;
        cursor: pointer;
    }

    .scroll-indicators .dot.active {
        background: var(--color-primary, #E25D5D);
        transform: scale(1.3);
    }

    .scroll-indicators .dot:hover {
        background: #a0a0a0;
    }
}
