/*
Theme Name: Interior Bali
Description: Template desain interior bernuansa Bali modern
Version: 1.0
Author: Your Name
*/

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #8B4513;
    --secondary: #D4AF37;
    --accent: #2E8B57;
    --light: #F5F5DC;
    --dark: #3E2723;
    --text: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    margin-left: 10px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    width: 100%;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 5%;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .cta-button {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.hero-buttons .secondary-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .secondary-button:hover {
    background-color: white;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 100px 5%;
    background-color: white;
    position: relative;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    padding: 0 5%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.feature h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

/* Services Section */
.services {
    padding: 100px 5%;
    background-color: #f9f9f9;
    position: relative;
    width: 100%;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    justify-items: center;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 10px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 5%;
    background-color: white;
    width: 100%;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 5%;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    justify-items: center;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 20px;
    text-align: center;
    color: white;
}

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

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

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 15px;
    text-align: center;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.portfolio-link:hover {
    background-color: white;
    color: var(--primary);
}

/* Testimonials Section - CENTER */
.testimonials {
    padding: 100px 5%;
    background-color: white;
    position: relative;
    width: 100%;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 60px 40px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Quote icon styling */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-style: normal;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.author-info p {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
    font-style: normal;
}

/* Rating stars */
.testimonial-rating {
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-rating i {
    color: var(--secondary);
    margin-right: 2px;
    font-size: 16px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Date styling */
.testimonial-date {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Contact Section - FIXED ALIGNMENT */
.contact {
    padding: 100px 5%;
    background-color: #f9f9f9;
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    justify-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

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

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 5% 30px;
    width: 100%;
    text-align: center;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

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

.footer-col p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ccc;
    text-align: left;
}

.footer-links {
    list-style: none;
    text-align: left;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links i {
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-content,
    .services-container,
    .portfolio-grid,
    .contact-container {
        max-width: 1200px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 50px 30px 30px;
    }
    
    .testimonial-card::before {
        left: 50%;
        transform: translateX(-50%);
        font-size: 70px;
    }
    
    .about-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    header {
        padding: 15px 5%;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature {
        justify-content: center;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 2%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .testimonial-slide {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 50px 25px 30px;
    }
    
    .testimonial-card::before {
        font-size: 60px;
    }
    
    .testimonial-date {
        top: 25px;
        right: 25px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .services-container,
    .portfolio-grid {
        padding: 0 2%;
    }
    
    .testimonial-card {
        padding: 40px 20px 25px;
    }
    
    .testimonial-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .testimonial-card::before {
        font-size: 50px;
    }
    
    .testimonial-date {
        position: static;
        text-align: center;
        margin-bottom: 15px;
        font-size: 11px;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-col h3,
    .footer-col p,
    .footer-links {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-card::before {
        top: 15px;
        font-size: 40px;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}