/* Enhanced Milts Decoration Styles */
:root {
    --primary-color: #9EC6F3;
    --secondary-color: #BDDDE4;
    --accent-color: #5D8BF4;
    --text-color: #2C3E50;
    --light-color: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: var(--light-color);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
/*Swiper*/
.swiper {
    width: 100%;
    padding: 20px 0;
}
.swiper-slide {
    width: 80%; /* For mobile */
}
@media (min-width: 768px) {
    .swiper-slide {
        width: auto;
    }
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Navigation - Enhanced */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: white; /* Change to white */
    text-decoration: none;
    transition: var(--transition);
}
  


.navbar .logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar .logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 1rem;
    position: relative;
}

.nav-links a {
    color: white;
    /*Changedtowhite*/text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: 4px;
    font-size: 1rem;
    display: block;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Enhanced */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
    overflow: hidden;
    background: url('../images/bg1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}


.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}


/* Sections - Enhanced */
.section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* Services - Enhanced */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* Gallery - Original Version */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 12px rgba(0,0,0,0.15);
    z-index: 10;
}

.product-image {
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    width: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Mobile touch controls */
@media (max-width: 1023px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}


/* Contact - Enhanced */


.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}



/* Footer - Enhanced */
footer {
    background: var(--text-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation - Enhanced */
.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

.burger.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
    background: rgba(255,255,255,0.8);
    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: 20px;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 80%;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Call to Action Section */
.aksi {
    text-align: left;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.aksi h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.6;
}

.aksi p{
    font-size: 3rem;
}


@media (max-width: 768px) {
    .aksi {
        padding: 2rem 1rem;
    }
    
    .aksi h2 {
        font-size: 1rem;
    }
    
    .aksi p{
        font-size: 2rem;
    }
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-button {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.social-button.whatsapp {
    background-color: #25D366;
}

.social-button.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-button.tiktok {
    background-color: #000000;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
    }
    
    .social-button {
        width: 100%;
        justify-content: center;
    }
}
