/* style.css - CSS Utama untuk semua halaman */

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0a3d2f 0%, #1a5c48 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: #c9a96e;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover {
    color: #c9a96e;
}

nav ul li a.active {
    color: #c9a96e;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c9a96e;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #c9a96e;
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn:hover {
    background-color: #b8944e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

/* Section Title Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #0a3d2f;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #c9a96e;
    margin: 15px auto;
}

/* Hero Section Base */
.hero {
    background: linear-gradient(rgba(10, 61, 47, 0.8), rgba(26, 92, 72, 0.8));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

/* Article Card Styles */
.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-tags {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background-color: #e9f5f1;
    color: #0a3d2f;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tag-spa {
    background-color: #f9f0e6;
    color: #8a6d3b;
}

.tag-golf {
    background-color: #e6f3e6;
    color: #2d5a2d;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #0a3d2f;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.read-more {
    color: #c9a96e;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more:hover {
    color: #b8944e;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Package Card Styles */
.package-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    background-color: #0a3d2f;
    color: white;
    padding: 20px;
    text-align: center;
}

.package-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.package-price {
    font-size: 28px;
    font-weight: 700;
    color: #c9a96e;
}

.package-price span {
    font-size: 16px;
    font-weight: 400;
    color: #ddd;
}

.package-features {
    padding: 25px;
}

.package-features ul {
    list-style: none;
}

.package-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.package-features ul li:last-child {
    border-bottom: none;
}

.package-features ul li i {
    color: #c9a96e;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Destination Card Styles */
.destination-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
    text-align: center;
}

.destination-rating {
    color: #c9a96e;
    margin-bottom: 10px;
}

.destination-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #0a3d2f;
}

.destination-location {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Newsletter Styles */
.newsletter {
    background-color: #0a3d2f;
    color: white;
    padding: 70px 0;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 16px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.5);
}

.newsletter-btn {
    background-color: #c9a96e;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.newsletter-btn:hover {
    background-color: #b8944e;
}

/* Footer Styles */
footer {
    background-color: #06251e;
    color: #ddd;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo span {
    color: #c9a96e;
}

.footer-about p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #aaa;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c9a96e;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: #c9a96e;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 15px;
}

.footer-contact p i {
    color: #c9a96e;
    margin-right: 10px;
    width: 20px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #c9a96e;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #888;
}

/* Grid Layouts */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .newsletter h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        margin-top: 20px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    nav ul li a.active::after {
        bottom: -3px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .articles-grid, .packages-grid, .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input, .newsletter-btn {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        padding: 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .package-header h3 {
        font-size: 20px;
    }
    
    .package-price {
        font-size: 24px;
    }
}