/* General Styles */
html {
    scroll-behavior: smooth;
}

/* Font face declarations */
@font-face {
    font-family: "SF Pro Text";
    src: local("SF Pro Text"),
         local("SFProText-Regular"),
         url("https://sf.abarba.me/SF-Pro-Text-Regular.otf");
}

@font-face {
    font-family: "SF Pro Text";
    font-weight: 600;
    src: local("SF Pro Text Semibold"),
         local("SFProText-Semibold"),
         url("https://sf.abarba.me/SF-Pro-Text-Semibold.otf");
}

/* Update base font family */
body {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0px;
    color: #484848;
}

/* Update headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
}

/* Update other text elements if needed */
.guide-item h2,
.section-page h2,
.modal-title {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.book-now {
    color: #FF5A5F !important;
    font-weight: 600;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/living-room.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#hero .btn-primary {
    background-color: #FF5A5F;
    border-color: #FF5A5F;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#hero .btn-primary:hover {
    background-color: #FF4348;
    border-color: #FF4348;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Property Description */
#property {
    background-color: white;
}

#property .lead {
    line-height: 1.8;
}

#property ul li {
    padding: 0.5rem 0;
}

#property .fas {
    color: #FF5A5F;
}

/* Amenities */
.amenity-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-item i {
    color: #FF5A5F;
}

.amenity-item p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Location */
#location {
    background-color: white;
}

.map-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

#location ul li {
    padding: 0.5rem 0;
}

#location .fas {
    color: #FF5A5F;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Booking Buttons Styles */
.booking-buttons {
    margin-top: 2rem;
}

.btn-airbnb {
    background-color: #FF5A5F;
    border-color: #FF5A5F;
    color: white;
}

.btn-airbnb:hover {
    background-color: #FF4348;
    border-color: #FF4348;
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-vrbo {
    background-color: #3D5974;
    border-color: #3D5974;
    color: white;
}

.btn-vrbo:hover {
    background-color: #2D4359;
    border-color: #2D4359;
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-email {
    background-color: #28A745;
    border-color: #28A745;
    color: white;
}

.btn-email:hover {
    background-color: #218838;
    border-color: #218838;
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}


/* Footer */
footer {
    background-color: #2D2D2D;
}

footer .btn-outline-light:hover {
    background-color: #FF5A5F;
    border-color: #FF5A5F;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero .lead {
        font-size: 1.2rem;
    }

    .amenity-item {
        margin-bottom: 1rem;
    }

    body {
        font-size: 0.9rem;
    }

    .booking-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .booking-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 2rem;
    }

    .location-map {
        margin-top: 2rem;
    }
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Tooltip */
.tooltip {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
}

.copy-email {
    cursor: pointer;
    color: #FF5A5F;
    text-decoration: underline;
}

/* Social Links */
.social-links a {
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Carousel Styles */
#gallery {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 300px;
    }

    #gallery {
        padding: 2rem 0;
    }
}

/* Date Picker Styles */
.datepicker {
    z-index: 1060 !important;
    margin: 0 auto;
}

.datepicker-dropdown {
    left: 50% !important;
    transform: translateX(-50%);
}

.modal-dialog {
    max-width: 600px;
}

.datepicker-cell.selected, 
.datepicker-cell.selected:hover {
    background-color: #222222 !important;
    color: white !important;
}

.datepicker-cell.focused:not(.selected) {
    background-color: rgba(34, 34, 34, 0.1) !important;
}

.datepicker-cell.range {
    background-color: #f0f0f0 !important;
}

.datepicker-cell.range-start,
.datepicker-cell.range-end {
    background-color: #222222 !important;
    color: white !important;
}

#stayDuration {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

#stayDuration h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#dateRange {
    color: #666;
    margin-bottom: 0;
}

.highlighted {
    background-color: #959698; /* Highlight color */
}

.form-control[readonly] {
    background-color: white;
    cursor: pointer;
}

.host-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.host-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.host-image-container {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.host-text {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
    text-align: left;
}

.contact-section ul {
    padding-left: 0;
}

/* Tablet adjustments */
@media (min-width: 769px) {
    .host-section {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
        align-items: flex-start;
    }

    .host-image {
        width: 120px;
        height: 120px;
    }

    .host-image-container {
        flex-shrink: 0;
        margin-bottom: 0;
        max-width: 350px;
    }

    .host-text {
        margin: 0;
        flex-grow: 1;
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .host-image {
        width: 130px;
        height: 130px;
    }

    .host-image-container {
        max-width: 350px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .host-section {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
    }

    .host-image {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .host-section p {
        margin-top: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .section-content {
        padding: 0 1rem;
    }

    .contact-section {
        text-align: left;
        margin-top: 2rem;
    }

    .contact-section ul {
        padding-left: 0;
    }
}

.contact-options {
    margin-top: 20px;
}

.contact-option {
    padding: 1.5rem;
    margin-bottom: 20px;
    border-left: 4px solid #FF5A5F;
    background-color: #f8f9fa;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    position: relative; /* For the border bottom positioning */
}

/* Add line between contact options */
.contact-option:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.contact-option:hover {
    transform: translateX(5px);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-option i {
    color: #FF5A5F;
    font-size: 1.2rem;
    width: 25px;
    margin-right: 10px;
}

.contact-option strong {
    color: #484848;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .contact-options {
        margin-top: 20px;
        padding: 0 0.5rem;
    }
    
    .contact-option {
        padding: 1.5rem;
        margin-bottom: 20px;
        border-left: 4px solid #FF5A5F;
        background-color: #f8f9fa;
        border-radius: 0 12px 12px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        transition: transform 0.2s ease;
        position: relative; /* For the border bottom positioning */
    }
    
    /* Add line between contact options */
    .contact-option:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-option:hover {
        transform: translateX(5px);
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}
