/* ===================================
   CHECKIN GUIDE - STYLE.CSS
   Bimal Farm Guest Check-in Guide
   =================================== */

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Site Header */
.site-header {
    background: #2d5016;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-section {
    background: #3d6b1e;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.phone-num {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
}

.phone-num img {
    width: 16px;
    height: 16px;
}

.phone-cta {
    transition: opacity 0.3s;
}

.phone-cta:hover {
    opacity: 0.8;
}

.contacts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacts a img {
    width: 20px;
    height: 20px;
}

.book-btn {
    background: #c4a354;
    color: #2d5016;
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.book-btn:hover {
    background: #d4b464;
}

/* Main Navigation */
.main-nav {
    background: #2d5016;
    padding: 0 15px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-tagline {
    color: #c4a354;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #c4a354;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 80, 22, 0.85), rgba(45, 80, 22, 0.9)), url('/bgcov.webp') center/cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #c4a354;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero-note {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    display: inline-block;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Section Cards */
.section-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

/* Button Card */
.button-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.button-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.button-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.button-card-header:hover {
    background: #f9f9f5;
}

.button-card-icon {
    width: 40px;
    height: 40px;
    background: #3d6b1e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.button-card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.button-card-title {
    flex: 1;
}

.button-card-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MUST READ Badge */
.must-read-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
    flex-shrink: 0;
    line-height: 1.2;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.button-card-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.button-card-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
}

.button-card.active .button-card-arrow {
    transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-inner {
    padding: 0 20px 20px;
    border-top: 1px solid #eee;
}

/* Content Block */
.content-block {
    margin-top: 18px;
}

.content-block h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.content-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-block ul li {
    font-size: 14px;
    color: #555;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.content-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3d6b1e;
    font-weight: bold;
}

/* Info Box */
.info-box {
    margin-top: 18px;
    padding: 12px 15px;
    background: #f5f5f0;
    border-left: 3px solid #3d6b1e;
    border-radius: 0 6px 6px 0;
}

.info-box p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.info-box strong {
    color: #2d5016;
}

/* Welcome Block */
.welcome-block {
    background: linear-gradient(135deg, #f5f9f0 0%, #e8f0e0 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.welcome-block p:first-child {
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 8px;
}

/* Closing Block */
.closing-block {
    background: linear-gradient(135deg, #f5f9f0 0%, #e8f0e0 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.closing-block p {
    color: #3d6b1e;
}

/* Warning Info Box */
.info-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.info-box.warning p {
    color: #856404;
}

/* BBQ Info Box */
.info-box.bbq-info {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left-color: #ff9800;
}

.info-box.bbq-info p {
    color: #e65100;
    margin-bottom: 8px;
}

.info-box.bbq-info p:first-child {
    font-size: 15px;
}

.info-box.bbq-info .bbq-note {
    color: #795548;
    font-style: italic;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Luggage Note */
.luggage-note {
    color: #c62828;
    font-size: 13px;
    margin-top: 10px;
}

/* Tourist Cards */
.tourist-card {
    margin-top: 18px;
    padding: 15px;
    background: #f9f9f5;
    border-radius: 8px;
    border: 1px solid #e8e8e0;
}

.tourist-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tourist-card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2d5016;
}

.tourist-distance {
    font-size: 12px;
    color: #888;
    background: #e8e8e0;
    padding: 3px 8px;
    border-radius: 12px;
}

.tourist-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.tourist-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Map Section */
.map-section {
    margin-top: 18px;
}

.map-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 12px;
}

.map-info {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f9f9f5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.map-icon {
    width: 40px;
    height: 40px;
    background: #3d6b1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.map-text p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 5px;
}

.map-text p:last-child {
    margin-bottom: 0;
}

.map-actions {
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 10px 0;
}

.contact-section h3 {
    font-size: 18px;
    color: #2d5016;
    margin-bottom: 20px;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f5;
    border-radius: 8px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: #3d6b1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-item-text {
    text-align: left;
}

.contact-item-text span {
    font-size: 12px;
    color: #888;
}

.contact-item-text strong {
    display: block;
    font-size: 18px;
    color: #2d5016;
}

/* Contact item with inline buttons */
.contact-item-with-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background: #f9f9f5;
    border-radius: 8px;
}

.contact-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.contact-label {
    font-size: 12px;
    color: #888;
}

.contact-item-info strong {
    font-size: 20px;
    color: #2d5016;
}

.contact-item-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

.btn-xs {
    padding: 5px 10px;
    font-size: 11px;
}

.btn-map {
    background: #3d6b1e;
    color: white;
}

.btn-map:hover {
    background: #2d5016;
}

.btn-call {
    background: #2d5016;
    color: white;
}

.btn-call:hover {
    background: #1a3009;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* Footer Spacer */
.footer-spacer {
    height: 80px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #2d5016;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 98;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #3d6b1e;
    transform: scale(1.1);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Site Footer */
.site-footer {
    background: #2d5016;
    color: white;
    padding: 40px 15px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #c4a354;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-section a {
    transition: opacity 0.3s;
}

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

.footer-bottom {
    max-width: 900px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2d5016;
        flex-direction: column;
        padding: 15px;
        gap: 0;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero {
        min-height: 200px;
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .button-card-header {
        padding: 15px;
    }
    
    .button-card-icon {
        width: 35px;
        height: 35px;
    }
    
    .button-card-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .button-card-title h3 {
        font-size: 15px;
    }
    
    .accordion-inner {
        padding: 0 15px 15px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .top-section {
        padding: 8px 12px;
    }
    
    .phone-num {
        font-size: 13px;
    }
    
    .contacts {
        gap: 8px;
    }
    
    .contacts a img {
        width: 18px;
        height: 18px;
    }
    
    .book-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .container {
        padding: 15px 12px;
    }
    
    .hero h1 {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-note {
        font-size: 12px;
    }
    
    .tourist-card {
        padding: 12px;
    }
    
    .map-info {
        flex-direction: column;
        text-align: center;
    }
    
    .map-icon {
        margin: 0 auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

.button-card-header:focus {
    outline: 2px solid #3d6b1e;
    outline-offset: -2px;
}

.btn:focus {
    outline: 2px solid #3d6b1e;
    outline-offset: 2px;
}