/* Hamilton & Sons Auctions - Main Stylesheet */
/* 
Font imports: Add these to your HTML head section:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Averia+Serif+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcf7;
    color: #3d3d3a;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: #fcfcf7;
    padding: 0;
    box-shadow: 0 4px 12px rgba(50, 32, 34, 0.1);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 80px;
}

.logo {
    text-align: center;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.logo a {
    text-decoration: none;
}

.logo .company-name {
    color: #322022;
    font-family: 'Averia Serif Libre', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo .business-type {
    color: #322022;
    font-family: 'Averia Serif Libre', serif;
    font-size: 0.8rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #322022;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mobile-menu-toggle:hover {
    background-color: rgba(50, 32, 34, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid #322022;
    outline-offset: 2px;
}

/* Hamburger icon styling */
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #322022;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animate hamburger to X when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    height: 100%;
    align-items: stretch;
}

nav a {
    font-family: 'Averia Serif Libre', serif;
    font-style: italic;
    font-weight: 400;
    color: #322022;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 1.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

nav a:hover {
    background-color: rgba(50, 32, 34, 0.1);
}

nav a.active {
    font-weight: 400;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #322022;
}

nav a.active:hover {
    background-color: rgba(50, 32, 34, 0.1);
}

/* Page Header Styles */
.page-header {
    background-color: #f0f1ec;
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #322022;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(252, 252, 247, 0.5), rgba(252, 252, 247, 0.5)), url('images/home_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 252, 247, 0.9) 0%, rgba(252, 252, 247, 0.2) 100%);
    z-index: 1;
}

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

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #322022;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-image img{
    max-width:300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2em;
    border-radius: 15px 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #e26d5c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin: 0.5rem;
}

.btn:hover {
    background-color: #d55a47;
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.signup-section {
    background-color: #FFEBC2;
    text-align: center;
}

.signup-form {
    max-width: 400px;
    margin: 2rem auto;
}

.signup-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid #c9cba3;
    border-radius: 5px;
    font-size: 1rem;
}

/* Auction Highlights Section */
.auction-highlights {
    background-color: #fafaf6;
    padding: 4rem 0;
}

.auction-highlights h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.2rem;
    color: #322022;
    margin-bottom: 3rem;
    font-weight: 600;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-image {
    width: 100%;
    height: 200px;
    background-color: #FFEBC2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #322022;
    font-style: italic;
}

.highlight-video {
    width: 100%;
    height: 200px;
}

.highlight-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-content h3 {
    font-family: 'Playfair Display', serif;
    color: #322022;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.highlight-content p {
    color: #3d3d3a;
    font-size: 0.95rem;
    line-height: 1.5;
}

.highlight-date {
    color: #e26d5c;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Content Styles */
.content {
    padding: 4rem 0;
    background-color: #fcfcf7;
}

.content.centered {
    max-width: 800px;
    margin: 0 auto;
}

.content.alt-bg {
    background-color: #fafaf6;
}

.content h3 {
    font-family: 'Playfair Display', serif;
    color: #322022;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* General Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #322022;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.highlight-box {
    background-color: #FFEBC2;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}

.highlight-box h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.steps {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #c9cba3;
    margin: 2rem 0;
}

.steps h4 {
    color: #e26d5c;
    margin-bottom: 0.5rem;
}

.steps p {
    margin-bottom: 1rem;
}

.contact-cta {
    background-color: #e26d5c;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta a {
    color: #FFEBC2;
    text-decoration: none;
    font-weight: bold;
}

/* Auction Item Styles */
.auction-item {
    background-color: white;
    border: 1px solid #e8e8e3;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.auction-item h3 {
    color: #322022;
    margin-bottom: 1rem;
}

.auction-date {
    color: #e26d5c;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.no-auctions {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #FFEBC2;
    border-radius: 8px;
}

.no-auctions h3 {
    color: #322022;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background-color: #FFEBC2;
    padding: 3rem;
    border-radius: 8px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    color: #322022;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: #e26d5c;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #3d3d3a;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: #e26d5c;
}

.hours-info {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid #c9cba3;
}

.hours-info h3 {
    color: #322022;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.hours-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.note {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: #c9cba3;
    border-radius: 8px;
}

/* Privacy Policy Styles */
.effective-date {
    background-color: #FFEBC2;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: #322022;
    color: #fcfcf7;
    padding: 3rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: #FFEBC2;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p, .footer-section a {
    color: #fcfcf7;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #FFEBC2;
}

.footer-signup {
    max-width: 250px;
}

.footer-signup input {
    width: 100%;
    padding: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c9cba3;
    border-radius: 4px;
    font-size: 0.9rem;
}

.footer-signup .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #4a2e32;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom a {
    color: #FFEBC2;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fcfcf7;
        border: 1px solid rgba(50, 32, 34, 0.1);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 12px rgba(50, 32, 34, 0.15);
        gap: 0;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
        width: 100%;
        min-height: auto;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        background-color: inherit;
        border-bottom: 1px solid rgba(50, 32, 34, 0.1);
        width: 100%;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-family: 'Averia Serif Libre', serif;
        font-style: italic;
        font-weight: 400;
        display: block;
        padding: 1.2rem;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        background-color: transparent;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-menu a:hover {
        background-color: rgba(50, 32, 34, 0.05);
    }

    .nav-menu a.active {
        font-weight: 400;
        background-color: rgba(50, 32, 34, 0.05);
    }

    .nav-menu a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 30%;
        right: 30%;
        height: 2px;
        background-color: #322022;
    }

    .nav-menu a.active:hover {
        background-color: rgba(50, 32, 34, 0.1);
    }

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

    .page-header h2 {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-signup {
        max-width: 100%;
    }
}