/* style/beginner-guide.css */

/* Variables for consistent styling */
.page-beginner-guide {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-color-light: #F8F8F8;
    --text-color-dark: #333333;
    --background-light: #FFFFFF;
    --background-dark: #0A2239;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-beginner-guide__section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-beginner-guide__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly different background for contrast */
}

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

.page-beginner-guide__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-beginner-guide__section-intro {
    font-size: 1.1em;
    color: var(--text-color-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-beginner-guide .text-highlight {
    color: var(--secondary-color);
}

/* Buttons */
.page-beginner-guide__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-beginner-guide__button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-beginner-guide__button--primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.page-beginner-guide__button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
}

.page-beginner-guide__button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.page-beginner-guide__button--outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-beginner-guide__button--outline:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-beginner-guide__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

/* Hero Section */
.page-beginner-guide__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3B5C 100%); /* Darker gradient */
    padding: 100px 0;
    color: var(--text-color-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-beginner-guide__hero-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-beginner-guide__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    max-width: 600px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

/* Why Choose Section */
.page-beginner-guide__why-choose {
    background-color: var(--background-light);
}

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

.page-beginner-guide__feature-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-beginner-guide__feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-beginner-guide__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.page-beginner-guide__image-full-width {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 60px;
    box-shadow: var(--shadow);
}

/* Guide Overview Section (Detail List) */
.page-beginner-guide__guide-overview {
    background-color: #f9f9f9;
}

.page-beginner-guide__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__detail-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-beginner-guide__detail-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-beginner-guide__detail-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-beginner-guide__detail-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-beginner-guide__detail-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Key Features Section */
.page-beginner-guide__key-features {
    background-color: var(--background-light);
}

.page-beginner-guide__feature-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.page-beginner-guide__feature-block:last-child {
    margin-bottom: 0;
}

.page-beginner-guide__feature-block--reversed {
    flex-direction: row-reverse;
}

.page-beginner-guide__feature-content {
    flex: 1;
    min-width: 300px;
}

.page-beginner-guide__feature-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.page-beginner-guide__feature-heading {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

/* Tips Section */
.page-beginner-guide__tips {
    background-color: #f9f9f9;
}

.page-beginner-guide__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-beginner-guide__tips-list li {
    background-color: var(--background-light);
    padding: 25px;
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-beginner-guide__tips-list li strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Final CTA Section */
.page-beginner-guide__cta-final {
    background: linear-gradient(45deg, var(--primary-color), #1A3B5C);
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__cta-content {
    position: relative;
    z-index: 1;
}

.page-beginner-guide__cta-final .page-beginner-guide__section-title {
    color: var(--text-color-light);
}

.page-beginner-guide__cta-final .page-beginner-guide__section-intro {
    color: var(--text-color-light);
    margin-bottom: 50px;
}

.page-beginner-guide__cta-final .page-beginner-guide__button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-beginner-guide__cta-final .page-beginner-guide__button--primary:hover {
    background-color: darken(var(--secondary-color), 15%);
    border-color: darken(var(--secondary-color), 15%);
}

.page-beginner-guide__cta-final .page-beginner-guide__button--secondary {
    background-color: transparent;
    color: var(--text-color-light);
    border-color: var(--text-color-light);
}

.page-beginner-guide__cta-final .page-beginner-guide__button--secondary:hover {
    background-color: var(--text-color-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 3em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }
    .page-beginner-guide__section-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__feature-block {
        flex-direction: column;
        text-align: center;
    }
    .page-beginner-guide__feature-block--reversed {
        flex-direction: column;
    }
    .page-beginner-guide__feature-image {
        max-width: 80%;
        margin: 30px auto;
    }
    .page-beginner-guide__hero-image {
        width: 60%;
        right: -10%;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero {
        padding: 80px 0 120px 0;
    }
    .page-beginner-guide__hero-title {
        font-size: 2.5em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1em;
    }
    .page-beginner-guide__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-beginner-guide__button--secondary {
        margin-left: 0;
    }
    .page-beginner-guide__section {
        padding: 40px 0;
    }
    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-beginner-guide__detail-list {
        grid-template-columns: 1fr;
    }
    .page-beginner-guide__image-full-width {
        margin-top: 40px;
    }
    .page-beginner-guide__hero-image {
        width: 80%;
        right: -20%;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 2em;
    }
    .page-beginner-guide__hero-description {
        font-size: 0.9em;
    }
    .page-beginner-guide__button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-beginner-guide__button--large {
        padding: 15px 25px;
        font-size: 1em;
        min-width: unset;
    }
    .page-beginner-guide__section-title {
        font-size: 1.5em;
    }
    .page-beginner-guide__feature-heading {
        font-size: 1.8em;
    }
    .page-beginner-guide__hero-image {
        width: 100%;
        right: -30%;
    }
}