/*
Theme Name: Bhutan Travel Coordinator
Theme URI: https://bhutantravelcoordinator.com
Author: Bhutan Travel Coordinator
Author URI: https://bhutantravelcoordinator.com
Description: A modern classic WordPress theme for Bhutan travel agencies.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: btc
Tags: travel, tour, custom-logo, custom-menu, featured-images, translation-ready, right-sidebar, three-columns
*/

/* ============================================
   1. RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { padding-left: 0; }

/* ============================================
   2. BASE TYPOGRAPHY
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
    background: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0 0 0.6em;
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.25em; }

/* ============================================
   3. CONTAINER & SECTIONS
   ============================================ */
.btc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.btc-section { padding: 80px 0; }
.btc-section--light { background: #f8f8f8; }
.btc-section--dark { background: #1a1a1a; color: #fff; }
.btc-section--dark h2,
.btc-section--dark h3 { color: #fff; }
.btc-section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #1a1a1a;
}
.btc-section-subtitle {
    text-align: center;
    color: #666;
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   4. HEADER (base — colors in theme.css)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.site-header .btc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-branding img { max-height: 60px; width: auto; }
.site-title {
    font-size: 1.4rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #c0392b;
}
.site-title a { color: #c0392b; }
.site-description {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

/* ============================================
   5. NAVIGATION (base — no mobile rules here)
   ============================================ */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}
.main-navigation a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    position: relative;
    padding: 6px 0;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c0392b;
    transition: width 0.3s;
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btc-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}
.btc-btn--primary {
    background: #c0392b;
    color: #fff;
}
.btc-btn--primary:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35);
}
.btc-btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btc-btn--outline:hover {
    background: #fff;
    color: #1a1a1a;
}
.btc-btn--secondary {
    background: #f39c12;
    color: #fff;
}
.btc-btn--secondary:hover {
    background: #d68910;
}

/* ============================================
   7. SERVICE CARDS
   ============================================ */
.btc-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.btc-service {
    text-align: center;
    padding: 48px 32px;
    background: #FDF6F5;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.btc-service:nth-child(1) { background: #FDF6F5; border-color: #F5D6D3; }
.btc-service:nth-child(2) { background: #F3F9F3; border-color: #D4E8D4; }
.btc-service:nth-child(3) { background: #FFFCF5; border-color: #F5E2C0; }
.btc-service:hover {
    background: #ffffff;
    border-color: #c0392b;
    box-shadow: 0 16px 40px rgba(192, 57, 43, 0.12);
    transform: translateY(-6px);
}
.btc-service__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto 24px;
    font-size: 2.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btc-service__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}
.btc-service h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1a1a1a;
}
.btc-service p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

/* ============================================
   8. PACKAGE CARD
   ============================================ */
.btc-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}
.btc-package-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.btc-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}
.btc-package-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
    display: block;
}
.btc-package-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.btc-package-card:hover .btc-package-card__image img { transform: scale(1.06); }
.btc-package-card__price {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #c0392b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
}
.btc-package-card__body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.btc-package-card__meta {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btc-package-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.btc-package-card h3 a:hover { color: #c0392b; }
.btc-package-card p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 20px;
}
.btc-package-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #777;
}
.btc-package-card__link {
    color: #c0392b;
    font-weight: 600;
}
.btc-package-card__link:hover { color: #a93226; }

/* ============================================
   9. BLOG CARD
   ============================================ */
.btc-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}
.btc-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.btc-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.btc-blog-card__image {
    height: 220px;
    overflow: hidden;
    display: block;
}
.btc-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.btc-blog-card__body { padding: 28px; }
.btc-blog-card__meta {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.btc-blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.btc-blog-card h3 a:hover { color: #c0392b; }

/* ============================================
   10. FOOTER (base)
   ============================================ */
.site-footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 80px 0 0;
}
.site-footer h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}
.site-footer a { color: #bbb; }
.site-footer a:hover { color: #f39c12; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
}
.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* ============================================
   11. SIDEBAR
   ============================================ */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.widget {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.widget-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.widget li:last-child { border-bottom: none; }

/* ============================================
   12. LAYOUT
   ============================================ */
.btc-content-area {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    padding: 60px 0;
}
.btc-content-area--full { grid-template-columns: 1fr; }

/* ============================================
   13. POSTS
   ============================================ */
.btc-post {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #eee;
}
.btc-post:last-child { border-bottom: none; }
.btc-post__title a:hover { color: #c0392b; }
.btc-post__meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btc-post__thumbnail {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}
.btc-post__content {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   14. PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination .page-numbers {
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    color: #1a1a1a;
    font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #c0392b;
    color: #fff;
}

/* ============================================
   15. COMMENTS
   ============================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}
.comment-list { list-style: none; padding: 0; }
.comment {
    padding: 24px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 24px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 16px;
}
.comment-form .submit {
    background: #c0392b;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
}

/* ============================================
   16. SEARCH FORM
   ============================================ */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
}
.search-form button {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* ============================================
   17. PAGE HERO (base)
   ============================================ */
.btc-page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #c0392b 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.btc-page-hero h1 {
    color: #fff;
    margin-bottom: 12px;
}
.btc-page-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================
   18. TEAM
   ============================================ */
.btc-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}
.btc-team-member {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}
.btc-team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.btc-team-member__body { padding: 24px; }
.btc-team-member__name { font-size: 1.2rem; margin-bottom: 6px; }
.btc-team-member__role {
    color: #c0392b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ============================================
   19. PLAN TRIP FORM
   ============================================ */
.btc-plan-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 720px;
    margin: 0 auto;
}
.btc-plan-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.btc-plan-form input,
.btc-plan-form select,
.btc-plan-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
}
.btc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   20. CONTACT
   ============================================ */
.btc-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.btc-contact-info {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}
.btc-contact-info__item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.btc-contact-info__icon { font-size: 1.5rem; flex-shrink: 0; }
.btc-contact-info__label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.btc-contact-info__value { font-weight: 600; color: #1a1a1a; }

/* ============================================
   21. 404
   ============================================ */
.btc-404 {
    text-align: center;
    padding: 120px 24px;
}
.btc-404__code {
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: #c0392b;
    line-height: 1;
    margin-bottom: 20px;
}

/* ============================================
   22. SCREEN READER
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}

/* ============================================
   23. WORDPRESS CORE
   ============================================ */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    padding: 8px;
}

/* ============================================
   24. RESPONSIVE (general)
   ============================================ */
@media (max-width: 1024px) {
    .btc-content-area { grid-template-columns: 1fr; gap: 40px; }
    .btc-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .btc-form-row { grid-template-columns: 1fr; }
    .btc-section { padding: 60px 0; }
    .btc-page-hero { padding: 80px 0 60px; }
    .btc-plan-form { padding: 28px; }
    .btc-service h3 { font-size: 1.4rem; }
    .btc-service p { font-size: 0.95rem; }
}