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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5em;
    margin: 0.67em 0;
    font-weight: bold;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-nav > li > a {
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #006CAA;
    background-color: transparent;
}

.navbar-nav > li.active > a {
    color: #006CAA;
    background-color: transparent;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.dropdown-menu > li > a {
    padding: 10px 20px;
    color: #333;
    transition: background-color 0.3s ease;
}

.dropdown-menu > li > a:hover {
    background-color: #f8f9fa;
    color: #006CAA;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #006CAA;
    border-color: #006CAA;
}

.btn-primary:hover {
    background-color: #005a8f;
    border-color: #005a8f;
}

/* Member Area Button */
.member-area .border {
    border: 2px solid #006CAA;
    padding: 8px 20px;
    border-radius: 25px;
    color: #006CAA;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.member-area .border:hover {
    background-color: #006CAA;
    color: #fff;
    text-decoration: none;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Design */
@media screen and (max-width: 780px) {
    .title-beli {
        font-size: 2em;
    }
    
    .member-area {
        margin-top: 8px;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.25em;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar-nav > li > a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75em;
    }
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 50px;
}

footer .container {
    max-width: 1200px;
}

footer p {
    margin-bottom: 10px;
}

footer .social-links li {
    display: inline-block;
    margin-left: 10px;
}

footer .social-links li a {
    color: #666;
    font-size: 18px;
    transition: color 0.3s ease;
}

footer .social-links li a:hover {
    color: #006CAA;
}

/* Slideshow Background */
#slideshow {
    background-image: linear-gradient(#041722bd, #173f56b5), url('https://d2v9y0dukr6mq2.cloudfront.net/video/thumbnail/Vfv9BDZagiltwcyiq/animation-presenting-data-servers-while-working-led-lights-are-flashing-video-can-represent-cloud-computing-information-storage-etc-or-can-be-the-perfect-technology-background-animation-is-loopable_sdnnhxl8__F0000.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}

/* Fix for h1 elements without specified font-size */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: bold;
}

/* Ensure proper styling for sectioned h1 elements */
section h1 {
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: bold;
}

/* Additional h1 styling for any context */
.container h1,
.row h1,
.col-* h1,
div h1 {
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: bold;
}

/* Additional fixes for common layout issues */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for Bootstrap grid issues */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix for form elements */
.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #006CAA;
    box-shadow: 0 0 0 0.2rem rgba(0, 108, 170, 0.25);
}

/* Fix for tables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/* Fix for alerts */
.alert {
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
