/* Studio Detail Page Styles */

.studio-detail-section {
    padding: 2rem;
    background-color: #faf9f7;
    min-height: calc(100vh - 80px);
}

.studio-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Left Sidebar */
.studio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

/* Booking Card */
.booking-card {
    background-color: #ffffff;
    padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.booking-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
}

.price-unit {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    color: #666666;
}

.btn-book {
    display: block;
    width: 100%;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 1rem;
    transition: background-color 0.2s ease;
}

.btn-book:hover {
    background-color: #e54000;
}

.booking-note {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem;
    color: #666666;
    margin: 0.75rem 0 0 0;
}

/* Quick Info */
.studio-quick-info {
    background-color: #ffffff;
    padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #faf9f7;
    color: var(--primary-color);
    font-size: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.quick-info-item > div {
    display: flex;
    flex-direction: column;
}

.quick-info-label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    color: #666666;
}

.quick-info-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
}

/* Owner Card */
.owner-card {
    background-color: #ffffff;
    padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.owner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owner-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.owner-role {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem;
    color: #666666;
    margin: 0;
}

.btn-message {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

.btn-message:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Share Studio */
.share-studio {
    background-color: #ffffff;
    padding: 1.25rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.share-label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: #666666;
    display: block;
    margin-bottom: 0.75rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #faf9f7;
    color: #333333;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Right Side - Studio Content */
.studio-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Studio Header */
.studio-header {
    background-color: #ffffff;
    padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.studio-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #000000;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.studio-header .studio-location {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    color: #666666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.studio-header .studio-location i {
    color: var(--primary-color);
}

/* Photo Gallery */
.studio-gallery {
    background-color: #ffffff;
    padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gallery-main {
    margin-bottom: 0.75rem;
    overflow: hidden;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-more {
    cursor: pointer;
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

/* Studio Sections */
.studio-section {
    background-color: #ffffff;
    padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #000000;
    margin: 0 0 1rem 0;
}

.section-content p {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #faf9f7;
}

.amenity-item i {
    width: 24px;
    color: var(--primary-color);
    font-size: 1rem;
}

.amenity-item span {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #333333;
}

/* Availability Grid */
.availability-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.availability-day {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #faf9f7;
}

.day-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
}

.day-hours {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #666666;
}

/* House Rules */
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #333333;
}

.rules-list li i {
    width: 20px;
    text-align: center;
}

.rules-list li .fa-check {
    color: #4caf50;
}

.rules-list li .fa-xmark {
    color: #e53935;
}

/* Location */
.location-info {
    margin-bottom: 1.5rem;
}

.location-info p {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    margin: 0 0 0.5rem 0;
}

.location-info strong {
    color: #000000;
}

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

.map-placeholder {
    background-color: #faf9f7;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #666666;
}

.map-placeholder i {
    font-size: 2rem;
}

.map-placeholder span {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
}

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviews-header .section-title {
    margin: 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-rating {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
}

.reviews-rating i {
    color: #ffc107;
}

.reviews-count {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: #666666;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    padding: 1.25rem;
    background-color: #faf9f7;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.review-author-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.review-date {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    color: #666666;
    margin: 0;
}

.review-stars {
    color: #ffc107;
    font-size: 0.85rem;
}

.review-text {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.btn-more-reviews {
    display: inline-block;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 1rem;
    transition: opacity 0.2s ease;
}

.btn-more-reviews:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .studio-detail-container {
        grid-template-columns: 1fr;
    }

    .studio-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .booking-card {
        grid-column: 1 / -1;
    }

    .studio-quick-info {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .quick-info-item {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .studio-detail-section {
        padding: 1rem;
    }

    .studio-sidebar {
        grid-template-columns: 1fr;
    }

    .studio-quick-info {
        flex-direction: column;
    }

    .gallery-main img {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 80px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .studio-header,
    .studio-section {
        padding: 1.5rem;
    }
}

@media (max-width: 500px) {
    .studio-title {
        font-size: 1.4rem;
    }

    .gallery-grid {
        display: none;
    }

    .gallery-main img {
        height: 200px;
    }
}

/* Badges */
.studio-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.badge-hiring {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #155724;
    background-color: #d4edda;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #004085;
    background-color: #cce5ff;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

/* Owner Actions */
.owner-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-edit,
.btn-manage {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-edit {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-edit:hover {
    background-color: #e54000;
}

.btn-manage {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-manage:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Styles List */
.styles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.style-tag {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Owner Avatar with Image or Placeholder */
.owner-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-avatar span {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

/* Quick Info Links */
.quick-info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quick-info-value a:hover {
    color: var(--primary-color);
}

/* Gallery Main Border Radius */
.gallery-main {
    border-radius: 8px;
}

.gallery-item {
    border-radius: 8px;
}

/* ============================================
   Studio Rooms for Hire Section
   ============================================ */

.rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.room-card {
    background-color: #faf9f7;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.room-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.room-rate {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 0.375rem 0.875rem;
    white-space: nowrap;
}

.room-description {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #555555;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.room-spec {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-spec i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 18px;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.room-amenity-tag {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.room-amenity-tag i {
    font-size: 0.7rem;
}

/* Responsive for rooms */
@media (max-width: 600px) {
    .room-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .room-rate {
        align-self: flex-start;
    }

    .room-specs {
        gap: 0.75rem;
    }
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.review-header .verified-badge {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.review-header .verified-badge i {
    font-size: 0.7rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-stars i {
    font-size: 0.9rem;
    color: #ffc107;
}

.review-stars i.fa-regular {
    color: #ddd;
}

.review-text {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.review-date {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

/* Reviews Header with Overall Rating */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviews-header .section-title {
    margin-bottom: 0;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f7f5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.rating-stars .fa-regular {
    color: #ddd;
}

.rating-count {
    font-size: 0.9rem;
    color: #666;
}

/* Review Form */
.review-form-container {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
}

.review-form-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.25rem 0;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rating-field label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 0.75rem;
}

.star-rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.star-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.star-option:hover {
    background: #fff;
    border-color: #e0e0e0;
}

.star-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.star-option input[type="radio"]:checked + .star-label {
    color: #333;
}

.star-label {
    font-size: 1.1rem;
    color: #ffc107;
}

.star-label i.fa-regular {
    color: #ddd;
}

.review-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-form .form-group label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.review-form .form-textarea {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.review-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.review-form .form-error {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem;
    color: #dc3545;
}

.review-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary-color);
    padding: 0.875rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.review-form .btn-primary:hover {
    background-color: #e54000;
}

/* Review Notice */
.review-notice {
    background: #e8f4fd;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 3px solid #007bff;
}

.review-notice i {
    font-size: 1.25rem;
    color: #007bff;
}

.review-notice p {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

.review-notice a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.review-notice a:hover {
    text-decoration: underline;
}

.no-reviews {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .review-header {
        flex-direction: column;
    }

    .review-stars {
        order: -1;
    }
}
