/*
Theme Name: Casablanca Dekorasi Malang
Theme URI: https://casablancadekorasimalang.web.id
Author: Casablanca Team
Author URI: https://casablancadekorasimalang.web.id
Description: Casablanca Dekorasi Malang - Vendor dekorasi pernikahan dengan konsep elegan dan modern.
Version: 1.0.0
Text Domain: casablanca
*/

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(212,175,55,.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 10px;
    color: #8c7a7a;
    line-height: 1.2;
}

.logo h1 a {
    color: #d4af37;
    text-decoration: none;
    font-size: 24px;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #5a4a4a;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #d4af37;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: #d4af37;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #d4af37;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #d4af37;
    color: #fff;
}

.btn-primary:hover {
    background: #c4a12e;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: #fff;
}

.btn-wa {
    background: #25D366;
    color: #fff;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #d4af37;
}

/* Gallery Preview */
.gallery-preview {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-categories {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-cat {
    padding: 8px 20px;
    margin: 0 5px;
    border: none;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-cat.active,
.gallery-cat:hover {
    background: #d4af37;
    color: #fff;
}

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

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

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.rating-badge {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* Consultation */
.consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4af37 0%, #c4a12e 100%);
    color: #fff;
}

.consultation-box {
    text-align: center;
}

.consultation-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.consultation-options {
    margin-top: 40px;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-widget h3 {
    margin-bottom: 20px;
    color: #d4af37;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: #fff;
    text-decoration: none;
}

.footer-widget a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 15px;
}

/* Blog Page */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h2 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.blog-content h2 a:hover {
    color: #d4af37;
}

.blog-meta {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    color: #d4af37;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 10px;
}

.sidebar-widget a {
    text-decoration: none;
    color: #666;
}

.sidebar-widget a:hover {
    color: #d4af37;
}

/* Gallery Page */
.gallery-filters {
    text-align: center;
    margin: 40px 0;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px;
    border: none;
    background: #f8f9fa;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #d4af37;
    color: #fff;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-masonry-item:hover .item-info {
    opacity: 1;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 60px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #d4af37;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0 60px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 40px 0 60px;
}

.team-card {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    margin: 20px 0 5px;
    color: #333;
}

.team-position {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 60px 0;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    min-width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.btn-wa-small {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.btn-email {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: #d4af37;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.business-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.business-hours ul {
    list-style: none;
    margin-top: 10px;
}

.business-hours li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.business-hours span {
    font-weight: 600;
    width: 120px;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    padding: 8px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.social-link:hover {
    background: #d4af37;
    color: #fff;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.map-section {
    margin: 40px 0 60px;
}

.map-section h3 {
    margin-bottom: 20px;
}

/* FAQ Page Styles */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0 50px;
}

.faq-cat-btn {
    padding: 10px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
    background: #d4af37;
    color: #fff;
}

.faq-category {
    margin-bottom: 40px;
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-category h2 {
    margin-bottom: 25px;
    color: #d4af37;
    font-size: 24px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #e9ecef;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-contact {
    text-align: center;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
    margin: 60px 0;
}

.faq-contact h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        transform: translateY(-120%);
        transition: transform 0.3s;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        transform: translateY(0);
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 12px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .services-grid,
    .testimonials-grid,
    .footer-widgets,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        column-count: 2;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-categories {
        gap: 8px;
    }
    
    .faq-cat-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        column-count: 1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

