:root {
    --primary-gold: #b7950b;
    --accent-gold: #d4af37;
    --light-gold: #f1c40f;
    --cream: #fef9e7;
    --text-dark: #2c2c2c;
    --text-light: #6c6c6c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #fff8e1 50%, var(--cream) 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-left: 0;
    transition: margin-left 0.4s ease;
    min-height: 100vh;
}

/* Hero Section with Diagonal Cut */
.hero-section {
    height: 70vh;
    position: relative;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin-bottom: 4rem;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s both, cursor-blink 1s infinite;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes cursor-blink {
    0%, 50% { border-color: white; }
    51%, 100% { border-color: transparent; }
}

.btn-hero {
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-top: 2rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

/* Masonry Grid */
.masonry-container {
    padding: 3rem 2rem;
}

.masonry-grid {
    columns: 3;
    column-gap: 2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.masonry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold), var(--light-gold));
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.masonry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 149, 11, 0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.masonry-content {
    padding: 1.5rem;
}

.masonry-content h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.masonry-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Section Styling */
.section {
    padding: 4rem 0;
    margin: 2rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    border-radius: 2px;
}

/* Card Styles */
.vintage-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.vintage-card:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(183, 149, 11, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* WordPress Post List */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.post-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold), var(--light-gold));
}

.post-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 149, 11, 0.2);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-item h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.post-item h3 a {
    color: var(--primary-gold);
    text-decoration: none;
}

.post-item h3 a:hover {
    color: var(--accent-gold);
}

.post-item p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.post-item > a {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.post-item > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(183, 149, 11, 0.3);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    background: white;
    color: var(--primary-gold);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-numbers.current {
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    color: white;
}

.page-numbers:hover:not(.current) {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Breadcrumbs */
.breadcrumbs {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

/* Single Post & Page Content */
.page-content {
    max-width: 800px;
    margin: 2rem auto 4rem;
    padding: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.page-content h1 {
    padding: 1.5rem 2rem;
    font-size: 2rem;
    color: var(--primary-gold);
    text-align: center;
    margin: 0;
}

.content {
    padding: 0 2rem 2rem;
}

.content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* 404 Page */
.error-page {
    text-align: center;
    padding: 3rem 2rem;
}

.error-page h1 {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(183, 149, 11, 0.3);
}

/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo a:hover {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-gold);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Homepage Styles */
.homepage {
    min-height: 100vh;
}

/* Hero Section for Homepage */
.homepage .hero-section {
    height: 60vh;
    position: relative;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.homepage .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.homepage .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-excerpt {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}

/* Random Posts Section */
.random-posts {
    padding: 3rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold), var(--light-gold));
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(183, 149, 11, 0.2);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.post-content h3 a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--accent-gold);
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Blog Link Section */
.blog-link-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-blog {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-blog:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: white;
}

.footer-info p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .masonry-grid {
        columns: 2;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .homepage .hero-content h1 {
        font-size: 2.5rem;
    }
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 1;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .homepage .hero-content h1 {
        font-size: 2rem;
    }
    .post-list {
        grid-template-columns: 1fr;
    }
    .page-content h1 {
        font-size: 1.8rem;
    }
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .nav-menu {
        gap: 1rem;
    }
    .homepage .hero-section {
        height: 50vh;
    }
    .hero-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .homepage .hero-content h1 {
        font-size: 1.5rem;
    }
    .masonry-container {
        padding: 2rem 1rem;
    }
    .post-list {
        padding: 0 1rem;
    }
    .breadcrumbs {
        padding: 0 1rem;
    }
    .page-content h1 {
        font-size: 1.5rem;
        padding: 1rem;
    }
    .content {
        padding: 0 1rem 1rem;
    }
    .random-posts {
        padding: 2rem 0;
    }
    .homepage .hero-section {
        height: 40vh;
    }
    .hero-excerpt {
        font-size: 0.9rem;
    }
    .btn-hero, .btn-blog {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}