/* CSS VARIABLES */
:root {
    /* Primary Colors */
    --primary: #2c5f5d;
    --secondary: #f5e6a8;
    --accent: #d74b2f;
    --light-accent: #f2a063;
    --text: #2c5f5d;

    /* Utility Colors */
    --light-gray: #f5e6a8;
    --border: #c49c6b;
    --dark-color: #1f4342;
    --semi-dark-color: #2c5f5d;
    --light-color: #fdf6e3;
    --gradient: linear-gradient(to bottom right, var(--primary), var(--semi-dark-color), var(--dark-color));
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-color);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(10, 25, 47, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 25, 47, 0.95);
}

.navbar-brand {
    font-size: 1.8rem;
    color: white !important;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--secondary);
    color: var(--primary) !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #072040;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

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

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

.btn-success {
    background-color: #25D366;
    color: var(--secondary);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.8rem;
    color: var(--secondary);
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

/* Untuk responsif */
@media (max-width: 768px) {
    .logo h1 {
        gap: 6px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

/* Section Styles */
section {
    padding: 40px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    padding: 150px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23064ffda" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,218.7C960,213,1056,235,1152,234.7C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
}

.about-section h3 {
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
}

.blog-section .card {
    transition: all 0.3s ease;
}

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

.blog-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-section .card-title {
    color: var(--dark-color);
    font-size: 1.2rem;
}

.blog-section .card-text {
    color: #666;
    font-size: 0.95rem;
}

/* Quotes Section */
.quotes-section {
    padding: 40px 0;
    background: var(--semi-dark-color);
}

.quotes-section p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--light-accent);
}

/* Products Section */
.products-section {
    background-color: var(--light-gray);
}

.product-category {
    transition: transform 0.3s ease;
}

.product-category:hover {
    transform: translateY(-10px);
}

.product-category i {
    color: var(--primary);
}

.product-category ul li {
    padding: 5px 0;
    text-align: left;
}

/* Featured Section */
.featured-section {
    background-color: var(--light-gray);
}

.featured-section .card {
    transition: transform 0.3s ease;
}

.featured-section .card:hover {
    transform: translateY(-8px);
}

.feature-badge {
    background: var(--primary);
    color: white;
}

/* Gallery Section */
.gallery-section img {
    transition: transform 0.3s ease;
}

.gallery-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--primary);
    color: white;
}

.why-choose-us .section-header h2 {
    color: var(--accent);
}

.why-choose-us .section-header h2::after {
    background: var(--accent);
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    color: white;
    margin-bottom: 15px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-slider {
    padding: 20px;
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark-color);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -10px;
}

.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--primary);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary) !important;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
}

.cta-section .btn-light {
    background-color: white;
    color: var(--primary);
}

.cta-section .btn-light:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}





/* FLOATING ELEMENTS */
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent);
    transform: scale(1.1);
    color: var(--primary);
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    color: white;
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.15);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes photoPop {
    0% {
        transform: scale(0.85) rotate(-3deg);
        opacity: 0;
    }

    80% {
        transform: scale(1.05) rotate(1deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.floating-icon {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.7;
    z-index: 2;
    animation: floatIcon 3.5s ease-in-out infinite;
    pointer-events: none;
}

.icon-1 {
    top: 10%;
    left: 8%;
    color: var(--accent);
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    color: #e25555;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 18%;
    left: 12%;
    color: #ffd700;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: 12%;
    color: #1a237e;
    animation-delay: 2.5s;
}

.icon-5 {
    top: 50%;
    left: 50%;
    color: #e25555;
    /* merah */
    animation-delay: 1s;
}

.main-photo-animate {
    animation: photoPop 1.2s cubic-bezier(.68, -0.55, .27, 1.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--secondary);
    padding: 60px 0 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--secondary);
    font-size: 1.8rem;
}

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

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
    color: var(--light-accent);
}

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

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

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

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

/* Default rata kiri */
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
    transform: none;
}

/* Mobile: center */
@media (max-width: 767.98px) {
    .footer-links h4 {
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
    color: var(--light-accent);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links ul li i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    color: var(--light-accent);
}

.copyright {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {

    /* Logo Responsive */
    .logo h1 {
        gap: 6px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .nav-link {
        margin: 5px 0;
    }

    /* Components */
    .feature-box {
        padding: 20px 15px;
    }

    .footer {
        text-align: center;
    }

    /* Floating Elements */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }

    .whatsapp-fab {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    /* Gallery */
    .gallery-slider {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Gallery Section Styles */
.gallery-container {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.gallery-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Gallery Items */
.gallery-item {
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}
