:root {
    --cerulean: #2A52BE;
    --cerulean-dark: #1e3b8a;
    --gold: #D4AF37;
    --gold-light: #f3cf55;
    --beige: #F5F5DC;
    --beige-dark: #e8e8c8;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--beige);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    color: var(--cerulean-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

/* Reduced paragraph spacing for blog posts by a quarter */
.blog-post-content p.mt-2,
.blog-post-content .mt-2 {
    margin-top: 1.5rem;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--cerulean-dark);
}

.divider-gold {
    height: 3px;
    width: 80px;
    background-color: var(--gold);
    margin: 15px auto 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--white);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-secondary {
    border-color: var(--cerulean);
    color: var(--cerulean);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--cerulean);
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background-color: var(--cerulean-dark);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.social-icons a {
    font-size: 1.2rem;
    margin-left: 10px;
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('assets/banner.png');
    background-size: 105%;
    background-position: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

/* Fallback if image not ready */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cerulean);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero-logo {
    max-height: 150px;
    margin: 0 auto 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* About / Services */
.about-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    padding: 40px 20px;
    border: 1px solid var(--beige-dark);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Gallery */
.gallery-section {
    background-color: var(--beige);
}

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

.gallery-item {
    background: var(--white);
    border: 1px solid var(--gold);
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img-wrapper {
    height: 260px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.gallery-img-wrapper img {
    max-height: 100%;
    width: auto;
}

.gallery-info {
    text-align: center;
}

.gallery-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.sold-price {
    display: inline-block;
    background-color: var(--cerulean);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Slideshow Additions */
.recently-sold-section {
    background-color: var(--white);
    padding: 20px 0 40px;
    /* Reduced padding to bring closer to other items */
}

.slideshow-container {
    position: relative;
    max-width: 1100px;
    /* Widened slightly so cards appear larger */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slideshow-wrapper {
    overflow: hidden;
    flex-grow: 1;
}

.slideshow-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.slideshow-track .slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
}

@media (max-width: 768px) {
    .slideshow-track .slide {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 500px) {
    .slideshow-track .slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.slide-btn {
    background-color: var(--white);
    border: 1px solid var(--gold);
    color: var(--cerulean-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.slide-btn:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* Blog */
.blog-section {
    background-color: var(--white);
}

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

.blog-card {
    border-left: 4px solid var(--gold);
    padding: 0 0 0 20px;
}

.blog-date {
    color: var(--cerulean);
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-card h3 {
    margin: 10px 0;
    font-size: 1.3rem;
}

.blog-card h3:hover,
.blog-card h3 a:hover {
    color: var(--gold);
}

.read-more {
    color: var(--gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--cerulean-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        background-size: cover;
        background-repeat: no-repeat;
    }
}

/* Consignment Page Styles */
.page-header {
    background-color: var(--cerulean-dark);
    background-image: linear-gradient(rgba(30, 59, 138, 0.8), rgba(30, 59, 138, 0.8)), url('assets/banner.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0 40px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 15px;
    font-size: 3rem;
    margin-bottom: 0;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.3rem;
    margin-top: 15px;
    font-weight: 300;
    color: var(--beige);
}

.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

.form-textarea {
    resize: vertical;
}

.form-desc-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.file-input {
    background: #f9f9f9;
}

.checkbox-wrapper {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    cursor: pointer;
}

/* Footer Social Bar */
.footer-social-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-social-bar a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social-bar a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-top: 3px solid var(--gold);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-transform: none;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--cerulean-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--gold);
}

/* --- Dropzone & Progress Bar UI --- */

.dropzone {
    border: 2px dashed var(--gold);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #fafaf5;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dropzone:hover, .dropzone.dragover {
    background-color: var(--beige);
    border-color: var(--cerulean);
}

.dropzone-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.dropzone-text {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.file-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.file-remove {
    color: #cc0000;
    cursor: pointer;
    font-weight: bold;
    padding: 0 5px;
}

.file-error {
    color: #cc0000;
    font-size: 0.9rem;
    margin-top: 5px;
    min-height: 20px;
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 12px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--cerulean);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: bold;
    color: var(--cerulean-dark);
}

/* --- Extracted Inline Styles --- */

/* Consignment Page Added Styles */
.consignment-header-bg {
    background-image: linear-gradient(rgba(30, 59, 138, 0.8), rgba(30, 59, 138, 0.8)), url('assets/banner.png');
    background-size: cover;
    background-position: center;
}

.consignment-title {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 15px;
}

.consignment-subtitle {
    font-size: calc(1rem + 5pt);
    margin-top: 15px;
    font-weight: 300;
    color: var(--beige);
}

.accepted-items-title {
    color: var(--cerulean-dark);
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    font-size: 2rem;
}

.accepted-items-desc {
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.accepted-items-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.accepted-item {
    background-color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid var(--gold);
    box-shadow: var(--shadow);
    color: var(--cerulean-dark);
}

.accepted-item i {
    color: var(--gold);
    margin-right: 10px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-box {
    background-color: var(--beige);
    margin: 15% auto;
    padding: 40px;
    border: 2px solid var(--gold);
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close-btn {
    color: var(--cerulean-dark);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-title {
    color: var(--cerulean-dark);
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-body-text {
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
}

.faq-section-title {
    margin-top: 2rem;
}