/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ffb400;
    /* Main accent color */
    --text-dark: #222222;
    --text-light: #777777;
    --bg-light: #f9f9f9;
    --footer-bg: #1c1c1c;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar i {
    color: var(--primary-orange);
    margin-right: 5px;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 100px;
    width: auto;
    max-width: 100%;
}

.header-right {
    text-align: right;
}

.phone-big {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover,
.main-nav .active a {
    color: var(--primary-orange);
}

/* Hero Section */
.hero-section {
    background-image: url('assets/hero_banner.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    color: #fff;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.breadcrumbs {
    font-size: 14px;
    color: #ccc;
}

.breadcrumbs span {
    color: var(--primary-orange);
}

/* Main Content Layout */
.main-content-layout {
    display: flex;
    margin: 60px auto;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    width: 25%;
    flex-shrink: 0;
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 18px;
    border-bottom: 3px solid var(--primary-orange);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-dark);
    position: relative;
    padding-left: 15px;
}

.sidebar-menu a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 12px;
    top: 14px;
}

.sidebar-menu a:hover {
    color: var(--primary-orange);
    padding-left: 20px;
}

.sidebar-category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
    margin-bottom: 5px;
    padding-left: 0;
    text-transform: uppercase;
    display: block;
}

.sidebar-menu ul {
    padding-left: 10px;
}

/* Content Area */
.content-area {
    width: 75%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-details {
    padding: 25px;
}

.service-details h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-details p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-more {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #333;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-more:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

/* Price Page Cards */
.price-card {
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.price-card .service-image {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    /* Fix for Edge/image overflow */
}

.price-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    /* Safety */
}

.price-card .service-details {
    padding: 20px 30px 20px 0;
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .price-card {
        flex-direction: column;
        align-items: stretch;
    }

    .price-card .service-image {
        width: 100%;
        height: 250px;
    }

    .price-card .service-details {
        padding: 25px;
    }
}



/* Footer */
.main-footer {
    background: var(--footer-bg);
    color: #aaa;
    padding: 60px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
    margin-top: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    background: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

/* Wizard Modal */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.wizard-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.close-wizard {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-wizard:hover {
    color: var(--primary-orange);
}

.wizard-header h4 {
    color: var(--primary-orange);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.wizard-header h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    margin-bottom: 40px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--primary-orange);
    transition: width 0.4s ease;
}

/* Image Selection Step */
.image-options-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.wizard-option-card {
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    width: 300px;
    background: #f5f5f5;
}

.wizard-option-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.wizard-option-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.wizard-option-card span {
    display: block;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    background: #222;
    color: #fff;
}

.wizard-option-card:hover span {
    background: var(--primary-orange);
}

/* Grid Text Selection Step */
.text-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.wizard-text-btn {
    border: 2px solid #ddd;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 5px;
}

.wizard-text-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

/* Result Step */
.result-message {
    padding: 20px;
}

.summary-box {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid var(--primary-orange);
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .main-content-layout {
        flex-direction: column;
        margin: 30px auto;
    }

    /* Hide Sidebar on Mobile/Tablet */
    .sidebar {
        display: none;
    }

    .content-area {
        width: 100%;
    }

    /* Responsive Images */
    img {
        max-width: 100%;
        height: auto;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        position: relative;
    }

    .header-right {
        text-align: center;
        width: 100%;
    }

    /* Mobile Menu Styles */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 16px;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        cursor: pointer;
        background: var(--primary-orange);
        color: #fff;
        padding: 15px;
        /* Increased padding */
        border-radius: 4px;
        position: relative;
        margin-top: 20px;
        /* Increased margin */
        width: 100%;
        min-height: 48px;
        /* Increased touch target */
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        display: none;
        /* Hide default menu */
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
        background: #f9f9f9;
        border-top: 2px solid var(--primary-orange);
    }

    .main-nav.active ul {
        display: flex;
        /* Show when active */
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        /* Increased padding */
        min-height: 48px;
        /* Ensure accessible touch target */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Increased gap */
    }


    .hero-section {
        padding: 60px 0;
    }

    .page-title {
        font-size: 28px;
    }
}

/* Desktop: ensure hamburger is hidden */
.mobile-menu-btn {
    display: none;
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-section .container {
        padding: 0 20px;
    }

    .top-bar .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .top-bar .contact-info span {
        margin-right: 0;
    }

    .wizard-container {
        padding: 20px;
        width: 95%;
    }

    .wizard-header h2 {
        font-size: 22px;
    }

    .wizard-option-card {
        width: 100%;
    }

    .image-options-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Second Hand / Product Card Extras */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-rent {
    background: var(--primary-orange);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    flex-grow: 1;
    text-align: center;
}

.btn-rent:hover {
    background: #333;
}

.btn-buy-small {
    background: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.btn-buy-small:hover {
    background: #333;
    color: #fff;
}

.pdf-link {
    display: inline-block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
    text-decoration: underline;
}

.pdf-link:hover {
    color: var(--primary-orange);
}

/* Sidebar Wizard CTA */
.wizard-cta {
    background: var(--primary-orange);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background 0.3s;
    margin-bottom: 20px;
}

.wizard-cta:hover {
    transform: translateY(-2px);
    background: #e6a200;
}

.wizard-cta i {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.wizard-cta h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
}

.wizard-cta span {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}