/* Cartoon Handyman Theme - Who Framed Roger Rabbit Inspired */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Comic+Neue:wght@400;700&display=swap');

:root {
    --purple: #6b2d8c;
    --gold: #f1c40f;
    --blue: #3498db;
    --black: #000000;
    --white: #ffffff;
    --dark-purple: #4a1f63;
    --dark-gold: #f39c12;
    --dark-blue: #2980b9;
    --text-light: #ffffff;
    --text-muted: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background-color: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Cartoon-style background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(107, 45, 140, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 70%, rgba(241, 196, 15, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 30%),
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: moveBackground 20s ease-in-out infinite;
}

@keyframes moveBackground {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 0 0; }
    50% { background-position: 10% 10%, 90% 90%, 40% 60%, 25px 25px; }
}

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

/* Links - White */
a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Top Bar */
.top-bar {
    background: var(--dark-purple);
    padding: 12px 0;
    border-bottom: 2px solid var(--gold);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 16px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--white);
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.contact-info a:hover {
    color: var(--gold);
    text-decoration: none;
}

.contact-info i {
    margin-right: 8px;
    color: var(--gold);
}

/* Header Main */
.header-main {
    background: var(--black);
    padding: 30px 0;
    border-bottom: 3px solid var(--purple);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Logo area - Logo left of text */
.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto 25px auto;
    width: fit-content;
    max-width: 100%;
}

.logo {
    max-height: 140px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.owner-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.owner-info h1 {
    font-size: 52px;
    font-family: 'Fredoka One', cursive;
    color: var(--white);
    margin: 0;
    text-shadow: 3px 3px 0 var(--purple), 5px 5px 0 var(--dark-purple);
    letter-spacing: 1px;
    line-height: 1.2;
}

.slogan {
    font-size: 26px;
    color: var(--gold);
    font-style: italic;
    margin: 12px 0 0;
    text-shadow: 2px 2px 0 var(--black);
    font-weight: 600;
}

/* Main Navigation */
.main-nav {
    width: 100%;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    display: block;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--gold);
    text-decoration: none;
}

.main-nav ul li a i {
    margin-left: 8px;
    font-size: 14px;
}

/* ========================================== */
/* MULTI-COLUMN DROPDOWN MENU */
/* ========================================== */

.main-nav ul li.dropdown {
    position: relative;
}

.main-nav ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--dark-purple);
    min-width: 600px;
    border-radius: 0 0 15px 15px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-left: 3px solid var(--gold);
    border-right: 1px solid var(--purple);
    border-bottom: 1px solid var(--purple);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.main-nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav ul li .dropdown-menu li {
    display: block;
    margin: 0;
    width: 100%;
}

.main-nav ul li .dropdown-menu li a {
    padding: 12px 15px;
    font-size: 15px;
    color: var(--white);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-radius: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav ul li .dropdown-menu li a:hover {
    background: var(--purple);
    color: var(--gold);
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

.main-nav ul li .dropdown-menu li a i {
    width: 25px;
    margin-right: 10px;
    color: var(--gold);
}

.main-nav ul li .dropdown-menu .dropdown-divider {
    display: none; /* Hide the divider in multi-column layout */
}

/* First item (All Services) should span full width */
.main-nav ul li .dropdown-menu li:first-child {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--purple);
    padding-bottom: 5px;
}

.main-nav ul li .dropdown-menu li:first-child a {
    font-weight: bold;
    color: var(--gold);
}

/* Coming Soon Badge */
.coming-soon-badge {
    background: var(--purple);
    color: var(--gold);
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    border: 1px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.portal-link a {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    text-align: center;
    padding: 15px;
    background: var(--black);
    border-bottom: 1px solid var(--purple);
    cursor: pointer;
}

.mobile-menu-toggle i {
    font-size: 28px;
    color: var(--white);
}

/* Index Page Specific Styles */
.index-page .logo-area {
    margin: 40px auto 20px auto;
}

.index-page .logo {
    max-height: 160px;
}

.index-page .owner-info h1 {
    font-size: 60px;
}

.index-page .slogan {
    font-size: 30px;
}

/* Construction Banner */
.construction-banner {
    background: linear-gradient(135deg, var(--purple), var(--dark-purple));
    color: var(--gold);
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Fredoka One', cursive;
    text-shadow: 3px 3px 0 var(--black);
    border-bottom: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.construction-banner::before {
    content: '🔨🔧⚒️';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    animation: slideIcons 15s linear infinite;
    white-space: nowrap;
    opacity: 0.5;
}

.construction-banner::after {
    content: '🔨🔧⚒️';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    animation: slideIcons 15s linear infinite reverse;
    white-space: nowrap;
    opacity: 0.5;
}

@keyframes slideIcons {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(200px); }
}

.construction-banner i {
    margin: 0 15px;
    color: var(--white);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Under Construction Main Content */
.under-construction {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0;
}

.construction-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.cartoon-characters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.character {
    background: var(--white);
    border: 4px solid var(--black);
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
    padding: 30px;
    box-shadow: 10px 10px 0 var(--purple), 15px 15px 0 rgba(0,0,0,0.5);
    transform: rotate(-5deg);
    animation: characterFloat 3s ease-in-out infinite;
    flex: 0 1 auto;
}

.character:nth-child(2) {
    animation-delay: 0.5s;
    transform: rotate(3deg);
    box-shadow: 10px 10px 0 var(--gold), 15px 15px 0 rgba(0,0,0,0.5);
}

.character:nth-child(3) {
    animation-delay: 1s;
    transform: rotate(-2deg);
    box-shadow: 10px 10px 0 var(--blue), 15px 15px 0 rgba(0,0,0,0.5);
}

@keyframes characterFloat {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-20px); }
}

@keyframes characterFloat2 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-20px); }
}

@keyframes characterFloat3 {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-20px); }
}

.character i {
    font-size: 80px;
    color: var(--black);
}

.character span {
    display: block;
    margin-top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--black);
    font-family: 'Fredoka One', cursive;
}

.construction-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Fredoka One', cursive;
    color: var(--white);
    text-shadow: 3px 3px 0 var(--purple), 6px 6px 0 var(--dark-purple);
    word-break: break-word;
}

.construction-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.server-status {
    background: linear-gradient(135deg, var(--purple), var(--dark-purple));
    border: 4px solid var(--white);
    border-radius: 20px;
    padding: 20px;
    margin: 40px auto 0 auto;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
    color: var(--white);
    font-weight: bold;
    flex-wrap: wrap;
}

.status-item i {
    font-size: 30px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-item .fa-check-circle {
    color: #2ecc71;
    animation: none;
}

/* Coming Soon Cards */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.coming-soon-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border: 2px solid var(--purple);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.coming-soon-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(107, 45, 140, 0.5);
}

.coming-soon-card i {
    font-size: 60px;
    color: var(--purple);
    margin-bottom: 20px;
}

.coming-soon-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-family: 'Fredoka One', cursive;
    color: var(--white);
}

.coming-soon-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.badge {
    background: var(--purple);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    border: 2px solid var(--gold);
    font-size: 14px;
}

/* Services Page Styles */
.services-page {
    padding: 50px 0;
    min-height: 70vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    font-family: 'Fredoka One', cursive;
    color: var(--white);
    text-shadow: 3px 3px 0 var(--purple);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.services-sidebar {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--purple);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 150px;
}

.services-sidebar h3 {
    font-size: 22px;
    font-family: 'Fredoka One', cursive;
    color: var(--gold);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--purple);
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    margin-bottom: 30px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.category-list::-webkit-scrollbar {
    width: 6px;
}

.category-list::-webkit-scrollbar-track {
    background: var(--dark-purple);
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.category-list li {
    margin-bottom: 5px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-list a i {
    width: 25px;
    color: var(--gold);
    margin-right: 10px;
}

.category-list a:hover {
    background: var(--purple);
    border-color: var(--gold);
    transform: translateX(5px);
}

.category-list a.active {
    background: var(--purple);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.sidebar-contact {
    background: linear-gradient(135deg, var(--dark-purple), var(--black));
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.sidebar-contact h4 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: 'Fredoka One', cursive;
}

.sidebar-contact p {
    margin: 10px 0;
}

.sidebar-contact i {
    color: var(--gold);
    width: 25px;
}

.quick-quote-btn {
    display: block;
    text-align: center;
    background: var(--purple);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid var(--gold);
    font-weight: bold;
    transition: all 0.3s ease;
}

.quick-quote-btn:hover {
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    transform: scale(1.05);
}

/* Services Table Styles */
.services-table-container {
    background: var(--gray);
    border: 1px solid var(--purple);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.services-table thead tr {
    background: linear-gradient(135deg, var(--dark-purple), var(--purple));
    border-bottom: 2px solid var(--gold);
}

.services-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.services-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.services-table tbody tr:hover {
    background: rgba(107, 45, 140, 0.2);
}

.services-table td {
    padding: 16px 20px;
    color: var(--white);
}

.service-name-cell {
    font-weight: 500;
}

.service-name-cell strong {
    color: var(--white);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.popular-badge-table {
    background: var(--gold);
    color: var(--black);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 4px;
}

.service-desc-cell {
    color: var(--text-muted);
    line-height: 1.5;
}

.service-time-cell {
    color: var(--blue);
    white-space: nowrap;
}

.service-time-cell i {
    margin-right: 6px;
    color: var(--gold);
}

.service-price-cell .price-label {
    background: rgba(107, 45, 140, 0.3);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gold);
    white-space: nowrap;
}

/* Details row styles */
.service-details-row {
    background: rgba(0,0,0,0.3);
}

.service-details-row td {
    padding: 0 !important;
}

.service-details-content {
    padding: 30px;
    background: linear-gradient(145deg, var(--dark-purple), rgba(0,0,0,0.8));
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--purple);
}

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

.details-section h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
    font-family: 'Fredoka One', cursive;
    border-bottom: 1px solid var(--purple);
    padding-bottom: 8px;
}

.details-section h4 i {
    margin-right: 10px;
    color: var(--gold);
}

.details-section p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}

.tools-list-table {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tools-list-table li {
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--purple);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.tools-list-table li i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 14px;
}

.tool-quantity {
    color: var(--gold);
    font-size: 12px;
    margin-left: 5px;
}

.details-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-small i {
    font-size: 16px;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.table-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
}

.table-note i {
    color: var(--gold);
    margin-right: 5px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-purple), var(--black));
    color: var(--white);
    padding: 50px 0 30px;
    margin-top: 50px;
    border-top: 4px solid var(--purple);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '🔨🔧⚒️';
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 20px;
    opacity: 0.2;
    animation: slideIcons 10s linear infinite;
    color: var(--white);
}

footer::after {
    content: '🔨🔧⚒️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0.2;
    animation: slideIcons 10s linear infinite reverse;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 18px;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.8;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--gold);
    text-decoration: none;
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--gold);
    width: 25px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--purple);
}

.footer-bottom p {
    margin: 0;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================== */
/* MOBILE RESPONSIVENESS */
/* ========================================== */

/* Tablets (landscape and portrait) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-area {
        gap: 30px;
    }
    
    .owner-info h1 {
        font-size: 46px;
    }
    
    .slogan {
        font-size: 22px;
    }
    
    .logo {
        max-height: 120px;
    }
    
    .main-nav ul li .dropdown-menu {
        min-width: 500px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .contact-info a {
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }
    
    .logo-area {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
    }
    
    .owner-info {
        text-align: center;
    }
    
    .owner-info h1 {
        font-size: 36px;
    }
    
    .slogan {
        font-size: 18px;
    }
    
    .logo {
        max-height: 100px;
    }
    
    .index-page .logo {
        max-height: 120px;
    }
    
    .index-page .owner-info h1 {
        font-size: 42px;
    }
    
    .index-page .slogan {
        font-size: 22px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        padding: 20px;
        border-top: 2px solid var(--purple);
        border-bottom: 2px solid var(--purple);
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .main-nav ul li a {
        padding: 12px;
        text-align: center;
        background: rgba(107, 45, 140, 0.2);
        border-radius: 8px;
        border: 1px solid transparent;
    }
    
    .main-nav ul li a:hover {
        background: var(--purple);
        border-color: var(--gold);
    }
    
    /* Mobile dropdown handling */
    .main-nav ul li.dropdown {
        position: relative;
    }
    
    .main-nav ul li .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        width: 100%;
        background: var(--dark-purple);
        border-radius: 8px;
        display: none;
        min-width: auto;
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .main-nav ul li.dropdown.active .dropdown-menu {
        display: grid;
    }
    
    .main-nav ul li .dropdown-menu li a {
        background: transparent;
        text-align: left;
        padding: 10px 20px;
    }
    
    .main-nav ul li .dropdown-menu li a:hover {
        background: var(--purple);
    }
    
    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-toggle i {
        transition: transform 0.3s;
    }
    
    .main-nav ul li.dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .portal-link a {
        justify-content: center;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
    }
    
    .services-sidebar {
        position: static;
    }
    
    .service-header {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    
    .service-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .service-footer {
        flex-direction: column;
    }
    
    .tools-list-table {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .construction-banner {
        font-size: 16px;
        padding: 15px 0;
    }
    
    .construction-banner i {
        margin: 0 8px;
    }
    
    .character i {
        font-size: 50px;
    }
    
    .character span {
        font-size: 18px;
    }
    
    .character {
        padding: 20px;
    }
    
    .construction-content h1 {
        font-size: 32px;
    }
    
    .construction-content h2 {
        font-size: 18px;
    }
    
    .cartoon-characters {
        gap: 15px;
    }
    
    .server-status {
        padding: 15px;
    }
    
    .status-item {
        font-size: 16px;
        gap: 10px;
    }
    
    .status-item i {
        font-size: 24px;
    }
    
    .coming-soon-grid {
        gap: 20px;
        margin: 40px 0;
    }
    
    .coming-soon-card {
        padding: 20px;
    }
    
    .coming-soon-card i {
        font-size: 48px;
    }
    
    .coming-soon-card h3 {
        font-size: 22px;
    }
}

/* Phones (portrait) */
@media (max-width: 480px) {
    .owner-info h1 {
        font-size: 28px;
        text-shadow: 2px 2px 0 var(--purple), 3px 3px 0 var(--dark-purple);
    }
    
    .slogan {
        font-size: 16px;
    }
    
    .logo {
        max-height: 80px;
    }
    
    .index-page .logo {
        max-height: 100px;
    }
    
    .index-page .owner-info h1 {
        font-size: 32px;
    }
    
    .index-page .slogan {
        font-size: 18px;
    }
    
    .character {
        padding: 15px;
        width: 100%;
        max-width: 200px;
    }
    
    .character i {
        font-size: 40px;
    }
    
    .character span {
        font-size: 16px;
    }
    
    .construction-content h1 {
        font-size: 28px;
    }
    
    .status-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .contact-info a {
        font-size: 13px;
    }
    
    .btn, .btn-book, .btn-details {
        width: 100%;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .owner-info h1 {
        font-size: 24px;
    }
    
    .slogan {
        font-size: 14px;
    }
    
    .logo {
        max-height: 70px;
    }
    
    .index-page .logo {
        max-height: 90px;
    }
    
    .construction-banner {
        font-size: 14px;
    }
    
    .construction-banner i {
        margin: 0 5px;
    }
    
    .character {
        padding: 12px;
    }
    
    .character i {
        font-size: 32px;
    }
}

/* Touch-friendly improvements */
button, 
.btn, 
.btn-book, 
.btn-details,
.nav-link,
.dropdown-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* Improve readability on mobile */
p, li, .service-description {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
}

/* Fix for landscape orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .header-main {
        position: relative;
    }
    
    .under-construction {
        min-height: auto;
        padding: 30px 0;
    }
    
    .cartoon-characters {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .character {
        flex: 0 1 auto;
        padding: 15px;
    }
}

/* In Business Status Badge */
.badge-available {
    background: #27ae60;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    border: 2px solid var(--gold);
    font-size: 14px;
}

/* Call to Action Button */
.btn-gold {
    background: var(--gold);
    color: var(--black);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    border: 2px solid var(--purple);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-gold:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
    text-decoration: none;
}
