/* Hero Section Styles */
.destination-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('img/destinasi\ wisata\ pulau\ penyengat.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.destination-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Filter Section Styles */
.filter-section {
    background: #f8f9fa;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
}

.search-box button {
    padding: 10px 20px;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Destinations Grid Styles */
.destinations-grid {
    padding: 50px 0;
}

.destination-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-layout {
    display: flex;
    align-items: stretch;
}

.destination-image {
    flex: 0 0 40%;
    position: relative;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.destination-category span {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
}

.destination-content {
    flex: 1;
    padding: 20px;
}

.destination-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.destination-description {
    color: #666;
    line-height: 1.6;
}

.destination-info {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.destination-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
}

.btn.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.btn-primary:hover {
    background: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .destination-layout {
        flex-direction: column;
    }

    .destination-image {
        height: 200px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
}

.detail-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.detail-content {
    margin-bottom: 30px;
}

.detail-gallery {
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.detail-map {
    margin-bottom: 30px;
}

#map {
    height: 400px;
    border-radius: 10px;
}

.detail-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.detail-tips ul {
    list-style-type: none;
    padding: 0;
}

.detail-tips li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.detail-tips li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
}

.btn-login {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-login:hover {
    background-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}