body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
}

.link {
    color: #00ff00;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
}

header img {
    width: 300px;
    height: auto;
    margin: 0 !important; /* Remove all margins */
    padding: 0 !important; /* Remove padding if any */
    display: block; /* Ensure it's treated as a block element */
}


h1 {
    margin-bottom: 10px 0;
}

.section {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.video-section iframe, .video-section video {
width: 100%;
max-width: 560px;
height: auto;
margin: 0 auto;
display: block;
}

/* Social links, buttons at 50% width */
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%; /* Buttons take 50% of the container */
    margin: 10px auto; /* Center buttons */
    padding: 10px;
    background-color: #00ff00; /* Button background color */
    color: black; /* Font color black */
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.social-links a i {
    margin-right: 10px; /* Space between icon and text */
}

.social-links a:hover {
    background-color: #00cc00;
}

.newsletter input[type="email"], .newsletter button {
    padding: 10px;
    margin: 5px;
}

.promotions h2, .promotions p {
    color: #00ff00;
}

button {
    background-color: #00ff00; /* Same green background color */
    color: black; /* Same black font color */
    border: none; /* Remove border */
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00cc00; /* Darken the green on hover */
}

input {
    background-color: black; /* Black background */
    color: white; /* White font color */
    border: 1px solid;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

input::placeholder {
    color: white;
}
.promotions {
    display: none;
}

.language-switcher {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.dropdown-btn {
    background-color: #333;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-btn i {
    margin-right: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #00ff00;
    color: black;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .blogs-container {
        flex-direction: column; /* Stacks items vertically */
        align-items: center;
    }

    .dropdown-content {
        width: 100%;
        position: static;
    }

    .dropdown-btn {
        width: 100%;
    }

    .dropdown-content a {
        text-align: center;
    }

    .rental-signup-form {
        max-width: 90%;
    }
    .rental-phone-group .phone-input-container {
        flex-direction: column;
    }
    .phone-input-container select, .phone-input-container input {
        width: 100%;
    }

    .table-container {
        overflow-x: auto;
        padding: 10px;
    }

    table {
        font-size: 14px; /* Reduce font size for readability */
    }

    table th, table td {
        padding: 6px; /* Reduce padding for smaller screens */
    }

    td {
        white-space: normal !important; /* Allows text to break lines */
        word-wrap: break-word;
    }

    .action-button {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .map-button i {
        font-size: 20px;
    }

    /* Stack table headers and data on extra-small screens */
    @media (max-width: 480px) {
        table, thead, tbody, th, td, tr {
            display: block;
        }

        thead {
            display: none; /* Hide table headers for mobile */
        }

        tbody tr {
            margin-bottom: 10px;
            border: 1px solid #444;
            padding: 10px;
            background-color: #2c2c2c;
            display: flex;
            flex-direction: column;
        }

        tbody tr td {
            text-align: left;
            position: relative;
            padding-left: 50%;
        }

        tbody tr td:before {
            position: absolute;
            left: 10px;
            width: 45%;
            font-weight: bold;
            color: #00ff00;
            content: attr(data-label); /* Adds labels for each row */
        }

        .action-button {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }
    
        .map-button i {
            font-size: 18px;
        }

        .pin-form {
            padding: 15px;
        }
    
        .pin-form input {
            font-size: 16px;
            padding: 10px;
        }
    
        .pin-form button {
            font-size: 16px;
            padding: 10px;
        }
    }
}




.blogs-section {
    position: relative;
    width: 100%;
}

.blogs-container {
    display: flex;
    justify-content: center; /* Centers the blog items */
    align-items: center; /* Centers items vertically (if needed) */
    gap: 20px; /* Space between the two items */
    padding: 20px;
    flex-wrap: wrap; /* Ensures proper wrapping on smaller screens */
}

.blog-item {
    flex: 0 0 300px; /* Ensures both blog items are the same size */
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #131313;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.blog-item img {
    max-width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.blog-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.blog-navigation button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.blog-navigation button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Ensure form is centered and contained */
.rental-signup-form {
    max-width: 450px; /* Adjust width for a tighter fit */
    margin: 0 auto;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    text-align: left;
}

/* Form groups spacing */
.rental-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

/* Labels */
.rental-form-group label {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

/* Ensure inputs stay inside the form */
.rental-signup-form input,
.rental-signup-form select {
    width: 100%; /* Ensure inputs don't exceed form width */
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #555;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box; /* Prevent padding from increasing width */
}

/* Placeholder color */
.rental-signup-form input::placeholder {
    color: #bbb;
}

/* Fix Phone Input Layout */
.rental-phone-group .phone-input-container {
    display: flex;
    gap: 10px;
}

.phone-input-container select {
    width: 30%;
    min-width: 80px;
}

.phone-input-container input {
    width: 70%;
}

/* Booking Cost Styling */
.rental-cost-section {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00ff00;
    padding: 10px;
    margin-top: 10px;
}

/* Button */
.rental-signup-btn {
    width: 100%;
    background-color: #00ff00;
    color: black;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

/* Hover Effect */
.rental-signup-btn:hover {
    background-color: #00cc00;
}

.rental-signup-btn.disabled, 
.rental-signup-btn:disabled {
    background-color: #a0a0a0; /* Gray out */
    color: #666; /* Dim text color */
    cursor: not-allowed; /* Show disabled cursor */
    opacity: 0.6; /* Slightly faded */
    pointer-events: none; /* Fix: Prevent accidental clicks when disabled */
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.map-info {
    font-size: 14px;
    color: #00ff00;
    text-align: center;
}

.success-message {
    color: #00ff00; /* Green text */
    background-color: #003300; /* Dark green background */
    border: 2px solid #00ff00; /* Green border */
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.error-message {
    color: #ff0000; /* Red text */
    background-color: #330000; /* Dark red background */
    border: 2px solid #ff0000; /* Red border */
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Dark Theme Table Styling */
.table-container {
    width: 100%; /* Full width for better responsiveness */
    max-width: 1000px;
    margin: 20px auto;
    background-color: #222;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto; /* Allows horizontal scrolling on mobile */
    white-space: nowrap; /* Prevents text from breaking */
}

/* Loading message */
.message {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: #00ff00; /* Matches the theme */
}

/* Table Structure */
table {
    width: 100%;
    min-width: 600px; /* Prevents excessive shrinking */
    border-collapse: collapse;
    background-color: #222;
    color: white;
}

table thead {
    background-color: #1a1a1a; /* Dark header background */
    color: #00ff00; /* Green text to match the theme */
    text-transform: uppercase;
}

table th, table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #444; /* Subtle white-gray border */
}

/* Alternate Row Colors */
table tbody tr:nth-child(even) {
    background-color: #2c2c2c; /* Slightly lighter dark shade */
}

table tbody tr:nth-child(odd) {
    background-color: #333; /* Darker shade */
}

/* Hover Effect */
table tbody tr:hover {
    background-color: #444; /* Highlight row */
}

/* Action Buttons */
.action-button {
    padding: 8px;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    text-align: center;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Adjusted Colors for Dark Theme */
.action-button.turn-on {
    background-color: #00ff00; /* Green */
}

.action-button.turn-off {
    background-color: #ffcc00; /* Yellow */
}

.action-button.find-asset {
    background-color: #6c757d; /* Grey */
}

/* Hover Effects */
.action-button.turn-on:hover:not(:disabled) {
    background-color: #00cc00; /* Darker green */
    transform: scale(1.1);
}

.action-button.turn-off:hover:not(:disabled) {
    background-color: #d4a400; /* Darker yellow */
    transform: scale(1.1);
}

.action-button.find-asset:hover:not(:disabled) {
    background-color: #5a6268; /* Darker grey */
    transform: scale(1.1);
}

/* Disabled Buttons */
.action-button:disabled {
    background-color: #444;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Map Button */
.map-button {
    color:#ff00ff;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.map-button:hover {
    color: #cc00cc; /* Brighter green on hover */
}

.map-button i {
    font-size: 24px;
    color: #00ff00; /* Green to match theme */
}

.map-button-disabled i {
    font-size: 24px;
    pointer-events: none;
    color: grey;
    cursor: not-allowed;
}

.map-button:hover i {
    color: #00cc00; /* Brighter green on hover */
}

.map-center {
    text-align: center;
    vertical-align: middle;
}


/* PIN Form Styling */
.pin-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #222; /* Dark background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Label Styling */
.pin-form label {
    font-size: 18px;
    color: #00ff00; /* Green text */
    display: block;
    margin-bottom: 10px;
}

/* PIN Input Field */
.pin-form input {
    width: 75%;
    padding: 12px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #00ff00;
    border-radius: 5px;
    background-color: black;
    color: white;
    letter-spacing: 4px; /* Spaces between digits */
}

/* PIN Input Placeholder */
.pin-form input::placeholder {
    color: #bbb;
}

/* Submit Button */
.pin-form button {
    width: 45%;
    background-color: #00ff00;
    color: black;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s, opacity 0.3s;
}

/* Hover Effect */
.pin-form button:hover {
    background-color: #00cc00; /* Slightly darker green */
}

.pin-form button:disabled {
    background-color: #555; /* Dark gray */
    color: #888; /* Light gray text */
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}
