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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    position: relative;
}

/* Random Logo Pattern Background */
.logo-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
}

.logo-pattern::before,
.logo-pattern::after {
    content: '';
    position: absolute;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 140px;
    height: 140px;
}

.logo-pattern::before {
    top: 10%;
    left: 10%;
    transform: rotate(-15deg);
}

.logo-pattern::after {
    top: 80%;
    right: 15%;
    transform: rotate(25deg);
}

/* Additional scattered logos using CSS */
.services::before,
.services::after,
.gallery::before,
.gallery::after,
.contact::before,
.contact::after,
.social-media::before,
.social-media::after {
    content: '';
    position: absolute;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 120px;
    height: 120px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.services {
    position: relative;
}

.services::before {
    top: 5%;
    left: 5%;
    transform: rotate(-20deg);
}

.services::after {
    bottom: 10%;
    right: 8%;
    transform: rotate(30deg);
}

.gallery {
    position: relative;
}

.gallery::before {
    top: 15%;
    right: 10%;
    transform: rotate(45deg);
}

.gallery::after {
    bottom: 20%;
    left: 7%;
    transform: rotate(-35deg);
}

.contact {
    position: relative;
}

.contact::before {
    top: 10%;
    left: 8%;
    transform: rotate(20deg);
}

.contact::after {
    bottom: 15%;
    right: 12%;
    transform: rotate(-25deg);
}

.social-media {
    position: relative;
}

.social-media::before {
    top: 20%;
    left: 15%;
    transform: rotate(-40deg);
}

.social-media::after {
    bottom: 25%;
    right: 20%;
    transform: rotate(35deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.phone-btn {
    background: #f00290;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

/* Hero Section & Carousel */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    height: 100%;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    color: white;
    padding: 3rem 2rem 2rem;
    backdrop-filter: blur(2px);
}

.slide-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f00290;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 
                 0 0 8px rgba(0, 0, 0, 0.5);
}

.slide-info p {
    font-size: 1.2rem;
    max-width: 600px;
    color: white;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(240, 2, 144, 0.9);
    border: none;
    color: white;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #f00290;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active,
.dot:hover {
    background: #f00290;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f00290;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #f00290;
}

.service-icon {
    background: #f00290;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(240, 2, 144, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gallery-overlay p {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f00290;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    background: #f00290;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #f00290;
    text-decoration: none;
    font-weight: bold;
}

.contact-cta {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 10px;
}

.cta-btn.phone {
    background: #f00290;
    color: white;
}

.cta-btn.phone:hover {
    background: #d1027a;
    transform: translateY(-2px);
}

.cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn.whatsapp:hover {
    background: #1eb855;
    transform: translateY(-2px);
}

/* Social Media Section */
.social-media {
    background: #f8f9fa;
    padding: 3rem 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social-item:hover {
    transform: translateY(-5px);
    border-color: #f00290;
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-icon.maps {
    background: #4285f4;
}

.social-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.social-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    gap: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 200px;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-btn.maps {
    background: #4285f4;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #f00290;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #f00290;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        justify-content: flex-start;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .phone-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
        white-space: nowrap;
    }
    
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .slide-info {
        padding: 2rem 1rem 1rem;
    }
    
    .carousel-dots {
        bottom: 10px;
        right: 20px;
        left: auto;
        transform: none;
    }
    
    .slide-info h2 {
        font-size: 1.8rem;
    }
    
    .slide-info p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-item {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .social-btn {
        min-width: auto;
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        width: 90%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services {
        padding: 3rem 0;
    }
    
    .gallery {
        padding: 3rem 0;
    }
    
    .contact {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-cta {
        padding: 2rem;
    }
}

/* Print Styles */
@media print {
    .carousel-btn,
    .carousel-dots,
    .gallery-overlay,
    .cta-buttons {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles untuk Aksesibilitas */
button:focus,
a:focus,
.gallery-item:focus {
    outline: 3px solid #f00290;
    outline-offset: 2px;
}
