/* ==================== GLOBAL STYLES ==================== */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== HEADER ==================== */
header {
    background-image: url('foto gorden/gordenkembang2.JPG');
    background-size: cover;
    background-position: center;
    color: black;
    padding: 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

header h3 {
    font-size: 1.5rem;
    margin: 5px 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

header h5 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.cta-button {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* ==================== MAIN CONTENT SECTIONS ==================== */
section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.services, .gorden-types, .testimonials, .artikel {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* ==================== BORDER CARD ==================== */
.border-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.border-card {
    border-radius: 15px;
    background: grey;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    border: 2px solid black;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.border-card h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.border-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.border-card ul li {
    text-align: left;
    color: white;
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

.border-card ul li::before {
    content: "✔";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1.2rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.testimonial-slider {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 20px;
}

.person {
    flex: 0 0 300px;
    background-color: grey;
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

.rating {
    color: gold;
    font-size: 1rem;
}

/* ==================== PRODUCT SLIDER ==================== */
.slider-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
    margin: 30px auto;
}

.slider-title {
    text-align: center;
    margin-bottom: 30px;
}

.slider-title h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
    margin: 0 40px;
}

.slider-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    position: absolute;
    height: 250px;
    width: 30%;
    opacity: 0.7;
    z-index: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-item.active {
    height: 300px;
    width: 40%;
    z-index: 2;
    opacity: 1;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.slider-item.active img {
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
}

.slider-arrow:hover {
    background-color: #666565;
    color: white;
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #4f4f4e;
    transform: scale(1.2);
}

.gorden-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gorden-type {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gorden-type-img {
    border-radius: 10px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 1rem 0;
}

.gorden-type h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gorden-type p {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ==================== ARTIKEL SECTION ==================== */
.artikel h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #333;
}

.artikel-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.artikel-image {
    text-align: center;
}

.artikel-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.artikel-text {
    color: #444;
    font-size: 1.1rem;
    text-align: justify;
}

.artikel-text p {
    margin-bottom: 15px;
}

.artikel-text strong {
    color: #000;
    font-weight: bold;
}

/* ==================== GORDEN TYPES SECTION ==================== */
.gorden-types h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.gorden-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gorden-type {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gorden-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gorden-type h3 {
    color: #28a745;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.gorden-type-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.gorden-type p {
    color: #555;
    font-size: 1rem;
    text-align: left;
    line-height: 1.5;
}

/* ==================== 3D SLIDER STYLES ==================== */
.slider-container-3d {
    width: 100%;
    position: relative;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.slider-title {
    text-align: center;
    margin-bottom: 30px;
}

.slider-title p {
    font-size: 1.2rem;
    color: #555;
}

.slider-wrapper-3d {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slide-3d {
    position: absolute;
    width: 60%;
    height: 80%;
    left: 20%;
    top: 10%;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.slide-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.slide-content-3d {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.slide-content-3d h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slide-content-3d p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.slide-content-3d .price {
    font-weight: bold;
    color: #ffd700;
    font-size: 1.1rem;
}

.slide-3d.active-3d {
    transform: translateZ(100px);
    z-index: 10;
}

.slide-3d.active-3d img {
    transform: scale(1.05);
}

.slide-3d.prev-3d {
    transform: translateX(-40%) translateZ(-50px) rotateY(10deg);
    opacity: 0.8;
    filter: brightness(0.7);
    z-index: 1;
}

.slide-3d.next-3d {
    transform: translateX(40%) translateZ(-50px) rotateY(-10deg);
    opacity: 0.8;
    filter: brightness(0.7);
    z-index: 1;
}

.slide-3d.far-prev-3d {
    transform: translateX(-70%) translateZ(-100px) rotateY(20deg);
    opacity: 0.4;
    filter: brightness(0.5);
    z-index: 0;
}

.slide-3d.far-next-3d {
    transform: translateX(70%) translateZ(-100px) rotateY(-20deg);
    opacity: 0.4;
    filter: brightness(0.5);
    z-index: 0;
}

.slider-nav-3d {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 20;
}

.slider-nav-3d button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-nav-3d button:hover {
    background-color: white;
    transform: scale(1.1);
}

.slider-nav-3d i {
    font-size: 1.5rem;
    color: #333;
}

.slider-dots-3d {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 20;
}

.slider-dot-3d {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.slider-dot-3d.active-3d {
    background-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Efek 3D tambahan */
.slide-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.slide-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    border-radius: 10px;
}

/* Responsive design untuk 3D slider */
@media (max-width: 1200px) {
    .slide-3d {
        width: 70%;
        left: 15%;
    }
    
    .slide-3d.prev-3d {
        transform: translateX(-50%) translateZ(-50px) rotateY(10deg);
    }
    
    .slide-3d.next-3d {
        transform: translateX(50%) translateZ(-50px) rotateY(-10deg);
    }
    
    .slide-3d.far-prev-3d, .slide-3d.far-next-3d {
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .slider-wrapper-3d {
        height: 350px;
    }
    
    .slide-content-3d h3 {
        font-size: 1.3rem;
    }
    
    .slide-content-3d p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .slider-wrapper-3d {
        height: 300px;
    }
    
    .slide-3d {
        width: 80%;
        left: 10%;
        height: 70%;
        top: 15%;
    }
    
    .slider-nav-3d button {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav-3d i {
        font-size: 1.2rem;
    }
    
    .slide-content-3d {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .slider-wrapper-3d {
        height: 250px;
    }
    
    .slide-3d {
        width: 90%;
        left: 5%;
    }
    
    .slider-nav-3d button {
        width: 35px;
        height: 35px;
    }
    
    .slide-content-3d h3 {
        font-size: 1.1rem;
    }
    
    .slide-content-3d p, 
    .slide-content-3d .price {
        font-size: 0.8rem;
    }
    
    .slider-dot-3d {
        width: 12px;
        height: 12px;
    }
}

/* ==================== WHATSAPP BUTTON STYLES ==================== */
/* Tombol WhatsApp di header */
.cta-button {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.cta-button i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Floating WhatsApp Button */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wa-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.wa-float i {
    transition: transform 0.3s ease;
}

.wa-float:hover i {
    transform: scale(1.1);
}

/* Animasi pulsate */
@keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.wa-float {
    animation: pulsate 2s infinite;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .cta-button i {
        font-size: 1.3rem;
        margin-right: 8px;
    }
    
    .wa-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .wa-float {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 80vh;
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header h3 {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .border-card {
        padding: 20px;
    }
    
    .border-card h2 {
        font-size: 1.3rem;
    }
    
    .border-card ul li {
        padding-left: 25px;
        font-size: 0.9rem;
    }
    
    .testimonials h2, .artikel h2, .gorden-types h2 {
        font-size: 1.5rem;
    }
    
    .artikel-text {
        font-size: 1rem;
    }
    
    .slider-wrapper-3d {
        height: 300px;
    }
    
    .slide-3d {
        width: 80%;
        left: 10%;
        height: 70%;
        top: 15%;
    }
    
    .slide-content-3d h3 {
        font-size: 1.2rem;
    }
    
    .gorden-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.6rem;
    }
    
    header h3 {
        font-size: 1rem;
    }
    
    header h5 {
        font-size: 1rem;
    }
    
    .border-card {
        padding: 15px;
    }
    
    .border-card h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .border-card ul li {
        padding: 8px 0 8px 20px;
        font-size: 0.8rem;
    }
    
    .person {
        flex: 0 0 260px;
    }
    
    .slider-item {
        height: 200px;
    }
    
    .slider-item.active {
        height: 250px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
    
    .slider-wrapper-3d {
        height: 250px;
    }
    
    .slide-3d {
        width: 90%;
        left: 5%;
    }
    
    .slider-nav-3d button {
        width: 30px;
        height: 30px;
    }
    
    .slide-content-3d {
        padding: 15px;
    }
    
    .slide-content-3d h3 {
        font-size: 1rem;
    }
    
    .slide-content-3d p {
        font-size: 0.8rem;
    }
    
    .gorden-type h3 {
        font-size: 1.1rem;
    }
    
    .gorden-type p {
        font-size: 0.9rem;
    }
    
    .wa-float {
        bottom: 15px;
        right: 15px;
        padding: 8px;
    }
    
    .wa-float img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 400px) {
    header h1 {
        font-size: 1.4rem;
    }
    
    header h3 {
        font-size: 0.9rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .whatsapp-icon {
        width: 16px;
        height: 16px;
    }
    
    .testimonials h2, .artikel h2, .gorden-types h2 {
        font-size: 1.3rem;
    }
    
    .gorden-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== FOOTER STYLES ==================== */
.site-footer {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: #fff;
    padding: 50px 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    color: #f8f8f8;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.footer-brand p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #25D366;
    transform: translateY(-3px);
}

.social-links a:nth-child(2):hover {
    background: #E1306C; /* Instagram color */
}

.social-links a:nth-child(3):hover {
    background: #3b5998; /* Facebook color */
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #25D366;
}

.footer-links ul, 
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li, 
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, 
.footer-contact a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, 
.footer-contact a:hover {
    color: #25D366;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
    text-align: center;
    color: #25D366;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-brand, 
    .footer-links, 
    .footer-contact {
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 0;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
}