/* ============================================
   Arabic Door Frame Design for Rooms
   Professional Moorish/Islamic Style
   ============================================ */

/* Section Styling */
.accomodation-section.arabic-style {
    background: transparent;
    padding: 80px 0 100px;
    position: relative;
}

/* Room Block with Arabic Door Frame */
.room-block.arabic-frame {
    margin-bottom: 50px;
    padding: 0 15px;
}

.room-block.arabic-frame .inner-box {
    position: relative;
    background: transparent;
    padding: 20px 20px 30px;
}

/* Arabic Door Frame Container */
.arabic-door-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Outer Decorative Frame */
.arabic-door-frame {
    position: relative;
    background: linear-gradient(180deg, #c9a227 0%, #b8860b 50%, #8b6914 100%);
    padding: 8px;
    border-radius: 160px 160px 0 0;
    box-shadow: 
        0 0 0 3px #fff,
        0 0 0 6px #c9a227,
        0 0 0 9px #fff,
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(201, 162, 39, 0.3);
}

/* Inner Frame with Pattern */
.arabic-door-inner {
    position: relative;
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 155px 155px 0 0;
    padding: 6px;
    overflow: hidden;
}

/* Decorative Pattern Border */
.arabic-door-inner::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 150px 150px 0 0;
    pointer-events: none;
    z-index: 10;
}

/* Geometric Pattern Overlay */
.arabic-door-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.15) 0%, transparent 100%);
    border-radius: 150px 150px 0 0;
    pointer-events: none;
    z-index: 10;
}

/* Image Container with Arch Shape */
.arabic-door-image {
    position: relative;
    width: 100%;
    border-radius: 150px 150px 0 0;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.arabic-door-image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.arabic-door-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.arabic-door-container:hover .arabic-door-image img {
    transform: scale(1.08);
}

/* Overlay on Image - minimal for hover effect only */
.arabic-door-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.arabic-door-container:hover .arabic-door-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* Room Content - Below the door */
.arabic-door-content {
    text-align: center;
    padding: 25px 15px 10px;
    background: transparent;
}

/* Room Title */
.arabic-door-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #b8860b;
    margin: 0 0 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.arabic-door-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.arabic-door-content h3 a:hover {
    color: #8b6914;
}

/* Price Info */
.arabic-door-content .price {
    font-family: 'Epilogue', sans-serif;
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.arabic-door-content .price .amount {
    color: #b8860b;
    font-weight: 600;
    font-size: 18px;
}

/* View Button */
.arabic-door-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #b8860b;
    color: #b8860b;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
}

.arabic-door-btn:hover {
    background: #b8860b;
    color: #fff;
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.3);
}

/* Decorative Corner Elements */
.corner-decor {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #c9a227;
    opacity: 0.6;
}

.corner-decor.top-left {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.corner-decor.top-right {
    top: -15px;
    right: -15px;
    border-left: none;
    border-bottom: none;
}

.corner-decor.bottom-left {
    bottom: -15px;
    left: -15px;
    border-right: none;
    border-top: none;
}

.corner-decor.bottom-right {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

/* Section Title Styling */
.arabic-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.arabic-section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 600;
    color: #b8860b;
    letter-spacing: 5px;
    margin: 0;
    text-transform: uppercase;
}

.arabic-section-title .subtitle {
    font-family: 'Epilogue', sans-serif;
    font-size: 14px;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 15px;
}

/* Decorative Divider */
.arabic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 15px;
}

.arabic-divider span {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b8860b, transparent);
}

.arabic-divider .star {
    color: #b8860b;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .arabic-door-container {
        max-width: 280px;
    }
    
    .arabic-door-content h3 {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

@media (max-width: 991px) {
    .room-block.arabic-frame {
        margin-bottom: 40px;
    }
    
    .arabic-door-container {
        max-width: 300px;
    }
    
    .arabic-section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .accomodation-section.arabic-style {
        padding: 60px 0 80px;
    }
    
    .arabic-door-container {
        max-width: 280px;
    }
    
    .arabic-section-title h2 {
        font-size: 26px;
        letter-spacing: 3px;
    }
    
    .arabic-door-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575px) {
    .arabic-door-container {
        max-width: 260px;
    }
    
    .arabic-door-frame {
        padding: 6px;
    }
    
    .arabic-door-content h3 {
        font-size: 16px;
    }
}

/* Animation Keyframes */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.arabic-door-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    border-radius: 160px 160px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arabic-door-container:hover .arabic-door-frame::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}
