:root {
    --primary: #6b5040;
    --primary-light: #8c6b53;
    --secondary: #d5c5b5;
    --background: #f9f3ea;
    --text: #8c6b53;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playfair Display", serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

li {
    margin-bottom: 10px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-cta,
.btn-login,
.btn-register,
.btn-theme,
.filter-btn,
.season-tab {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Playfair Display", serif;
    border: none;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.btn-login {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-login:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-register {
    background-color: var(--primary);
    color: var(--white);
}

.btn-register:hover {
    background-color: var(--primary-light);
}

.btn-theme {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-theme:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.filter-btn {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--secondary);
    padding: 8px 20px;
    margin-right: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.season-tab {
    background-color: transparent;
    color: var(--text);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 10px 25px;
    margin-right: 10px;
    font-size: 1.1rem;
}

.season-tab:hover,
.season-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background-color: transparent;
}

.palette-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.palette-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* agar ada efek gelap seperti overlay */
    z-index: 0;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Featured Themes */
.featured-themes {
    padding: 60px 0;
}

.theme-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.theme-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.theme-card {
    flex: 0 0 auto;
    width: 300px;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.theme-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.theme-card:hover .theme-image img {
    transform: scale(1.1);
}

.theme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: var(--white);
}

.theme-overlay h3 {
    margin: 0;
    color: var(--white);
}

.theme-content {
    padding: 20px;
}

.theme-content p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

/* Color Palettes */
.color-palettes {
    padding: 60px 0;
    background-color: var(--white);
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.palette-card {
    background-color: var(--background);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.palette-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.palette-colors {
    display: flex;
    height: 80px;
}

.color-swatch {
    flex: 1;
}

.palette-content {
    padding: 20px;
}

.palette-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.palette-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Inspiration Gallery */
.inspiration-gallery {
    padding: 60px 0;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.gallery-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.gallery-info p {
    font-size: 0.9rem;
    margin: 0;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

/* Featured Inspiration */
.featured-inspiration {
    padding: 60px 0;
    background-color: var(--white);
}

.featured-wedding {
    background-color: var(--background);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-images {
    display: flex;
    flex-direction: column;
}

.featured-main-image {
    width: 100%;
    height: 400px;
}

.featured-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-small-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.featured-small-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.featured-small-images img:hover {
    transform: scale(1.05);
}

.featured-content {
    padding: 30px;
}

.featured-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.featured-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.featured-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 5px;
}

.detail-item h4 {
    font-size: 1rem;
    color: #777;
    margin-bottom: 5px;
}

.detail-item p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary);
}

/* Seasonal Ideas */
.seasonal-ideas {
    padding: 60px 0;
}

.season-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.season-content {
    position: relative;
}

.season-panel {
    display: none;
}

.season-panel.active {
    display: block;
}

.season-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.season-image {
    flex: 1 1 400px;
}

.season-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-info {
    flex: 1 1 400px;
    padding: 30px;
}

.season-info h3 {
    margin-bottom: 15px;
}

.season-info p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.season-info h4 {
    margin: 25px 0 15px;
}

.season-info ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.season-info ul li {
    position: relative;
    padding-left: 15px;
}

.season-info ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("/wedding-image/nikahan/IMG_5587.JPG") center/cover no-repeat;
    text-align: center;
    color: var(--white);
    margin: 60px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero {
        height: 450px;
    }
    .featured-main-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .featured-wedding {
        display: block;
    }
    .season-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        height: 350px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .featured-small-images {
        grid-template-columns: 1fr;
    }
    .featured-small-images img {
        height: 200px;
    }
    .featured-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        height: 300px;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .theme-slider {
        padding: 10px 0;
    }
    .theme-card {
        width: 250px;
    }
    .palette-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: 220px;
    }
    .season-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .season-info {
        padding: 20px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
