/* ========== TARANGIRE STYLING FOR FAMILY & CULTURE PAGE ========== */

/* Variables - EXACT SAME AS TARANGIRE */
:root {
    --accent: #f26b1d;
    --accent-dark: #a12a20;
    --muted: #6c6c6c;
    --text: #222222;
    --bg: #ffffff;
    --card: #ffffff;
    --light-gray: #f8f8f8;
    --radius: 12px;
    --hero-height: 88vh;
    --container: 1200px;
    --max-width: 1100px;
    --shadow: 0 10px 28px rgba(0,0,0,0.06);
    --shadow-strong: 0 18px 48px rgba(0,0,0,0.12);
    --transition: 180ms ease;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset / layout - EXACT SAME */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

/* container utility - EXACT SAME */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== HERO - MATCHING TARANGIRE STYLE ========== */
.hero {
    height: var(--hero-height);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/image/coffe-village.webp') center/cover no-repeat;
    padding: 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 900px;
    padding: 40px;
    width: 100%;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero .lead {
    color: rgba(255,255,255,0.95);
    margin: 0 0 30px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ========== BUTTONS - SAME STYLE AS TARANGIRE ========== */
.book-btn {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(242,107,29,0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.book-btn:hover {
    transform: translateY(-3px);
    background: var(--accent-dark);
    box-shadow: 0 15px 35px rgba(242,107,29,0.3);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* ========== SECTION TITLES ========== */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0 0 15px;
    font-weight: 800;
    color: #222;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ========== STORY SECTION ========== */
.story {
    max-width: var(--max-width);
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.story h2 {
    text-align: left;
    margin-top: 0;
    font-size: 2rem;
    color: var(--accent-dark);
}

.story p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story h3 {
    margin: 30px 0 15px;
    color: var(--accent-dark);
    font-size: 1.4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* ========== PLACE CARD ========== */
.place-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.place-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent-dark);
    font-size: 1.3rem;
}

.place-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.place-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.place-card ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* ========== FAMILY ACTIVITIES ========== */
.family-activities {
    padding: 60px 0;
    background: #fafafa;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ========== ITINERARY ========== */
.itinerary {
    padding: 60px 0;
    background: #fff;
}

.itinerary ol {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 20px;
    color: #555;
}

.itinerary li {
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.itinerary li strong {
    color: var(--accent-dark);
    margin-right: 10px;
}

/* ========== LODGING LEVELS ========== */
.lodging-levels {
    padding: 80px 0;
    background: #fafafa;
}

.lodging-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.lodging-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lodging-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.lodging-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.lodging-card h3 {
    margin: 25px 20px 10px;
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 1.4rem;
}

.price-tag {
    color: var(--accent);
    font-weight: 700;
    margin: 0 20px 20px;
    font-size: 1.2rem;
}

.lodging-card ul {
    text-align: left;
    list-style: none;
    padding: 0 30px;
    margin: 0 0 25px;
    color: #555;
    flex-grow: 1;
}

.lodging-card ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.5;
}

.lodging-card ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.lodging-card .book-btn {
    margin: 0 20px 25px;
    width: calc(100% - 40px);
}

/* ========== CTA ========== */
.cta {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('/image/cheeter-tree.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(242,107,29,0.1), rgba(161,42,32,0.1));
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta p {
    margin-bottom: 40px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.cta .book-btn {
    position: relative;
    z-index: 2;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ========== BOOKING MODAL ========== */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.booking-modal .modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #333;
    background: #f5f5f5;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242,107,29,0.1);
}

.form-group.full-width {
    min-width: 100%;
}

.error-message {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242,107,29,0.3);
}

/* ========== FOOTER ========== */
.site-footer {
    background: #f8f9fa;
    color: #333;
    padding: 60px 20px 30px;
    border-top: 1px solid #eaeaea;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 100%;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    height: auto;
}

.footer-brand p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.footer-links h3,
.footer-contact h3 {
    color: #222;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    margin: 8px 0;
    color: #555;
    font-size: 1rem;
}

.footer-contact .email {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.footer-contact .email:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-icons a img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: grayscale(0%);
}

.plann-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
}

.plann-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242,107,29,0.3);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #777;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ========== JOURNEY PLANNER MODAL ========== */
.journey-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 11000;
    padding: 20px;
}

.journey-panel {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.journey-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.journey-header {
    padding: 40px 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f26b1d, #a12a20);
    color: white;
    border-radius: 20px 20px 0 0;
}

.journey-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.journey-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.journey-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.planner-preview {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.planner-preview h4 {
    margin-top: 0;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.planner-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.planner-preview li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.planner-preview li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row label {
    font-weight: 600;
    color: #333;
}

.form-row input,
.form-row select {
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.1);
}

.form-actions {
    margin-top: 20px;
}

.generate-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 107, 29, 0.3);
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

.journey-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.planner-preview-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(242, 107, 29, 0.1);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.preview-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-item div {
    flex: 1;
}

.preview-item strong {
    display: block;
    margin-bottom: 5px;
    color: #222;
}

.preview-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.preview-note {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* ========== FLOATING BUTTON ========== */
.floating-planner-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f26b1d, #a12a20);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(242, 107, 29, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-planner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(242, 107, 29, 0.4);
}

.floating-planner-btn svg {
    flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .journey-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .lodging-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .book-btn, .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .journey-content {
        padding: 20px;
    }
    
    .floating-planner-btn span {
        display: none;
    }
    
    .floating-planner-btn {
        padding: 16px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .floating-planner-btn svg {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .booking-modal .modal-content,
    .journey-panel {
        padding: 20px;
        margin: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .journey-header {
        padding: 30px 20px 15px;
    }
    
    .journey-header h3 {
        font-size: 1.4rem;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }