/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #111;
    width: 100%;
    overflow-x: hidden;
}

/* Desktop Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 180px;
    height: 100vh;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.side-nav {
    list-style: none;
    margin: 40px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.side-nav li {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
}

.side-nav li.gold {
    color: #c8a97e;
    font-weight: 700;
    letter-spacing: 2px;
}

.side-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.side-nav a:hover {
    color: #c8a97e;
}

.side-logo {
    margin-bottom: 40px;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.side-logo-img {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    content: url('assets/kingLogo.png');
}

/* Main Content */
.main-content {
    position: relative;
    margin-left: 180px;
    width: calc(100% - 180px);
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Section Base Styles */
.landing,
.services,
.about,
.contact {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 4rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Landing Section */
.landing {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('assets/cut.jpg') center center/cover no-repeat;
    filter: grayscale(1) brightness(0.5);
    z-index: 0;
    transition: filter 0.5s cubic-bezier(.4,0,.2,1);
}

.hero-image:hover {
    filter: grayscale(0) brightness(0.7);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
}

.section-header h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: #c8a97e;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: url('assets/back1.png') center center/cover no-repeat;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    z-index: 1;
}

.services > * {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #222;
    color: #f5f5f5;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5);
    transition: filter 0.5s cubic-bezier(.4,0,.2,1);
}

.service-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(200, 169, 126, 0.4), rgba(200, 169, 126, 0.1));
    pointer-events: none;
}

.service-card:hover .service-img {
    filter: grayscale(0) brightness(0.7);
}

.service-card h3 {
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 400;
    color: #c8a97e;
}

/* About Section */
.about {
    background: url('assets/back2.png') center center/cover no-repeat;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    z-index: 1;
}

.about > * {
    position: relative;
    z-index: 2;
}

.about-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 3rem;
    color: #fff;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: #c8a97e;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
}

.about-image {
    position: relative;
    width: 100%;
    height: 300px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(200, 169, 126, 0.4), rgba(200, 169, 126, 0.1));
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5);
    transition: filter 0.5s cubic-bezier(.4,0,.2,1);
}

.about-image img:hover {
    filter: grayscale(0) brightness(0.7);
}

/* Contact Section */
.contact {
    background: url('assets/back3.png') center center/cover no-repeat;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    z-index: 1;
}

.contact > * {
    position: relative;
    z-index: 2;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.2rem;
    color: #c8a97e;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    color: #fff;
}

.info-item p {
    color: #fff;
    font-size: 0.9rem;
}

.info-item p a {
    color: #fff;
    text-decoration: none;
}

.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: #c8a97e;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

.call-button:hover {
    background-color: #b08d5f;
}

.call-button i {
    font-size: 1rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.hours {
    margin-top: 3rem;
}

.hours h3 {
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    color: #fff;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.day, .time {
    font-size: 0.9rem;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 0;
    font-size: 0.9rem;
    background-color: #222;
    color: #fff;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: #c8a97e;
    color: #fff;
    border: none;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #b08d5f;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #c8a97e;
}

footer p {
    font-size: 0.9rem;
    color: #999;
}

/* Hide scrollbar but keep functionality */
.main-content::-webkit-scrollbar {
    display: none;
}

.main-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 60px;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    content: url('assets/kingLogo.png');
}

.mobile-logo-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(200, 169, 126, 0.2), rgba(200, 169, 126, 0));
    pointer-events: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

.mobile-menu {
    display: none;
    list-style: none;
    text-align: center;
    padding: 0;
    background: rgba(17, 17, 17, 0.98);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: calc(100vh - 60px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 1rem;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: #c8a97e;
    background-color: rgba(200, 169, 126, 0.1);
}

.mobile-menu li.gold {
    color: #c8a97e;
    font-weight: 700;
    background: rgba(200, 169, 126, 0.1);
    padding: 1rem;
    display: block;
}

/* Mobile Styles */
@media (max-width: 900px) {
    .sidebar {
        display: none;
    }

    .mobile-nav {
        display: flex !important;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 60px;
        overflow-y: auto;
        height: auto;
    }

    .landing {
        min-height: 100vh;
        padding: 0;
        position: relative;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }

    .services,
    .about,
    .contact {
        min-height: auto;
        padding: 4rem 1rem;
        margin: 0;
        position: relative;
        display: block;
    }

    .section-header {
        margin: 2rem 0;
    }

    .services-grid,
    .about-grid,
    .contact-container {
        margin: 2rem 0;
        position: relative;
        z-index: 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mobile-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    /* Add backdrop when menu is open */
    .mobile-menu::before {
        content: '';
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .mobile-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services,
    .about,
    .contact {
        padding: 3rem 0.75rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .service-img {
        height: 180px;
    }

    .about-image img {
        height: 250px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem;
        font-size: 16px;
    }
}

/* Mobile Utilities */
html {
    scroll-behavior: smooth;
}

body {
    overscroll-behavior-y: none;
}

a, button {
    -webkit-tap-highlight-color: rgba(200, 169, 126, 0.3);
}

/* Fix section backgrounds */
.services::before,
.about::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    z-index: 1;
}

.services > *,
.about > *,
.contact > * {
    position: relative;
    z-index: 2;
} 