/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1B3A4B;
    --accent-color: #57400a;
    --light-color: #F8F6F0;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --overlay: rgba(27, 58, 75, 0.8);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppings', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: auto;
}

html, body {
    overflow-x: hidden;
    height: auto !important;
    position: static !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: transparent;
    overflow-x: hidden;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #D4AF37);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-logo {
    margin-bottom: 2rem;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-learn {
    border: 2px solid var(--accent-color);
    color: var(--white);
}

.btn-learn:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.section {
    padding: var(--section-padding);
    opacity: 1 !important; /* Force visible */
    visibility: visible !important;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 100;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 100;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: #836e3d;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-cta{
    margin-left: 0;
    padding: 16px 32px;
    margin-top: 1rem;
}

.logo-img {
    height: 30px;       /* desktop size */
    width: auto;        /* maintain aspect ratio */
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain; /* ensures logo scales without distortion */
    margin-left: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 20px;   /* smaller height on mobile */
    }

    .nav-title{
        display: none;
    }

}

.nav-title{
    color: var(--light-color);
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 100;
    margin-left: 130px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background-color: var(--light-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3rem;
    transition: var(--transition);
    overflow-y: auto;
    
    transform: translateX(100%);  /* hide off-screen */
    transition: transform 0.3s ease;  /* smooth slide */
    z-index: 999;
}

.nav-menu.active {
    transform: translateX(0); 
}

@media (min-width: 1024px) {
  .nav-menu {
    width: 20vw;   /* only 20% of screen */
    align-items: flex-start; /* align menu items left */
    padding-left: 2rem;
    height: 100vh;
    top: 0;
  }

  .nav-btn{
    font-size: 17px;
    margin-right: 20px;
  }
}

.nav-item {
    margin: 0.5rem 0;
    font-family: var(--font-body);
    font-weight: 100;
}

.nav-link {
    font-weight: 500;
    position: relative;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 18px;
    justify-content: space-between;
    margin-right: 10px;
}

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

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

.nav-btn{
    padding: 5px 20px;
    border-radius: 0;
    background: none;
    border: solid 1px var(--white);
    color: var(--white);
}

.nav-btn:hover{
    background: var(--accent-color);
    color: var(--light-color);

}

/* Social Media Icons in Navigation */
.nav-social {
    margin-left: 0;
    margin-top: 5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(27, 58, 75, 0.3);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link i {
    width: 18px;
    height: 18px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100dvh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;

      aspect-ratio: 16/9; /* Default desktop ratio */
}

@media (max-width: 767px) {
  .hero {
    aspect-ratio: 9/16; /* Mobile ratio */
  }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 100;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    color: var(--light-color);
}

.hero-text {
    font-family: var(--font-body);
    font-size: 1.13rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title, .hero-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}


/* ===== ABOUT PREVIEW ===== */
.about-preview {
    background: linear-gradient(45deg, rgb(102, 100, 90) 0%, rgb(155, 144, 84) 50%, rgb(199, 197, 183) 100%);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/media/about-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.about-preview .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-weight: 100;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: rgb(235, 233, 229);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: var(--font-body);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* ===== TRIPS SECTION ===== */
.trips {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    position: relative;
}

.trips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/media/trips-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.trips .container {
    position: relative;
    z-index: 1;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.trip-card {
    position: relative;
    height: 530px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.trip-card:hover {
    transform: translateY(-10px);
}

.trip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.trip-card:hover img {
    transform: scale(1.1);
}

.trip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.trip-info h3 {
    font-family: var(--font-heading);
    font-weight: 100;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.trip-info p {
    color: rgba(8, 29, 37, 0.8);
}

.trip-collage {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.trip-collage.active {
    display: grid;
}

.collage-image {
    height: 360px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-detail {
    display: none;
    text-align: center;
}

.trip-detail.active {
    display: block;
}

.trip-detail h2 {
    font-family: var(--font-heading);
    font-weight: 100;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trip-detail p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: var(--font-body);
    font-weight: 100;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), #D4AF37);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-weight: 100;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-family: var(--font-body);
    font-weight: 100;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ready-cta{
    border-color: var(--accent-color);
    background-color: rgb(255, 255, 255);
    color: var(--accent-color)
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== BLOG PREVIEW ===== */
.blog-preview {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 300px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
}



/* ===== FAQ SECTION ===== */
.faq {
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 100;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    width: 300px;
}


.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #b19d6e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #D4AF37;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

.footer-bottom a {
    color: rgb(228, 127, 127);
}

/* ===== FORMS ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E9ECEF;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    html {
        scroll-behavior: smooth;
    }
    
    .trip-collage {
        scroll-snap-align: start; /* Ensures proper alignment */
    }
    
    /* Fix for Samsung browser quirks */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Typography */
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 0.8rem;
    }

    .hero-buttons{
        display: block;
        margin-top: 50px;
    }
    .btn-primary{
        margin-right: 10px;
    }
    
    /* Grid Layouts */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trips-grid {
        grid-template-columns: 1fr;
    }
    
    .trip-collage {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Spacing */
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }

    .footer-logo{
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .trips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trip-card {
        height: 300px;
    }
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}


/* Premium Blog Post Styling for Tour Operator */
.post {
  margin: 30px auto 0 auto;
  padding: 2.5rem;
  font-family: var(--font-body);
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  max-width: 900px; /* keeps it readable */
}

.post-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  text-align: center;
}

.post-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.post-meta {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

/* Images */
.post-image {
  margin: 2rem 0;
  text-align: center;
}

.post-image img {
  width: 100%;
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.post-image img:hover {
  transform: scale(1.02);
}

/* Body content */
.post-body {
  font-size: 1.15rem;
}

.post-body p {
  margin-bottom: 1.7rem;
}

/* Dropcap effect for first paragraph */
.post-body p:first-of-type::first-letter {
  float: left;
  font-size: 3rem;
  font-weight: bold;
  margin-right: 0.5rem;
  line-height: 1;
  color: var(--primary-color);
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary-color);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.post-body blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(212, 175, 55, 0.08);
  font-style: italic;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-body a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.post-body a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.post-body ul, .post-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

.post-body code {
  background: var(--light-color);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-body pre {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-body pre code {
  background: none;
  padding: 0;
}

/* Responsive Design */
@media (min-width: 901px) {
  .post-image img {
    max-height: 50rem;
  }
}

@media (max-width: 900px) {
  .post {
    padding: 1.5rem;
  }

  .post-title {
    font-size: 2.2rem;
  }

  .post-image img {
    max-width: 100%; /* straight on mobile */
  }

  .post-body h2 {
    font-size: 1.8rem;
  }

  .post-body h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .post {
    padding: 1rem;
  }

  .post-title {
    font-size: 1.8rem;
  }

  .post-body {
    font-size: 1rem;
  }

  .post-body h2 {
    font-size: 1.5rem;
  }

  .post-body h3 {
    font-size: 1.3rem;
  }
}


.blog-hero {
  padding: 140px 0 100px;
  color: var(--white);
  text-align: center;
}

.blog-hero-content {
  max-width: 700px;
  margin: 30px auto;
}

.blog-hero .section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.blog-hero .section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero .section-title {
    font-size: 2.2rem;
  }
  .blog-hero .section-subtitle {
    font-size: 1rem;
  }
}
