/* Color palette */
:root {
    --black: #000000ff;
    --oxford-blue: #1800adff;
    --orange-web: #ffde59ff;
    --platinum: #e5e5e5ff;
    --white: #ffffffff;
    --text: #000000ff;
}

body {
    /* background: var(--black); */
    color: var(--black);
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    margin: 0;
}

h1 {
    color: var(--orange-web);
}

.header-bar {
	/* background: url('../img/MToSGlyphssolo.png') center/cover no-repeat; */
    /* background: none; */
    padding: 1.2rem 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.post-page .header-bar {
    height: 100px;
    position: relative;
    background: var(--oxford-blue);
    box-shadow: 0 2px 8px #0004;
}

.header-bar .logo {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--orange-web);
    font-weight: bold;
    letter-spacing: 2px;
    margin-left: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);

}

.header-bar .logo img {
    max-width: 130px;
}


.header-bar .logo a {
    color: var(--orange-web);
    text-decoration: none;
}

.nav {
    float: right;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.nav a {
    color: var(--orange-web);
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.2s;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav a.active,
.nav a:hover {
    color: var(--orange-web);
}

.social-icons a {
    color: var(--orange-web);
    margin-left: 1rem;
    font-size: 1.4rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--orange-web);
}

.hamburger-menu {
    display: none;
    background: black;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.98);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-overlay .close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
}

.mobile-nav .social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.mobile-nav .social-icons a {
    font-size: 2.5rem;
}

.signup-section {
    background: linear-gradient(rgb(0, 0, 0) 00%, rgba(0, 0, 0, 0.5) 25%), url('/assets/img/keyboard.jpg') center/cover no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
	padding-top: 100px;
}

.signup-section img {
    border-radius: 10px;
    height: auto;
    width: 30%;
}
@media (max-width: 900px) {
  .signup-section img {
    width: 60%
  }
}

.signup-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 4px 4px #000a;
}
.signup-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 2px 2px #0006;
}

.signup-section .btn-primary {
    background: var(--orange-web);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px #0004;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.signup-section .btn-primary:hover {
    /* background: var(--oxford-blue); */
    /* color: var(--orange-web); */
    transform: scale(1.05);
}

.hero-section {
	background: url('/assets/img/guitarpic_resize.jpg') center/cover no-repeat;
	/* background-size: 1920px 1080px; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
	padding-top: 100px;
}
.hero-section img {
	border-radius: 10px;
	max-width: 80%;
    height: auto;
}
	
.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--orange-web);
    text-shadow: 0 4px 4px #000a;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--orange-web);
    text-shadow: 0 2px 2px #0006;
}

.hero-section .btn-primary {
    background: var(--orange-web);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px #0004;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.hero-section .btn-primary:hover {
    /* background: var(--oxford-blue); */
    /* color: var(--orange-web); */
    transform: scale(1.05);
}

.hero-section .contact {
    font-size: 1.2rem;
    color: var(--platinum);
    margin-bottom: 1rem;
}

.features {
    display: flex;
    /* background: var(--black); */
    justify-content: center;
    gap: 2rem;
    /* background: var(--oxford-blue); */
    color: var(--platinum);
    padding: 3rem 10rem;
    /* border-radius: 16px; */
    /* box-shadow: 0 4px 24px #0006; */
}

.feature {
    /* background: var(--platinum); */
    border-radius: 16px;
    box-shadow: 0 2px 8px #0002;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 22%;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid var(--orange-web);
}

.feature:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px var(--orange-web);
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--orange-web);
    margin-bottom: .7rem;
    font-weight: 700;
}

.feature p {
    font-size: 1.05rem;
    color: var(--text);
}

.welcome-section {

    background: var(--white);
    color: var(--orange-web);
    padding: 3rem 2rem;
    /* border-radius: 16px; */
    margin: 0 10rem;
    /* box-shadow: 0 4px 24px #0006; */
}

.welcome-text {
    width: 60%;
    line-height: 28px;
    color: #727272;
    margin-right: 5%;
}

.welcome-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.welcome-image {
    box-shadow: 0 4px 24px #0006;
    flex: 1;
    align-self: center;
}

.body-section {
    background: var(--white);
    color: var(--orange-web);
    padding: 2rem 2rem;
    text-align: center;
    /* border-radius: 16px; */
    margin: 1rem 1rem;
    /* box-shadow: 0 4px 24px #0006; */
}

.body-text {
    text-align: justify;
    width: 80%;
    line-height: 28px;
    margin-left: 10%;
    color: #727272;
}

.body-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.body-image {
    box-shadow: 0 4px 24px #0006;
    flex: 1;
    align-self: center;
}

.tutor-section {
    background: var(--white);
    color: var(--orange-web);
    /* padding: 3rem 2rem; */
    /* border-radius: 16px; */
    margin: 0 0rem;
    /* box-shadow: 0 4px 24px #0006; */
}

.tutor-text {
    flex-wrap: wrap;
    flex: 60%;
    line-height: 28px;
    color: #727272;
    margin-left: 5%;
}

.tutor-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tutor-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    /* box-shadow: 0 4px 24px #0006; */
    align-self: left;
}
@media (max-width: 900px) {
  .tutor-wrapper {
    flex-direction: column
  }
}
.posts-list {
    width: 35%;
    flex: 1;
    margin-top: -6rem;
}

/* .posts-list h3 {
   
} */

.posts-list ul {
    list-style: none;
    padding: 0;
}

.posts-list img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 24px #0006;
}

.posts-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.post-wrapper {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.post-wrapper p:last-of-type {
    margin-bottom: 0;
}

.posts-list li a {
    text-decoration: none;
    color: var(--orange-web);
    font-weight: 700;
    font-size: 1.1rem;
}

.posts-list li p {
    margin: 1rem 0 0 0;
}

.welcome-section h2 {
    color: var(--orange-web);

    font-size: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonials {
    width: 35%;
    background: var(--silver-lake-blue);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--oxford-blue);
    box-shadow: 0 2px 8px #0002;
}

.testimonials h2 {
    font-size: 1.1rem;
    color: var(--orange-web);
    margin-bottom: .5rem;
}

.testimonials blockquote {
    font-size: 1.05rem;
    color: var(--oxford-blue);
    margin-bottom: .5rem;
    font-style: italic;
}

.testimonials cite {
    font-size: .95rem;
    color: var(--yinmn-blue);
}

.youtube-embed {
    display: flex;
    margin: 2rem 0;
}

.youtube-thumb-wrapper {
    position: relative;
    width: 25%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    padding-right: .5rem;
}

.youtube-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

.youtube-thumb-wrapper:hover .youtube-thumb {
    opacity: 0.7;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.2s, background 0.2s;
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.youtube-thumb-wrapper:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(233, 69, 96, 1);
}

/* Overlay styles */
#youtube-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#youtube-overlay.active {
    display: flex;
}

#youtube-overlay .overlay-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#youtube-overlay iframe {
    width: 640px;
    height: 360px;
    border-radius: 12px;
    border: 3px solid var(--orange-web);
    box-shadow: 0 8px 32px #000a;
}

#youtube-overlay .close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--orange-web);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px #0006;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer {
    background: linear-gradient(90deg, rgb(0, 0, .5) 00%, rgba(0, 0, 0, .5) 100%), url('../img/footerkeys.jpg') center/cover no-repeat;
    color: var(--platinum);
    padding: 3rem 0 1.5rem 0;
    font-size: 1rem;
    box-shadow: 0 -2px 8px #0004;
}

.footer .footer-cols {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.footer-col {
    width: 22%;
}

.footer-col h4 {
    color: var(--orange-web);
    margin-bottom: .7rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: .5rem;
}

.footer a {
    /* margin: 0 .5rem; */
    color: var(--orange-web);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer h4 {
    font-size: 1.5rem;
}

.footer a:hover {
    /* color: var(--); */
    text-decoration: underline;
}

.footer .copyright {
    text-align: center;
    /* color: var(--silver-lake-blue); */
    margin-top: 1rem;
    font-size: 1.05rem;
}

/* FAQ Section Styling */
#faq {
    /* background: var(--oxford-blue); */
    color: var(--platinum);
    /* border-radius: 16px; */
    /* box-shadow: 0 4px 24px #0006; */
    padding: 3rem 2rem;
    margin: 2rem auto;
    margin: 0 10rem;
    /* max-width: 900px; */
}

#faq h2 {
    color: var(--orange-web);
    /* text-align: center; */
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.accordion details {
    background: rgba(252, 163, 17, 0.08);
    border: 1px solid var(--orange-web);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px #0002;
}

.accordion summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--orange-web);
    font-size: 1.15rem;
}

.accordion details[open] {
    background: rgba(252, 163, 17, 0.18);
    border-color: var(--orange-web);
}


/* Articles List Styles */
.articles-list {
	background: var (--black);
    color: var(--black);
}

.post-preview {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1rem;
}

.article-thumbnail {
    object-fit:cover;
    max-width:100px;
    height:100px;
    vertical-align:middle;
}

.post-preview h2 {
    margin: 0 0 0.5em;
}

.post-preview h2 a {
    color: var(--oxford-blue);
    text-decoration: none;
}

.post-preview h2 a:hover {
    color: var(--orange-web);
}

.post-preview img {
  border-radius: 10px;
  width: 120px;
  max-height: 120px;
  box-shadow: 0 4px 24px #0006;
  align-self: center;
}

.post-meta {
    color: var(--platinum);
    font-size: 0.9em;
    margin-bottom: 1em;
}

.post-excerpt {
    color: black;
    line-height: 1.6;
}

/* Pagination Styles */
.pagination {
    margin-top: 2em;
    text-align: center;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--oxford-blue);
    border-radius: 3px;
}

.pagination a:hover {
    background: #f8f9fa;
}

.pagination .current-page {
    background: var(--oxford-blue);
    color: var(--white);
    border-color: var(--oxford-blue);
}

.post-abstract  {

    color: var(--text);
}

.post-content {

    /* background: var(--oxford-blue); */
    color: var(--black);
    padding: 3rem 2rem;
    /* border-radius: 16px; */
    margin: 0 10rem;
    /* box-shadow: 0 4px 24px #0006; */
        line-height: 28px;
    color: var(--black);
}

@media (max-width:1200px) {
    .posts-list,
    .welcome-text,
    .welcome-section h2,
    #faq {
        width: 90% !important;
        margin: 0 auto 1rem auto !important;
        padding: 0 !important;
        /* max-width: 600px; */
    }

    .footer .footer-cols,
    .welcome-wrapper,
    .welcome-section {
        flex-direction: column;
        align-items: center;
    }

    #pricing {
        padding: 3rem 4rem;
    }

    .welcome-section {
        margin: 2rem 1rem !important;
        padding: 1rem !important;
    }
}


@media (max-width:900px) {
    .nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .features,
    .footer .footer-cols,
    .welcome-wrapper,
    .welcome-section {
        flex-direction: column;
        align-items: center;
    }

    .feature,
    .footer-col,
    .welcome-text,
    .testimonials,
    .youtube-thumb-wrapper,
    .welcome-image,
    .post-content,
    .welcome-section h2,
    .posts-list,
    #faq {
        width: 90% !important;
        margin: 0 auto 1rem auto !important;
        padding: 0 !important;
        /* max-width: 600px; */
    }

    .youtube-embed {
        flex-direction: column;
        gap: 1rem;
    }

    .welcome-section h2 {
        margin: 1rem auto !important;
    }

    #youtube-overlay iframe {
        width: 98vw !important;
        height: 220px !important;
    }

    .welcome-section {
        margin: 0 1rem !important;
        padding: 1rem !important;
    }

    .features {
        padding: 2rem 1rem !important;
    }

    #faq {

        padding: 0 1rem 1rem 1rem !important;
    }
}