/* ===== Basic/Global Styles ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* ===== Header & Navigation ===== */
header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 220ms ease, opacity 220ms ease;
    will-change: transform;
}

/* Hide header when scrolling down (JS toggles this) */
header.header-hidden {
    transform: translateY(-120%);
    opacity: 0.98;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* Block theme header support */
header .wp-block-navigation__container,
header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header .wp-block-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

header .wp-block-search.search-bar,
header .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .wp-block-search__input {
    padding: 5px;
    font-size: 14px;
}

header .wp-block-search__button {
    padding: 5px 10px;
    font-size: 14px;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
}

header .wp-block-search__button:hover {
    background-color: #555;
}

/* Homepage background for block template */
.home-hero {
    background-image: url("../images/logo/4set%20background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
}

/* Make the homepage sections match the original translucent panels */
.home-hero .search-container {
    background-color: rgba(255, 255, 255, 0.8);
}

.home-hero .info-section {
    margin-top: 30px;
    margin-bottom: 30px;
    background-image: none !important;
    box-shadow: none !important;
}

/* Logo styles */
header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 20px;
    flex-shrink: 0;
}

header .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Brand name next to logo (requested: big white text, about logo size) */
header .brand-name,
header .wp-block-site-title,
header .wp-block-site-title a {
    color: #fff;
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    margin-left: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 900px) {
    header .brand-name,
    header .wp-block-site-title,
    header .wp-block-site-title a {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    header .brand-name,
    header .wp-block-site-title,
    header .wp-block-site-title a {
        display: none; /* keep header clean on small screens */
    }
}

/* Navigation links */
header ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Search bar */
header .search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .search-bar input {
    padding: 5px;
    font-size: 14px;
}

header .search-bar button {
    padding: 5px 10px;
    font-size: 14px;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
}

header .search-bar button:hover {
    background-color: #555;
}
/* ===== Search Container and Form Styles ===== */
.search-container {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.search-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.select-group {
    flex: 1;
    min-width: 200px;
}

.select-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.select-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
}

.select-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.search-button {
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    width: auto;
    min-width: 120px;
    align-self: flex-end;
    margin-top: 0;
    height: 41px;
}

.search-button:hover {
    background: #444;
}

/* ===== Slideshow Container and Styles ===== */
.slideshow-container {
    max-width: 100%;
    width: 100%;
    position: relative;
    margin: 20px auto;
    height: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#wheelSlideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    display: flex;
    z-index: 1;
}

.slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Navigation buttons */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    z-index: 2;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Loading and error states */
.slide.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
}

.slide.loading::after {
    content: 'Loading...';
    color: #666;
    font-size: 16px;
}

.slide.error {
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
}

.slide.error::after {
    content: 'Image failed to load';
    color: #666;
    font-size: 16px;
}

/* Fullscreen specific styles */
body.fullscreen-mode {
    overflow: hidden !important;
}

body.fullscreen-mode .slideshow-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.fullscreen-mode .slide {
    height: 100vh !important;
}

body.fullscreen-mode .slide img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}

/* Make sure navigation buttons are visible in fullscreen */
body.fullscreen-mode .slideshow-nav {
    z-index: 10000 !important;
}

/* ===== Thumbnail Slider Styles ===== */
.thumbnail-slider,
.slider-nav,
.thumbnail {
    display: none !important;
}

/* ===== Catalog Layout Styles ===== */
.catalog-container {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Catalog fallback grid (only shown if .catalog-container is not rendered) */
.catalog-fallback {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* If the AJAX catalog layout renders, hide the fallback */
.catalog-container ~ .catalog-fallback {
    display: none;
}

/* Folder Navigation */
.folder-nav {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.folder-list-container {
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.folder-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Folder button styles */
.folder-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.folder-btn:hover {
    background: #f5f5f5;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.folder-btn:hover .folder-icon {
    color: #007bff;
}

.folder-btn.active {
    background: #e0e0e0;
    border-color: #999;
}

/* Folder icon and name styles */
.folder-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 24px;
}

.folder-icon i {
    font-size: 24px;
}

.folder-btn:hover .folder-icon i {
    color: #007bff;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.folder-name {
    font-size: 16px;
    color: #333;
    flex: 1;
}
/* ===== Product Grid Styles ===== */
.product-container {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.product-card[role="button"] {
    cursor: pointer;
}

.wheel-modal-view-page {
    display: inline-block;
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
    text-decoration: underline;
}

.wheel-modal-view-page:hover {
    color: #333;
}

/* ===== Wheel Quick View Modal ===== */
body.wheel-modal-open {
    overflow: hidden;
}

.wheel-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.wheel-modal-backdrop {
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px 700px at 50% 20%, rgba(0,0,0,0.35), rgba(0,0,0,0.70));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.wheel-modal-content {
    width: min(1000px, 96vw);
    max-height: 85vh;
    overflow: auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255,255,255,0.65) inset;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 18px;
    transform: translateY(10px) scale(0.99);
    opacity: 0;
    animation: wheelModalIn 180ms ease forwards;
}

.wheel-modal-loading,
.wheel-modal-error {
    padding: 40px 20px;
    text-align: center;
    font-weight: 600;
}

.wheel-modal-loading {
    color: #222;
}

.wheel-modal-error {
    color: #b00020;
}

@keyframes wheelModalIn {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.wheeltire-wheel-modal-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 18px;
}

.wheel-modal-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(0,0,0,0.05);
}

.wheel-modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 14px;
}

.wheel-modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.wheel-modal-thumbs a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255,255,255,0.6);
}

.wheel-modal-thumbs img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    display: block;
}

.wheel-modal-right {
    padding: 4px 6px;
}

.wheel-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.wheel-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.3px;
    color: #0f172a;
}

.wheel-modal-close {
    border: none;
    background: rgba(15, 23, 42, 0.06);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 160ms ease, transform 160ms ease;
}

.wheel-modal-close:hover {
    background: rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.wheel-modal-price {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 900;
    color: #0b5ed7;
}

.wheel-modal-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.wheel-modal-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.75);
}

.wheel-modal-specs .spec-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin: 8px 0;
}

.wheel-modal-specs .label {
    font-weight: 800;
    color: #0f172a;
}

.wheel-modal-specs .value {
    color: rgba(15, 23, 42, 0.9);
}

.wheel-modal-compatibility {
    margin: 0;
    padding-left: 18px;
}

.wheel-modal-compatibility li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 6px 8px 0 0;
    border-radius: 999px;
    background: transparent;
    border: none;
}

.wheel-compat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 94, 215, 0.10);
    border: 1px solid rgba(11, 94, 215, 0.18);
    color: rgba(15, 23, 42, 0.92);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.wheel-compat-chip:hover {
    background: rgba(11, 94, 215, 0.16);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(11, 94, 215, 0.18);
}

.wheel-compat-chip:after {
    content: "↗";
    font-size: 12px;
    opacity: 0.75;
}

@media (max-width: 860px) {
    .wheeltire-wheel-modal-inner {
        grid-template-columns: 1fr;
    }
    .wheel-modal-content {
        max-height: 90vh;
    }
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover {
    color: #bbb;
}

/* Modal animation */
@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ===== Wheel Card Styles ===== */
.wheel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.wheel-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wheel-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.wheel-info h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.wheel-price {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: bold;
    margin: 0.5rem 0;
}

.add-to-cart {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #2980b9;
}
/* ===== Responsive Styles ===== */
@media (max-width: 768px) {

    /* Header responsive */
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        margin-bottom: 10px;
    }

    .search-bar {
        width: 100%;
        margin-top: 10px;
    }

    /* Search form responsive */
    .search-fields {
        flex-direction: column;
    }

    .select-group {
        width: 100%;
    }

    .search-button {
        width: auto;
        margin-top: 1rem;
        height: 41px;
    }

    /* Slideshow responsive */
    .slideshow-container {
        height: 60vh;
    }

    .thumbnail-slider {
        height: 60px;
    }

    .thumbnail {
        height: 40px;
        min-width: 60px;
    }

    /* Catalog responsive */
    .catalog-container {
        flex-direction: column;
    }

    .folder-nav {
        width: 100%;
    }

    .folder-list-container {
        height: 50vh;
    }
}

/* ===== Utility Classes ===== */
.no-results,
.error-message {
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 1rem;
}

.no-results h3,
.error-message h3 {
    color: #333;
    margin-bottom: 1rem;
}

.error-message {
    background: #fff0f0;
}

.error-message p {
    color: #d32f2f;
}

/* ===== Custom Scrollbar Styles ===== */
.folder-list-container::-webkit-scrollbar {
    width: 8px;
}

.folder-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.folder-list-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.folder-list-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== Vehicle Details Styles ===== */
.vehicle-details {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 1rem 0;
}

.vehicle-details span {
    font-weight: bold;
}

/* ===== Navigation Container Styles ===== */
.nav-container {
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #007bff;
}

/* ===== Fullscreen Image Styles ===== */
.fullscreen-image {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    background: transparent !important;
}

/* Product image fullscreen states */
.product-image:-webkit-full-screen,
.product-image:-moz-full-screen,
.product-image:-ms-fullscreen,
.product-image:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: transparent;
}

/* Contact Page Styles */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.submit-button {
    padding: 12px 24px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background: #444;
}

/* Responsive styles for contact form */
@media (max-width: 768px) {
    .contact-container {
        margin: 1rem;
        padding: 1rem;
    }

    .submit-button {
        width: 100%;
    }
}

/* Add this to your existing styles.css */
.info-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 25px 0;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.info-section {
    border: 1px solid #e9ecef;
}

.contact-link {
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.info-text > * {
    margin: 5px 0;
}

/* Fullscreen mode styles */
.fullscreen-mode .slide.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.fullscreen-mode .slide.active img {
    max-width: 90vw;
    max-height: 90vh;
}

/* WordPress Content Styles */
.page-content {
    padding: 20px;
    line-height: 1.6;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 1em;
}

.page-content ul,
.page-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

/* Contact Info Styles */
.contact-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

/* Add these styles for the preview modal */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.preview-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.preview-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-modal:hover {
    color: #000;
}

/* Preview Styles */
.preview-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
}

.preview-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

.preview-button {
    padding: 10px 20px;
    background: var(--primary-color, #0056b3);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.preview-button:hover {
    background: var(--button-hover-color, #003d7a);
}

/* Modal Styles */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.preview-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.preview-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-modal:hover {
    color: #000;
}