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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f8fb;
}

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

/* Header */
.header {
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: #f9f8fb;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2072c1;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.logo-text {
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .logo-text {
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        max-height: 80px;
    }
}

/* Fallback for Font Awesome icon if needed */
.logo i {
    margin-right: 8px;
    font-size: 32px;
}

.nav {
    display: none;
}

.nav a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

/* Main Content */
.main {
    padding: 24px 0;
}

/* Breadcrumb */
/* Photo Gallery */
.photo-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
    height: 400px;
}

.main-photo {
    grid-row: span 2;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.photo-grid img {
    width: 100%;
    height: 196px;
    object-fit: cover;
}

.show-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #222;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin-bottom: 48px;
}

.left-column > div {
    padding: 32px 0;
    border-bottom: 1px solid #ddd;
}

.left-column > div:last-child {
    border-bottom: none;
}

/* Features */
.feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature i {
    font-size: 24px;
    color: #2072c1;
    margin-top: 4px;
}

.feature h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature p {
    color: #717171;
    font-size: 14px;
}

/* Description */
.description-section p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.show-more {
    background: none;
    border: none;
    color: #222;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Inclusions */
.inclusions-section {
    padding: 48px 0 24px 0;
    margin: 48px 0 24px 0;
}

.inclusions-section h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #333;
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.inclusions-list {
    margin-bottom: 48px;
}

.inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: opacity 0.2s ease;
}

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

.inclusion-item i {
    font-size: 14px;
    color: #999;
    margin-top: 3px;
    flex-shrink: 0;
}

.inclusion-item span {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    font-weight: 400;
}

.inclusion-item small {
    display: block;
    color: #333;
    font-size: 13px;
    margin-top: 4px;
    font-style: normal;
    font-weight: 300;
}

.optional-charges,
.pet-policy,
.not-included {
    margin-bottom: 48px;
    padding: 0;
}

.optional-charges h3,
.pet-policy h3,
.not-included h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pet-policy h3 i,
.not-included h3 i {
    color: #999;
    margin-right: 8px;
    font-size: 14px;
}

.charge-item,
.policy-item,
.not-included-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: opacity 0.2s ease;
}

.charge-item:last-child,
.policy-item:last-child,
.not-included-item:last-child {
    border-bottom: none;
}

.charge-item i,
.policy-item i,
.not-included-item i {
    font-size: 14px;
    color: #999;
    margin-top: 3px;
    flex-shrink: 0;
}

.charge-item span,
.policy-item span,
.not-included-item span {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    font-weight: 400;
}

@media (max-width: 768px) {
    .inclusion-item,
    .charge-item,
    .policy-item,
    .not-included-item {
        gap: 10px;
    }
    
    .inclusion-item span,
    .charge-item span,
    .policy-item span,
    .not-included-item span {
        font-size: 14px;
    }
    
    .optional-charges,
    .pet-policy,
    .not-included {
        padding: 16px;
    }
}

/* Booking Card */
.booking-card {
    position: sticky;
    top: 100px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.price {
    font-size: 22px;
    font-weight: 600;
}

.per-night {
    font-size: 16px;
    font-weight: 400;
    color: #717171;
}

.price-section .rating {
    font-size: 14px;
}

.price-section .rating i {
    color: #2072c1;
}

/* Booking Form */
.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    margin-bottom: 0;
}

.input-group {
    padding: 12px;
    border-right: 1px solid #b0b0b0;
}

.input-group:last-child {
    border-right: none;
}

.input-group label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.input-group input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    background: transparent;
}

.guests-input {
    border: 1px solid #b0b0b0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.guests-input label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.guests-input select {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    background: transparent;
}

.reserve-btn {
    width: 100%;
    background: linear-gradient(to right, #1a5fa0 0%, #2072c1 50%, #2680d4 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.reserve-btn:hover {
    background: linear-gradient(to right, #155a95 0%, #1a65b5 50%, #2175c8 100%);
}

.no-charge {
    text-align: center;
    color: #717171;
    font-size: 14px;
    margin-bottom: 24px;
}

.price-breakdown {
    border-top: 1px solid #ddd;
    padding-top: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.price-row.total {
    font-weight: 600;
    padding-top: 16px;
}

.price-breakdown hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 16px 0;
}

/* Reviews */
.reviews-section {
    margin-bottom: 48px;
}

.reviews-header {
    margin-bottom: 32px;
}

.reviews-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-header h2 i {
    color: #2072c1;
}

.rating-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rating-category {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.rating-category span:first-child {
    min-width: 100px;
}

.rating-bar {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #222;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 24px;
}

.review {
    padding: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-weight: 600;
    margin-bottom: 2px;
}

.review-header p {
    color: #717171;
    font-size: 14px;
}

.review p {
    line-height: 1.6;
    color: #222;
}

.show-all-reviews {
    background: none;
    border: 1px solid #222;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Location */
.location-section {
    margin-bottom: 48px;
}

.location-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin: 24px 0;
    border: 1px solid #ddd;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 12px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: #717171;
}

.map-content i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #2072c1;
}

.map-content p:first-of-type {
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

/* Host Profile */
.host-profile-section {
    margin-bottom: 48px;
}

.host-profile {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.host-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.host-details h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.host-details > p:first-of-type {
    color: #717171;
    margin-bottom: 16px;
}

.host-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.host-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.host-stats i {
    color: #2072c1;
}

.host-details > p:last-of-type {
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-host {
    background: none;
    border: 1px solid #222;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Contact Section - Cohesive with existing design */
.contact-section {
    margin-bottom: 48px;
}

.contact-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.contact-item i {
    font-size: 24px;
    color: #2072c1;
    margin-top: 4px;
    width: 24px;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #222;
}

.contact-item p {
    color: #717171;
    font-size: 14px;
    margin: 0;
}

.social-media h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.social-link:hover {
    color: #2072c1;
}

.social-link i {
    font-size: 18px;
}

.social-link:nth-child(1) i { color: #1877f2; } /* Facebook */
.social-link:nth-child(2) i { color: #000000; } /* TikTok */

@media (max-width: 768px) {
    .contact-info {
        gap: 20px;
    }
    
    .social-links {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Footer */
.footer {
    border-top: 1px solid #ddd;
    padding: 48px 0 24px;
    background: #f7f7f7;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: #717171;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 14px;
    color: #717171;
}

.footer-right {
    display: flex;
    gap: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .booking-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
        height: 300px;
    }
    
    .photo-grid {
        display: none;
    }
    

    
    .rating-breakdown {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .host-profile {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {

    
    .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        border-right: none;
        border-bottom: 1px solid #b0b0b0;
    }
    
    .input-group:last-child {
        border-bottom: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #717171;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-modal:hover {
    background-color: #f7f7f7;
}

.modal-body {
    padding: 24px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.photo-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.photo-grid-modal img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.photo-grid-modal img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .photo-grid-modal {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }
    
    .photo-grid-modal img {
        height: 200px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Full Screen Photo Viewer */
.photo-viewer {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.viewer-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #000;
    padding: 10px 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2001;
}

.close-viewer:hover {
    background: rgba(255, 255, 255, 1);
}

.prev-photo,
.next-photo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #000;
    padding: 15px 20px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2001;
}

.prev-photo {
    left: 30px;
}

.next-photo {
    right: 30px;
}

.prev-photo:hover,
.next-photo:hover {
    background: rgba(255, 255, 255, 1);
}

#viewerImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.photo-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .close-viewer {
        top: 15px;
        right: 15px;
        font-size: 30px;
        width: 50px;
        height: 50px;
        padding: 8px 12px;
    }
    
    .prev-photo,
    .next-photo {
        font-size: 24px;
        width: 50px;
        height: 50px;
        padding: 12px 15px;
    }
    
    .prev-photo {
        left: 15px;
    }
    
    .next-photo {
        right: 15px;
    }
    
    #viewerImage {
        max-width: 95%;
        max-height: 85%;
    }
    
    .photo-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Privacy Policy and Terms Modals */
.privacy-modal,
.terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.privacy-modal .modal-content,
.terms-modal .modal-content {
    background: white;
    margin: 50px auto;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.privacy-content,
.terms-content {
    line-height: 1.6;
}

.privacy-content h3,
.terms-content h3 {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-content p,
.terms-content p {
    margin: 12px 0;
    color: #484848;
    font-size: 15px;
}

@media (max-width: 768px) {
    .privacy-modal .modal-content,
    .terms-modal .modal-content {
        margin: 20px auto;
        width: 95%;
        max-height: 95vh;
    }
    
    .privacy-content h3,
    .terms-content h3 {
        font-size: 16px;
    }
    
    .privacy-content p,
    .terms-content p {
        font-size: 14px;
    }
}
