/* 
 * Custom Stylesheet for KIDUNG By RWD
 * Add your custom CSS rules here
 */

/* Example: Custom button styles */
/* .btn-custom {
    background-color: #ff6b6b;
    color: white;
    border: none;
}

.btn-custom:hover {
    background-color: #ee5a52;
    color: white;
} */

/* Example: Custom card styles */
/* .custom-card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

/* Example: Custom heading styles */
/* h1, h2, h3 {
    font-family: 'Georgia', serif;
} */

/* Add your custom styles below */

.golden-text {
    color: #dfbf12;
    font-weight: bold;
}
.social-links a i{
    color: #6c757d;
    transition: color 0.3s;
}
.social-links a i:hover {
    color: #dfbf12;
}   
/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Smaller padding for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Stack cards on mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Better button spacing on mobile */
    .btn {
        margin-bottom: 0.5rem;
    }
    
    /* Full width buttons on mobile */
    .btn-block-mobile {
        width: 100%;
        display: block;
    }
    
    /* Adjust font sizes for mobile */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Better table responsiveness */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Adjust navbar brand */
    .navbar-brand img {
        max-height: 25px !important;
    }
    
    /* Better footer spacing */
    footer .col-md-4 {
        text-align: center;
    }
    
    footer .social-links {
        justify-content: center;
        display: flex;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 720px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-menu {
        width: 100%;
    }
}

/* Slider Styles */
.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 0 3rem;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Mobile slider adjustments - Keep proportional aspect ratio */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
        min-height: 300px;
        max-height: 500px;
        object-fit: contain;
        background-color: #000;
    }
    
    .carousel-caption {
        padding: 2rem 0 1.5rem;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-caption .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        margin-bottom: 0.5rem;
    }
}

/* Tablet slider adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-item img {
        height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem !important;
    }
}