/* ============================================
   CSS Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #000;
    text-decoration: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Miriam Libre', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 0rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
}

/* ============================================
   Layout
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 3rem 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #fff;
    color: #000;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* ============================================
   Announcement Bar
   ============================================ */

.announcement-bar {
    background-color: #000;
    color: #fff;
    padding: 0;
    text-align: center;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.announcement-text {
    font-size: 0.9rem;
    margin: 0;
    padding: 0.75rem 1rem;
}

.announcement-text strong {
    font-weight: 600;
}

/* ============================================
   Header
   ============================================ */

.site-header {
    background-color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-family: 'Miriam Libre', serif;
    font-size: 1.125rem;
    font-weight: 700;
    flex: 1;
}

.site-title a {
    display: block;
    line-height: 1.1;
}

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.title-line-1,
.title-line-2 {
    display: block;
}

.site-header .btn {
    white-space: nowrap;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background-color: #fff;
}

.hero-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 900px;
}

.hero-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-image-container img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   About Us Section
   ============================================ */

.about-us {
    background-color: #fff;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-header h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.about-content a:hover {
    opacity: 0.7;
}

.about-content a.btn {
    text-decoration: none;
}

.about-content a.btn:hover {
    opacity: 1;
}

/* ============================================
   Image Divider Section
   ============================================ */

.image-divider {
    padding: 3rem 0;
    background-color: #fff;
}

.image-divider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.image-divider-item img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    background-color: #fff;
    padding: 3rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Featured Testimonial */
.featured-testimonial {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.featured-testimonial blockquote {
    margin: 0 0 1.5rem 0;
}

.featured-testimonial blockquote p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.featured-testimonial blockquote p::before {
    content: '"';
}

.featured-testimonial blockquote p::after {
    content: '"';
}

.featured-testimonial cite {
    display: block;
    font-style: normal;
}

.featured-testimonial cite strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
}

.featured-testimonial cite span {
    display: block;
    font-size: 1rem;
    color: #666;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
}

.testimonial-card blockquote {
    margin: 0 0 1rem 0;
}

.testimonial-card blockquote p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-card blockquote p::before {
    content: '"';
}

.testimonial-card blockquote p::after {
    content: '"';
}

.testimonial-card cite {
    display: block;
    font-style: normal;
}

.testimonial-card cite strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-card cite span {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

.testimonial-card.testimonial-card-full {
    margin-bottom: 2rem !important;
}

/* ============================================
   Why Poland Section
   ============================================ */

.why-poland {
    background-color: #f8f8f8;
}

.why-poland-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-poland-header h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.why-poland-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.why-poland-content p {
    margin-bottom: 1.5rem;
}

.why-poland-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    background-color: #fff;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-header h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-item a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.faq-item a:hover {
    opacity: 0.7;
}

/* ============================================
   Policy Pages
   ============================================ */

.policy-page {
    background-color: #fff;
    padding: 3rem 0;
}

.policy-page h1 {
    margin-bottom: 2rem;
}

.policy-page h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-page p {
    margin-bottom: 1.5rem;
}

.policy-page a {
    text-decoration: underline;
}

.policy-page ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.policy-page ul li {
    padding-left: 1rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
}

.policy-page ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000;
}

/* ============================================
   Courses Page
   ============================================ */

.courses-page {
    background-color: #fff;
    padding: 3rem 0;
}

.courses-page h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.courses-intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #333;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background-color: #fff;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s ease;
}

.course-card:hover {
    opacity: 0.8;
}

.course-image {
    width: 100%;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-info {
    padding: 1.5rem 0;
    text-align: center;
}

.course-info h2 {
    font-size: 1.3rem;
    margin-bottom: 0rem;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: #000;
}

/* ============================================
   Course Detail Page
   ============================================ */

.course-detail {
    background-color: #fff;
    padding: 3rem 0;
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.course-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.course-detail-content h1 {
    font-size: 1.7rem;
    margin-bottom: 0;
}

.course-detail-price {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 2rem 0;
    color: #000;
}

.course-description {
    margin-bottom: 3rem;
}

.course-description p {
    margin-bottom: 1rem;
}

.course-description p:last-child {
    margin-bottom: 0;
}

.course-description a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.course-description a:hover {
    opacity: 0.7;
}

.course-description a.btn {
    text-decoration: none;
}

.course-description a.btn:hover {
    opacity: 1;
}

.course-dates {
    margin-bottom: 2rem;
}

.course-dates h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dates-list {
    margin-bottom: 1.5rem;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.date-item:last-child {
    border-bottom: none;
}

.date-info {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.date-text {
    font-weight: 500;
    font-size: 1.1rem;
    color: #000;
}

.slots-text {
    color: #666;
    font-size: 0.95rem;
}

.date-item.booked .date-text,
.date-item.booked .slots-text {
    color: #999;
}

.loading-dates {
    color: #666;
    font-style: italic;
}

.payment-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.payment-info strong {
    color: #000;
}

.training-benefits {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.training-benefits h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefits-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding-left: 1rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000;
}

.course-cta {
    text-align: left;
}

.deposit-info {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: #666;
}

/* Course FAQ Section */
.course-faq {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.course-faq h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.course-faq .faq-item {
    margin-bottom: 1.5rem;
}

.course-faq .faq-item:last-child {
    margin-bottom: 0;
}

.course-faq .faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-faq .faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   Bio Page
   ============================================ */

.bio-detail-content {
    margin-bottom: 0;
}

.bio-detail-content h1 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.bio-detail-content .course-description {
    margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-col p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-legal a {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-copyright p {
    margin: 0;
}

/* ============================================
   Floating CTA
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.5rem;
    background-color: #FFD600;
    color: #000;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Mobile: show WhatsApp, hide email */
.floating-cta--mobile {
    display: inline-flex;
}

.floating-cta--desktop {
    display: none;
}

/* ============================================
   Tablet Styles (768px+)
   ============================================ */

@media (min-width: 768px) {
    /* Desktop: show email, hide WhatsApp */
    .floating-cta--mobile {
        display: none;
    }

    .floating-cta--desktop {
        display: inline-flex;
    }

    section {
        padding: 4rem 0;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .site-logo {
        height: 50px;
    }

    /* About Us - 2/5 and 3/5 layout */
    .about-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .about-header {
        flex: 0 0 40%;
    }

    .about-content {
        flex: 0 0 60%;
    }

    .about-header h2 {
        font-size: 2.5rem;
    }

    /* Hero - desktop sizes */
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    /* Image Divider - 3 columns */
    .image-divider-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* FAQ - 2 column layout */
    .faq-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .faq-header {
        flex: 0 0 40%;
    }

    .faq-content {
        flex: 0 0 60%;
    }

    .faq-item h3 {
        font-size: 1.375rem;
    }

    /* Why Poland - 2 column layout */
    .why-poland-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .why-poland-header {
        flex: 0 0 40%;
    }

    .why-poland-content {
        flex: 0 0 60%;
    }

    .why-poland-header h2 {
        font-size: 2.5rem;
    }

    /* Footer - 3 columns */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-legal {
        flex-direction: row;
        gap: 1.5rem;
    }

    /* Courses page - 3 columns on tablet/desktop */
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .course-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    /* Course detail - 40/60 split on tablet/desktop */
    .course-detail-grid {
        grid-template-columns: 40% 60%;
        gap: 3rem;
    }

    /* Testimonials - 2 columns on tablet */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ============================================
   Desktop Styles (1024px+)
   ============================================ */

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .about-header h2 {
        font-size: 3rem;
    }

    .why-poland-header h2 {
        font-size: 3rem;
    }
}

/* ============================================
   Large Desktop Styles (1440px+)
   ============================================ */

@media (min-width: 1440px) {
    /* Large desktop styles if needed */
}
