/* style/index.css */

/* Variables for consistent styling */
:root {
    --page-index-primary-color: #0A2463; /* Deep Tech Blue */
    --page-index-secondary-color: #FFD700; /* Bright Gold */
    --page-index-text-light: #ffffff;
    --page-index-text-dark: #333333;
    --page-index-background-light: #f4f7f6;
    --page-index-background-dark: #071a44; /* Slightly darker than primary for contrast */
    --page-index-border-color: #e0e0e0;
    --page-index-shadow: rgba(0, 0, 0, 0.1);
}

.page-index {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--page-index-text-dark);
    background-color: var(--page-index-background-light);
}

.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, var(--page-index-primary-color) 0%, #001c4e 100%); /* Deeper blue gradient */
    color: var(--page-index-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,subtle]') no-repeat center center/cover; /* Abstract background pattern */
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero > .page-index-container {
    position: relative;
    z-index: 1;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-index-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.page-index-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Buttons */
.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-index-btn-primary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--page-index-secondary-color);
    border: 2px solid var(--page-index-secondary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-index-btn-secondary:hover {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-index-btn-promo {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-btn-promo:hover {
    background-color: #0c337a; /* Darker primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index-btn-details {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-primary-color);
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.page-index-btn-details:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Section Titles */
.page-index-section-title {
    font-size: 2.5em;
    color: var(--page-index-primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-index-secondary-color);
    border-radius: 2px;
}

.page-index-section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Features Section */
.page-index-features {
    padding: 80px 0;
    background-color: var(--page-index-background-light);
}

.page-index-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-feature-item {
    background-color: var(--page-index-text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px var(--page-index-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-index-secondary-color);
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-feature-text {
    font-size: 0.95em;
    color: #555;
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: var(--page-index-background-dark);
    color: var(--page-index-text-light);
}

.page-index-promotions .page-index-section-title {
    color: var(--page-index-secondary-color);
}

.page-index-promotions .page-index-section-title::after {
    background-color: var(--page-index-text-light);
}

.page-index-promotions .page-index-section-description {
    color: #c0c0c0; /* Lighter text for dark background */
}

.page-index-promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-promotion-card {
    background-color: var(--page-index-primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-promotion-card h3, .page-index-promotion-card p, .page-index-promotion-card a {
    padding: 0 25px;
}

.page-index-promotion-title {
    font-size: 1.4em;
    color: var(--page-index-secondary-color);
    margin: 20px 0 10px;
    font-weight: 600;
}

.page-index-promotion-text {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensures text takes available space */
}

.page-index-promotion-card .page-index-btn-promo {
    margin: 0 25px 25px;
    align-self: flex-start; /* Align button to start */
    width: calc(100% - 50px);
}

/* About B66 Section */
.page-index-about-b66 {
    padding: 80px 0;
    background-color: var(--page-index-background-light);
}

.page-index-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    align-items: flex-start;
}

.page-index-text-content {
    flex: 2;
    min-width: 300px;
}

.page-index-text-content h3 {
    font-size: 1.8em;
    color: var(--page-index-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-text-content p {
    margin-bottom: 15px;
    color: var(--page-index-text-dark);
}

.page-index-text-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-index-text-dark);
}

.page-index-text-content ul li {
    margin-bottom: 8px;
}

.page-index-text-content strong {
    color: var(--page-index-primary-color);
}

.page-index-image-content {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-cta-bottom {
    margin-top: 30px;
    width: auto;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: var(--page-index-background-dark);
}

.page-index-detail-pages .page-index-section-title {
    color: var(--page-index-secondary-color);
}

.page-index-detail-pages .page-index-section-title::after {
    background-color: var(--page-index-text-light);
}

.page-index-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-detail-card {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-detail-card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-detail-card-title a {
    color: var(--page-index-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-detail-card-title a:hover {
    color: #e6c200; /* Darker gold on hover */
    text-decoration: underline;
}

.page-index-detail-card-description {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

/* Call to Action Section */
.page-index-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--page-index-secondary-color) 0%, #e6c200 100%); /* Gold gradient */
    text-align: center;
    color: var(--page-index-primary-color);
}

.page-index-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-index-primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-index-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #333;
}

.page-index-cta-final {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-hero-description {
        font-size: 1.1em;
    }

    .page-index-section-title {
        font-size: 2em;
    }

    .page-index-feature-grid,
    .page-index-promotion-grid,
    .page-index-detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-index-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .page-index-text-content,
    .page-index-image-content {
        flex: none;
        width: 100%;
    }

    .page-index-about-image {
        margin-top: 30px;
    }

    .page-index-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 80px 0 60px;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-promotion-card .page-index-btn-promo {
        width: calc(100% - 50px);
    }
    .page-index-cta-title {
        font-size: 2em;
    }
    .page-index-cta-description {
        font-size: 1em;
    }
    .page-index-cta-final {
        width: 90%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-container {
        padding: 0 15px;
    }
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-feature-item,
    .page-index-promotion-card,
    .page-index-detail-card {
        padding: 20px;
    }
    .page-index-feature-title {
        font-size: 1.3em;
    }
    .page-index-promotion-title {
        font-size: 1.2em;
    }
    .page-index-cta-title {
        font-size: 1.8em;
    }
    .page-index-btn {
        font-size: 1em;
        padding: 12px 25px;
    }
}