/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8FBC8F; /* Dark Sea Green - your selected color */
    --secondary-color: #6B9A6B; /* Darker shade of Dark Sea Green */
    --accent-color: #A9D1A9; /* Lighter shade of Dark Sea Green */
    --light-color: #F5F9F5; /* Very light green background */
    --dark-color: #3E5E3E; /* Dark green for text and emphasis */
    --very-dark-green: #0A2A0A; /* Very very dark green for auction titles */
    --gray-color: #7D9D7D; /* Muted green-gray */
    --light-gray: #E5F0E5; /* Light green-gray */
    --highlight-color: #C5DFC5; /* Bright green highlight */
    --border-color: #6B9A6B; /* Same as secondary for consistency */
    --text-color: #3E5E3E; /* Dark green text */
    --box-shadow: 0 5px 15px rgba(62, 94, 62, 0.2);
    --transition: all 0.3s ease;
    --wood-gradient: linear-gradient(to right, #8FBC8F, #A9D1A9);

}

body {
    font-family: 'EB Garamond', serif;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

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

ul {
    list-style: none;
}

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

section {
    padding: 40px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f8f8"/><path d="M0 0L100 100" stroke="%23f0f0f0" stroke-width="1"/></svg>');
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1rem;
    color: var(--dark-color);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--very-dark-green);
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--very-dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--accent-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 15px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 1.8rem;
    color: var(--very-dark-green);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    text-transform: uppercase;
    text-shadow: none;
    letter-spacing: 1px;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-100%);
    transition: var(--transition);
}

.logo-container:hover h1::after {
    transform: translateX(0);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

nav ul li a {
    color: var(--very-dark-green);
    font-weight: 600;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
    font-family: 'EB Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    text-shadow: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--dark-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--accent-color);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 30px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--very-dark-green);
    font-weight: 700;
    text-shadow: none;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.3s;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.6s;
    color: var(--dark-color);
    font-weight: 300;
    line-height: 1.6;
}

.hero p:last-of-type {
    margin-bottom: 40px;
}

.hero .btn {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.9s;
    padding: 15px 35px;
    font-size: 1rem;
    background-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 160, 233, 0.3);
}

/* Auctions Section */
.auctions {
    position: relative;
    background-color: var(--light-color);
    border-bottom: 3px solid var(--accent-color);
    padding-top: 20px;
}

.auctions h2 {
    color: var(--very-dark-green);
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.auction-card {
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--accent-color);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.auction-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    pointer-events: none;
    z-index: 1;
}

.auction-card:nth-child(1) {
    animation-delay: 0.2s;
}

.auction-card:nth-child(2) {
    animation-delay: 0.4s;
}



.auction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.auction-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Makes it a perfect square */
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--accent-color);
    background-color: var(--light-gray);
}

.auction-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows the entire image without cropping */
    padding: 5px;
    transition: var(--transition);
    z-index: 1;
}

.auction-card:hover .auction-photo,
.auction-image a:hover .auction-photo {
    transform: scale(1.05);
    cursor: pointer;
}

.auction-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.auction-image a::after {
    content: '\f35d'; /* Font Awesome external link icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.auction-image a:hover::after {
    opacity: 1;
}

.auction-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.auction-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0 0L100 0L100 100L0 100Z" stroke="%23A1887F" stroke-width="5" fill="none" stroke-opacity="0.3"/></svg>');
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.auction-icon {
    font-size: 4rem;
    z-index: 2;
}



.house-cleanout {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230066cc"/><path d="M50 20 L80 50 L70 50 L70 80 L30 80 L30 50 L20 50 Z" fill="white"/><rect x="45" y="60" width="10" height="20" fill="%230066cc"/></svg>');
    background-size: cover;
    background-position: center;
    background-color: #0066cc;
}

.trucks-equipment {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23cc6600"/><path d="M10 60 L30 60 L30 40 L70 40 L70 60 L90 60 L90 70 L10 70 Z" fill="white"/><circle cx="25" cy="75" r="10" fill="%23333"/><circle cx="75" cy="75" r="10" fill="%23333"/></svg>');
    background-size: cover;
    background-position: center;
    background-color: #cc6600;
}

.icon-home::before {
    content: '🏠';
}

.icon-truck::before {
    content: '🚚';
}

.auction-details {
    padding: 20px;
    background-color: white;
}

.auction-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--very-dark-green);
    font-weight: 700;
}

.auction-details p {
    margin-bottom: 10px;
    color: var(--gray-color);
    line-height: 1.5;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

.auction-highlights {
    margin: 8px 0;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    border: 1px solid var(--accent-color);
    background-color: rgba(215, 204, 200, 0.5);
    position: relative;
    overflow: hidden;
}

.auction-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--light-wood-texture);
    opacity: 0.2;
    z-index: -1;
}

.auction-highlights li {
    margin-bottom: 5px;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    flex: 0 0 calc(50% - 10px);
}

.auction-highlights li::before {
    content: '\2713';
    color: white;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.auction-highlights li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.auction-highlights li:hover::before {
    background-color: var(--primary-color);
}

.auction-details .btn {
    margin-top: 10px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.profile-pic {
    max-width: 300px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 5px solid white;
}

.profile-pic:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.about-text h3 i {
    margin-right: 10px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 25px 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature p {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
    position: relative;
    border-top: 3px solid var(--primary-color);
    background-image: var(--dark-wood-texture);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info h3 i,
.contact-form h3 i {
    margin-right: 10px;
    color: var(--dark-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--light-wood-texture);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.contact-item:hover::before {
    opacity: 0.25;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-top: 5px;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    z-index: 1;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--dark-color);
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 0;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--wood-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--wood-color);
    border-radius: 0;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    background-color: var(--light-color);
    color: var(--dark-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 60px 0 20px;
    position: relative;
    background-image: var(--wood-texture);
    border-top: 3px solid var(--wood-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M0,0 L200,0 L200,200 L0,200 Z" stroke="%23a47449" stroke-width="5" fill="none" opacity="0.1"/></svg>');
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: 0;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    height: 70px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links h4, 
.footer-social h4 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-links h4::after, 
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links ul li a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    nav ul {
        margin-top: 10px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        text-align: center;
        margin-bottom: 30px;
    }

    .profile-pic {
        max-width: 250px;
    }

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

    .footer-links h4::after, 
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Past Auctions Styles */
.auction-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(62, 94, 62, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.btn-past {
    background-color: var(--gray-color) !important;
    border-color: var(--gray-color) !important;
}

.btn-past:hover {
    background-color: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
    transform: translateY(-2px);
}

#past-auctions {
    background-color: #f8f9f8;
    border-top: 2px solid var(--light-gray);
}

#past-auctions h2 {
    color: var(--gray-color);
}

#past-auctions .auction-card {
    max-width: 250px;
    transform: scale(0.5);
    transform-origin: center;
    margin: -50px auto;
}

#past-auctions .auction-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
