/* ========================================
   Caroline Ackel Auctions - Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #772d18; /* Slightly darker maroon tone */
    --primary-dark: #5b2414;
    --primary-light: #9a4524;
    --secondary: #2C3E50; /* Dark blue-gray */
    --accent: #D4AF37; /* Gold accent */
    --accent-light: #E8C547;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lightest: #999999;
    --white: #ffffff;
    --off-white: #f9f7f5;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('wood.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

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

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}

.logo .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 35px;
    flex: 1;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a[href="#contact"] {
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 14px;
}

.nav-links a[href="#contact"]::after {
    display: none;
}

.nav-links a[href="#contact"]:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

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

.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hamburger span.rotate-1 {
    transform: translateY(8px) rotate(45deg);
}

.hamburger span.hide {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger span.rotate-2 {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Hero Section with Carousel
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    overflow: hidden;
}

.hero-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 60px 50px;
}

.hero-right {
    width: 50%;
    position: relative;
}

.hero-content {
    color: var(--text-dark);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.hero-carousel {
    position: absolute;
    top: 30px;
    left: 0;
    right: 30px;
    bottom: 0;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide:first-child {
    background-position: top;
}

.gallery-grid img:first-child {
    object-position: top;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dots .dot.active {
    background: transparent;
    border-color: white;
    transform: scale(1.2);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: none;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background-color: transparent;
}

.about .container {
    background-color: rgba(249, 247, 245, .5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 8px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-single-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.image-stack {
    position: relative;
}

.image-stack img:first-child {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-stack img:nth-child(2) {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 45%;
    border-radius: 8px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-hover);
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--white);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Services Section
   ======================================== */
.why-auctioneer {
    padding: 100px 0;
    background-color: transparent;
}

.why-auctioneer .container {
    background-color: rgba(249, 247, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 8px;
}

.why-auctioneer .lead {
    color: var(--white);
}

.why-auctioneer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.why-auctioneer-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.services {
    padding: 100px 0;
    background-color: transparent;
}

.services .container {
    background-color: rgba(249, 247, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 8px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--white);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #f9f7f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--white);
    font-size: 15px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 100px 0;
    background-color: transparent;
}

.testimonials .container {
    background-color: rgba(89, 34, 34, 0.75);
    padding: 60px;
    border-radius: 8px;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--white);
}

.testimonials .section-tag {
    color: var(--accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.testimonial-content i {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--white);
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-name {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: 80px 60px;
    background-color: transparent;
}

.gallery .container {
    background-color: rgba(249, 247, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

.gallery-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 2;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
    background-color: transparent;
}

.contact .container {
    background-color: rgba(249, 247, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-info-section > p {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 35px;
}

.contact-details {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: #f9f7f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

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

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.contact-socials a i {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-socials a:hover {
    color: var(--primary);
}

.contact-form-section {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 45px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: rgba(107, 43, 43, 0.75);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--secondary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navbar-icons {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .nav-content {
        gap: 15px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 4px;
        padding: 16px 20px 20px;
        box-shadow: var(--shadow);
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 14px;
    }

    .nav-links a[href="#contact"] {
        display: block;
        text-align: center;
        margin-top: 8px;
        padding: 10px 14px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left {
        padding: 40px 20px;
        background-color: rgba(249, 247, 245, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hero-right {
        min-height: 55vh;
    }

    .hero-carousel {
        top: 0;
        right: 0;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 36px;
        color: var(--text-dark);
        text-shadow: none;
    }

    .hero-subtitle {
        font-size: 18px;
        color: var(--text-dark);
        opacity: 1;
    }

    .about h2,
    .section-header h2,
    .contact-info-section h2 {
        font-size: 32px;
    }

    .why-auctioneer .container {
        padding: 40px 20px;
    }

    .why-auctioneer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-auctioneer-image img {
        width: 100%;
        height: 240px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        padding: 60px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .gallery {
        padding: 40px 15px;
    }

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

    .image-stack img:nth-child(2) {
        display: none;
    }
}


