/**
 * WikiBase - Website Page Styles
 * Modern landing page styling for Website type pages
 * 
 * @package WikiBase
 */

/* ============================================
   WEBSITE PAGE BASE
   ============================================ */

.website-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
}

.website-page * {
    box-sizing: border-box;
}

/* ============================================
   WEBSITE HEADER / NAVIGATION
   ============================================ */

.website-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.website-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.website-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.website-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--website-primary, #1e293b);
    text-decoration: none;
}

.website-logo:hover {
    text-decoration: none;
}

.website-logo img {
    max-height: 48px;
    width: auto;
}

.website-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .website-nav {
        display: none;
    }
}

.website-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.website-nav a:hover {
    color: var(--website-primary, #3b82f6);
}

.website-cta-btn {
    padding: 0.625rem 1.25rem;
    background: var(--website-primary, #3b82f6);
    color: #ffffff !important;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.website-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobile menu */
.website-menu-toggle {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .website-menu-toggle {
        display: flex;
    }
}

.website-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e293b;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.website-mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.website-mobile-nav.open {
    display: block;
}

.website-mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

/* ============================================
   HERO BLOCK
   ============================================ */

.website-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    overflow: hidden;
}

.website-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.website-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
}

.website-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.website-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

@media (max-width: 768px) {
    .website-hero-title {
        font-size: 2.25rem;
    }
}

.website-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.website-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.website-hero-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.website-hero-btn-primary {
    background: var(--website-primary, #3b82f6);
    color: #ffffff;
}

.website-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.website-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.website-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   ABOUT BLOCK
   ============================================ */

.website-about {
    padding: 6rem 1.5rem;
    background: #ffffff;
}

.website-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.website-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .website-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.website-about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1.5rem;
}

.website-about-content p {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.website-about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SERVICES BLOCK
   ============================================ */

.website-services {
    padding: 6rem 1.5rem;
    background: #f8fafc;
}

.website-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.website-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem;
}

.website-section-header p {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

.website-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .website-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .website-services-grid {
        grid-template-columns: 1fr;
    }
}

.website-service-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.website-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.website-service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--website-primary, #3b82f6);
    color: #ffffff;
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
}

.website-service-icon svg {
    width: 28px;
    height: 28px;
}

.website-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.website-service-card p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   GALLERY BLOCK
   ============================================ */

.website-gallery {
    padding: 6rem 1.5rem;
    background: #ffffff;
}

.website-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1024px) {
    .website-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .website-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.website-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
}

.website-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.website-gallery-item:hover img {
    transform: scale(1.1);
}

.website-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-gallery-item:hover .website-gallery-overlay {
    opacity: 1;
}

.website-gallery-overlay svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

/* ============================================
   TESTIMONIALS BLOCK
   ============================================ */

.website-testimonials {
    padding: 6rem 1.5rem;
    background: #1e293b;
    color: #ffffff;
}

.website-testimonials .website-section-header h2 {
    color: #ffffff;
}

.website-testimonials .website-section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.website-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .website-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .website-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.website-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.website-testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.website-testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
}

.website-testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    opacity: 0.9;
}

.website-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.website-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.website-testimonial-name {
    font-weight: 600;
    margin: 0;
}

.website-testimonial-role {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

/* ============================================
   FAQ BLOCK
   ============================================ */

.website-faq {
    padding: 6rem 1.5rem;
    background: #ffffff;
}

.website-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.website-faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.website-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.website-faq-question svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.website-faq-item.open .website-faq-question svg {
    transform: rotate(180deg);
}

.website-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.website-faq-item.open .website-faq-answer {
    max-height: 500px;
}

.website-faq-answer p {
    padding: 0 0 1.5rem;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   TEAM BLOCK
   ============================================ */

.website-team {
    padding: 6rem 1.5rem;
    background: #f8fafc;
}

.website-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .website-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .website-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .website-team-grid {
        grid-template-columns: 1fr;
    }
}

.website-team-member {
    text-align: center;
}

.website-team-member-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.website-team-member-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
}

.website-team-member-social {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-team-member:hover .website-team-member-social {
    opacity: 1;
}

.website-team-member-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #1e293b;
    transition: all 0.2s ease;
}

.website-team-member-social a:hover {
    background: var(--website-primary, #3b82f6);
    color: #ffffff;
}

.website-team-member h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.website-team-member p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* ============================================
   CONTACT BLOCK
   ============================================ */

.website-contact {
    padding: 6rem 1.5rem;
    background: #ffffff;
}

.website-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .website-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.website-contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem;
}

.website-contact-info > p {
    font-size: 1.0625rem;
    color: #64748b;
    margin: 0 0 2rem;
    line-height: 1.7;
}

.website-contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.website-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.website-contact-details svg {
    width: 24px;
    height: 24px;
    color: var(--website-primary, #3b82f6);
    flex-shrink: 0;
    margin-top: 2px;
}

.website-contact-details strong {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.website-contact-details span {
    font-size: 1rem;
    color: #1e293b;
}

.website-contact-form {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
}

.website-form-group {
    margin-bottom: 1.25rem;
}

.website-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.website-form-input,
.website-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.website-form-input:focus,
.website-form-textarea:focus {
    outline: none;
    border-color: var(--website-primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.website-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.website-form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--website-primary, #3b82f6);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.website-form-submit:hover {
    background: var(--website-primary-dark, #2563eb);
}

.website-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */

.website-footer {
    background: #1e293b;
    color: #ffffff;
    padding: 3rem 1.5rem;
    text-align: center;
}

.website-footer p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9375rem;
}

.website-footer a {
    color: #ffffff;
    opacity: 0.7;
}

.website-footer a:hover {
    opacity: 1;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.website-whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.website-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.website-whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* Pulse animation */
.website-whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   WATERMARK
   ============================================ */

.wikibase-watermark-website {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.875rem;
    z-index: 998;
    backdrop-filter: blur(4px);
}

.wikibase-watermark-website a {
    color: #93c5fd;
    text-decoration: underline;
}

/* When watermark is present, add padding to avoid overlap */
.website-page.has-watermark .website-whatsapp-btn {
    bottom: 5rem;
}

/* ============================================
   LIGHTBOX (Gallery)
   ============================================ */

.website-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.website-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.website-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.website-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.website-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 0.5rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.website-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.website-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.website-animate-delay-1 { transition-delay: 0.1s; }
.website-animate-delay-2 { transition-delay: 0.2s; }
.website-animate-delay-3 { transition-delay: 0.3s; }
.website-animate-delay-4 { transition-delay: 0.4s; }