* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #263238;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 2000px;
    margin: 0 auto;
}

.header-logo {
    width: 300px;
    height: auto;
}

.header-logo2 {
    width: 300px;
    height: auto;
    opacity: 0;
}

header h1 {
    font-size: 3em;
    letter-spacing: 2px;
    text-align: center;
    flex-grow: 1;
    color: #ff6f61;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-variant: small-caps;
}

nav {
    background-color: #37474f;
    padding: 10px;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    background-color: #b0bec5;
    height: 3px;
    width: 100%;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    max-width: 1500px;
    margin: 0 auto;
}

nav ul.nav-links li {
    margin: 0 10px;
}

nav ul.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul.nav-links li a:hover.info {
    color: #ff6f61;
}

nav ul.nav-links li a.login-btn {
    background-color: #ff6f61;
    padding: 8px 15px;
    border-radius: 4px;
    color: #ffffff;
    transition: background-color 0.3s;
}

nav ul.nav-links li a.login-btn:hover {
    background-color: #e65b50;
    color: #ffffff;
}

nav ul.nav-links li .user-info {
    background-color: #ff6f61;
    padding: 8px 15px;
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

nav ul.nav-links li .user-info:hover {
    background-color: #e65b50;
}

nav ul.nav-links li .user-name {
    font-weight: bold;
    color: #ffffff;
    margin-right: 10px;
}

nav ul.nav-links li a.settings-btn {
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav ul.nav-links li a.settings-btn .bi-gear,
nav ul.nav-links li a.settings-btn .bi-house {
    font-size: 1.2em;
    color: #ffffff;
    transition: color 0.3s;
}

nav ul.nav-links li a.settings-btn:hover .bi-gear,
nav ul.nav-links li a.settings-btn:hover .bi-house {
    color: #e0e0e0;
}

nav ul.nav-links li a.logout-btn {
    background-color: #ff6f61;
    padding: 8px 15px;
    border-radius: 4px;
    color: #ffffff;
    transition: background-color 0.3s;
    margin-left: 10px;
    cursor: pointer;
}

nav ul.nav-links li a.logout-btn:hover {
    background-color: #d3291d;
    color: #ffffff;
}

nav ul.nav-links li .visitor-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff6f61;
    font-weight: bold;
    padding: 8px 12px;
    background-color: #263238;
    border-radius: 4px;
}

nav ul.nav-links li .visitor-count .bi-people {
    font-size: 1.2em;
}

.admin-panel {
    padding: 40px;
    background-color: #212121;
    text-align: center;
    border-bottom: 2px solid #ff6f61;
}

.admin-panel h2 {
    color: #ff6f61;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-panel p {
    margin-bottom: 20px;
    color: #d1d8e0;
}

.admin-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.admin-btn {
    background-color: #ff6f61;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.admin-btn:hover {
    background-color: #be4d43;
    transform: scale(1.05);
}

.service-request {
    padding: 30px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-request .admin-btn {
    background-color: #ff6f61;
    padding: 15px 30px;
    font-size: 1.2em;
    box-shadow: 0 4px 10px #ff1c07;
    animation: pulse 2s infinite;
}

.service-request .admin-btn:hover {
    background-color: #ff6f61;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px #ff1c07;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px #ff1c07;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px #ff1c07;
    }
}

.intro {
    padding: 40px;
    text-align: center;
    background-color: #212121;
    border-bottom: 2px solid #ff6f61;
}

.intro h2 {
    color: #ff6f61;
    margin-bottom: 15px;
}

.intro p {
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.services {
    padding: 40px;
    background-color: #1a1a1a;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h2 {
    color: #ff6f61;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background-color: #263238;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
    border-left: 4px solid #ff6f61;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: #2f3e46;
}

.service-card h3 {
    color: #ff6f61;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.service-card .note {
    color: #d1d8e0;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.service-card .price-list {
    margin-top: 10px;
}

.service-card .price {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.service-card p {
    line-height: 1.5;
    color: #d1d8e0;
}

.contact {
    padding: 40px;
    background-color: #37474f;
    color: #e0e0e0;
    text-align: center;
    border-top: 2px solid #ff6f61;
    border-bottom: 2px solid #ff6f61;
}

.contact-partner-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.contact-info, .partner-info, .work-info {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.contact-info h2, .partner-info h2, .work-info h3 {
    color: #ff6f61;
    margin-bottom: 15px;
    text-align: center;
}

.contact-info p, .partner-info p {
    margin: 5px 0;
    font-size: 1.1em;
}

.partner-link {
    color: #ff6f61;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.partner-link:hover {
    color: #e65b50;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.gallery-media {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-media:hover {
    transform: scale(1.05);
}

.more-btn {
    background-color: #ff6f61;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.more-btn:hover {
    background-color: #e65b50;
    transform: scale(1.05);
}

.contact .social-media-content {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ff6f61;
}

.contact .social-media-content-2 h3 {
    color: #ff6f61; 
    font-size: 1.6em;
}

.contact .social-media-content h3 {
    color: #ff6f61;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.contact .social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact .social-icon {
    font-size: 2em;
    color: #e0e0e0;
    transition: color 0.3s, transform 0.3s;
}

.contact .social-icon:hover {
    color: #ff6f61;
    transform: scale(1.2);
}

.login-section {
    padding: 40px;
    background-color: #1a1a1a;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-section h2 {
    color: #ff6f61;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-section form {
    background-color: #263238;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    border-left: 4px solid #ff6f61;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-section input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #b0bec5;
    border-radius: 4px;
    background-color: #37474f;
    color: #e0e0e0;
}

.login-section input::placeholder {
    color: #b0bec5;
}

.login-section button {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-section button:hover {
    background-color: #e65b50;
}

.error {
    color: #ff6f61;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* New styles for login.php */
.login-body {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-container {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    border: 2px solid #ff0000;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #e0e0e0;
}

.login-header {
    margin-bottom: 20px;
}

.login-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.login-section h2 {
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #b0bec5;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff0000;
    border-radius: 5px;
    background-color: #333;
    color: #e0e0e0;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #b0bec5;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.login-btn {
    background-color: #ff0000;
    color: #2c2c2c;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.login-btn:hover {
    background-color: #cc0000;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.back-link {
    color: #ff0000;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.back-link:hover {
    text-decoration: underline;
}

.register-link {
    color: #ff0000;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.error {
    color: #ff0000;
    margin-bottom: 10px;
}

/* Modal styles for logout */
.logout-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Cookie modal styles */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.cookie-modal-content {
    background-color: #263238;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    border-left: 3px solid #ff6f61;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #d1d8e0;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #ff6f61;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.cookie-modal-content p {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.5;
}

.cookie-modal-content .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.logout-modal-content {
    background-color: #263238;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    border-left: 4px solid #ff6f61;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: #d1d8e0;
}

.logout-modal-content h3 {
    color: #ff6f61;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.logout-modal-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.modal-btn.confirm {
    background-color: #ff6f61;
    color: #ffffff;
}

.modal-btn.confirm:hover {
    background-color: #e65b50;
}

.modal-btn.cancel {
    background-color: #b0bec5;
    color: #263238;
}

.modal-btn.cancel:hover {
    background-color: #9aa7ad;
}

/* Media modal styles */
.media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.media-modal-content {
    max-width: 90%;
    max-height: 90%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-modal-content img,
.media-modal-content video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.close-media {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-media:hover {
    color: #ff6f61;
}

/* Mobile slider styles */
.mobile-carousel {
    display: none;
}

.carousel-media {
    object-fit: cover;
    height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    nav ul.nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #37474f;
        width: 200px;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    nav ul.nav-links.active {
        display: flex;
        width: 100%;
    }

    nav ul.nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .login-container {
        width: 90%;
    }

    .service-request .admin-btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .header-container h1{
        display: none;
    }

    .header-logo {
        margin-bottom: 10px;
        height: 100px;
        width: auto;
    }

    .header-logo2 {
        display: none;
    }

    header h1 {
        font-size: 1.8em;
    }

    .contact-partner-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info, .partner-info, .work-info {
        max-width: 100%;
        text-align: center;
    }

    .desktop-gallery {
        display: none;
    }

    .desktop-more-btn {
        display: none;
    }

    .mobile-carousel {
        display: block;
    }

    .intro, .services, .contact, .service-request {
        padding: 20px;
    }

    .cookie-modal-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    .intro h2, .services h2, .contact h2, .login-section h2, .admin-panel h2 {
        font-size: 1.2em;
    }

    .service-card h3 {
        font-size: 1.1em;
    }

    .intro, .services, .contact, .login-section, .admin-panel, .service-request {
        padding: 15px;
    }

    nav ul.nav-links {
        width: 150px;
    }

    .service-request .admin-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .header-logo {
        margin-bottom: 10px;
        height: 75px;
        width: auto;
    }

    .header-logo2 {
        display: none;
    }

    .carousel-media {
        height: 150px;
    }

    .contact .social-media-icons {
        gap: 10px;
    }

    .contact .social-icon {
        font-size: 1.5em;
    }

    .cookie-modal-content {
        padding: 15px;
    }

    .cookie-modal-content h3 {
        font-size: 1.1em;
    }

    .cookie-modal-content p {
        font-size: 0.9em;
    }

    .modal-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

footer {
    background-color: #1a1a1a;
    color: #b0bec5;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #ff6f61;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    margin-top: auto;
}

footer p {
    margin: 0;
}