/* Atlantic City Classic Car Auction - Enhanced Modern Design */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #9b0013;
    --primary-light: #c41e3a;
    --primary-dark: #7a0010;
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --accent-color: #e74c3c;
    --accent-light: #ff6b6b;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --background-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    --primary-gradient: linear-gradient(135deg, #9b0013 0%, #c41e3a 50%, #9b0013 100%);
    --border-color: #dee2e6;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
}

/* Ensure navbar doesn't overlap */
body.has-navbar {
    padding-top: 70px !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Advanced Typography */
.display-1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.display-5 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.h6 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    position: relative;
    padding-left: 30px;
}

.h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-gradient);
}

.fs-1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: 900 !important;
}

.fw-light {
    font-weight: 300 !important;
}

.text-uppercase {
    text-transform: uppercase;
}

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

.text-light {
    color: var(--text-light) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Premium Button Design */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--background-gradient);
    color: var(--text-light);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--text-light);
}

.btn-danger {
    background: linear-gradient(135deg, #9b0013, #c41e3a);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c41e3a, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 0, 19, 0.3);
}

/* Clean, Simple Hero Section */
.hero-block {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/Atlantic-City-Car-Classic-Car_Auction_June_2026.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: #d94e3b;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-location {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn i {
    font-size: 1.2rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #d94e3b, #e74c3c);
    color: #ffffff;
    border: none;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 78, 59, 0.5);
    color: #ffffff;
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #1a365d;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-block {
        min-height: 100vh;
        height: 100vh;
        padding: 0 20px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Enhanced Sections */
section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

section:first-of-type:not(.hero-block) {
    margin-top: 0;
    padding-top: 4rem;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.bg-secondary {
    background: var(--background-gradient) !important;
    position: relative;
    overflow: hidden;
}

.bg-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(155, 0, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.bg-secondary .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Form Section Styling */
.form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9b0013, #e74c3c, #9b0013);
    z-index: 1;
}

/* Modern Form Input Styling */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
    color: #2c3e50;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

.form-control:focus, .form-select:focus {
    border-color: #9b0013;
    box-shadow: 0 0 0 0.2rem rgba(155, 0, 19, 0.1);
    outline: none;
    background: #ffffff;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Enhanced Checkbox Styling */
.form-check {
    padding-left: 0;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    margin-right: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #ffffff;
    float: left;
}

.form-check-input:checked {
    background: linear-gradient(135deg, #9b0013, #e74c3a);
    border-color: #9b0013;
    box-shadow: 0 2px 4px rgba(155, 0, 19, 0.2);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(155, 0, 19, 0.1);
    border-color: #9b0013;
}

.form-check-label {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    padding-left: 2rem;
    position: relative;
}

.form-check-label:hover {
    color: #9b0013;
}

.form-check-label i {
    color: #9b0013;
    width: 16px;
    text-align: center;
}

/* Better Button Styling */
#contactForm .btn-danger {
    background: linear-gradient(135deg, #9b0013, #c41e3a);
    border: none;
    border-radius: 10px;
    padding: 1rem 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(155, 0, 19, 0.3);
}

#contactForm .btn-danger:hover {
    background: linear-gradient(135deg, #c41e3a, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(155, 0, 19, 0.4);
    color: white;
}

#contactForm .btn-danger i {
    font-size: 1.1rem;
}

/* Premium Image Gallery */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.img-fluid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.img-fluid:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.img-fluid:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

/* Modern Card Styling */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.bg-primary {
    background: linear-gradient(135deg, #9b0013, #c41e3a) !important;
}

.badge {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Items Styling */
.feature-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(155, 0, 19, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 0, 19, 0.15);
    border-color: rgba(155, 0, 19, 0.2);
}

.feature-item i {
    color: #9b0013;
    display: block;
}

.feature-item h6 {
    color: #2c3e50;
    font-size: 0.9rem;
}

.feature-item p {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Consignment Success Toast Notification */
.consignment-success-toast {
    position: fixed;
    top: 100px;
    right: -500px;
    max-width: 450px;
    width: 90%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 6px solid #28a745;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.consignment-success-toast.show {
    right: 30px;
}

.consignment-success-toast.fade-out {
    right: -500px;
    opacity: 0;
}

.toast-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    animation: scaleIn 0.5s ease-out 0.3s backwards;
}

.toast-icon i {
    font-size: 2rem;
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-content h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.toast-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.toast-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toast-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-btn-primary {
    background: linear-gradient(135deg, #9b0013, #c41e3a);
    color: white;
    box-shadow: 0 4px 12px rgba(155, 0, 19, 0.25);
}

.toast-btn-primary:hover {
    background: linear-gradient(135deg, #c41e3a, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(155, 0, 19, 0.35);
    color: white;
}

.toast-btn-secondary {
    background: #e9ecef;
    color: #6c757d;
}

.toast-btn-secondary:hover {
    background: #dee2e6;
    color: #495057;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive for toast */
@media (max-width: 768px) {
    .consignment-success-toast {
        top: 80px;
        right: -100%;
        max-width: none;
        width: calc(100% - 20px);
        padding: 1.5rem;
    }
    
    .consignment-success-toast.show {
        right: 10px;
    }
    
    .toast-icon {
        width: 50px;
        height: 50px;
    }
    
    .toast-icon i {
        font-size: 1.5rem;
    }
    
    .toast-content h4 {
        font-size: 1.1rem;
    }
    
    .toast-content p {
        font-size: 0.875rem;
    }
    
    .toast-actions {
        flex-direction: column;
    }
    
    .toast-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .consignment-success-toast {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .toast-content h4 {
        font-size: 1rem;
    }
}

/* Enhanced About Section Cards */
#about .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#about .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#about .card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 0, 19, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#about .card:hover::before {
    opacity: 1;
}

#about .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(155, 0, 19, 0.15);
    border-color: rgba(155, 0, 19, 0.1);
}

#about .card .bg-primary,
#about .card .bg-danger {
    transition: all 0.4s ease;
}

#about .card:hover .bg-primary,
#about .card:hover .bg-danger {
    transform: scale(1.1) rotate(5deg);
}

/* Pricing card specific styles */
#about .card hr {
    margin: 1rem 0;
    opacity: 0.1;
}

#about .card .d-flex.justify-content-between {
    align-items: center;
}

#about .card .text-danger {
    font-size: 1.1rem;
    font-weight: 700;
}

#about .card .bg-danger {
    background: linear-gradient(135deg, #9b0013, #c41e3a) !important;
}

#about .card small.text-muted {
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #about .row.g-4 {
        gap: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    #about .mt-5 {
        margin-top: 2.5rem !important;
    }
    
    #about h3 {
        font-size: 1.5rem !important;
    }
    
    #about .card-body {
        padding: 1.5rem !important;
    }
    
    #about .card .d-flex.align-items-center > div:first-child {
        padding: 0.75rem !important;
    }
    
    #about .card h5 {
        font-size: 1rem !important;
    }
}

@media (max-width: 575px) {
    #about .card-body {
        padding: 1.25rem !important;
    }
    
    #about .card .text-danger {
        font-size: 1rem !important;
    }
}
