/**
 * Villa Details Page Styles
 * Simple, clean design
 */

/* Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #666666;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
                url('../images/bg-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
}

/* Main Wrapper */
.villa-details-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Container */
.container-detail {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 60px;
}

/* Title */
.villa-details-title {
    font-family: 'Vidaloka', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    color: #202020;
    margin: 0 0 40px 0;
}

/* Content Text */
.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
}

.content-text p {
    margin-bottom: 20px;
}

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

.content-text strong {
    color: #202020;
    font-weight: 600;
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(189, 154, 104, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #14212D;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-current:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #BD9A68;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.language-current .flag-icon {
    font-size: 20px;
    line-height: 1;
}

.language-switcher .flag-icon-img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: inline-block;
    vertical-align: middle;
}

.language-current .lang-name {
    margin-right: 5px;
}

.language-current i {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #666666;
}

.language-dropdown.show ~ .language-current i,
.language-current:hover i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid rgba(189, 154, 104, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #14212D;
}

.language-option:hover {
    background: rgba(189, 154, 104, 0.08);
}

.language-option.active {
    background: rgba(189, 154, 104, 0.12);
    color: #BD9A68;
}

.language-option .flag-icon {
    font-size: 20px;
    line-height: 1;
}

.language-option .flag-icon-img {
    width: 20px;
    height: 15px;
}

.language-option .lang-name {
    flex: 1;
}

.i18n-fade {
    animation: i18nFadeIn 0.3s ease;
}

@keyframes i18nFadeIn {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .language-current {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .language-current .flag-icon {
        font-size: 18px;
    }
    
    .language-dropdown {
        min-width: 160px;
    }
    
    .language-option {
        padding: 10px 15px;
     language-current .lang-name {
        display: none;
    }
    
    .language-current {
        padding: 8px 12px;
    }
    
    .   font-size: 13px;
    }
    
    .villa-details-wrapper {
        padding: 40px 15px;
    }
    
    .container-detail {
        padding: 30px 25px;
    }
    
    .villa-details-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .content-text {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .villa-details-wrapper {
        padding: 30px 10px;
    }
    
    .container-detail {
        padding: 25px 20px;
    }
    
    .villa-details-title {
        font-size: 20px;
    }
    
    .content-text {
        font-size: 14px;
    }
}
