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

:root {
    --primary-color: #c4a882;
    --secondary-color: #b8986a;
    --accent-color: #9a7b52;
    --pastel-beige: #f0ebe3;
    --pastel-cream: #f8f4ee;
    --pastel-peach: #f0e2d4;
    --pastel-sand: #e6dcd0;
    --pastel-rose: #ebe2d8;
    --dark-color: #3d3630;
    --light-color: #fafafa;
    --text-color: #4a443c;
    --text-light: #6b6258;
    --white: #ffffff;
    --border-color: rgba(154, 123, 82, 0.35);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border-color);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    transition: var(--transition);
}

.nav-logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3rem;
}

.nav-links {
    list-style: none;
    flex: 1;
}

.nav-links li {
    margin-bottom: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    padding-left: 1rem;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 12px;
}

.nav-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-footer a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1001;
    background: var(--white);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Section Label */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

/* Section Title */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 6rem;
    background-image: linear-gradient(135deg, rgba(255, 252, 248, 0.4) 0%, rgba(250, 246, 240, 0.35) 50%, rgba(248, 242, 234, 0.4) 100%),
        url(22duze.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--pastel-beige);
    opacity: 0.3;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    background: var(--pastel-cream);
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    background: var(--pastel-sand);
}

.decorative-line {
    position: absolute;
    background: var(--border-color);
    opacity: 0.4;
}

.line-1 {
    width: 200px;
    height: 1px;
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
}

.line-2 {
    width: 150px;
    height: 1px;
    bottom: 25%;
    left: 20%;
    transform: rotate(-30deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 0 4rem 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-main-text {
    position: relative;
}

.hero-name-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    font-weight: 300;
    color: var(--dark-color);
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    position: relative;
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.hero-subtitle-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: -1px;
}

.hero-accent-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    max-width: 200px;
}

.hero-main-text .hero-cta-buttons {
    margin-top: 2rem;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-subpage-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-subpage-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-weight: 400;
}

.hero-subpage-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: var(--pastel-beige);
}

.hero-btn-primary,
.hero-btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.5px;
}

.hero-btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.hero-btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 166, 138, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.hero-btn-secondary:hover {
    background: var(--pastel-beige);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.hero-services-scroll {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.services-marquee {
    display: flex;
    gap: 2rem;
    align-items: center;
    white-space: nowrap;
    animation: scroll-horizontal 30s linear infinite;
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.services-marquee span:not(:nth-child(even)) {
    color: var(--text-color);
    font-weight: 300;
}

.services-marquee span:nth-child(even) {
    opacity: 0.4;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image-side {
    position: relative;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-content-side {
    padding-left: 2rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 300;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--pastel-cream) 0%, var(--white) 100%);
}

.services-header {
    margin-bottom: 5rem;
    max-width: 600px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    padding-left: 1rem;
}

.service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 300;
    opacity: 0.5;
}

.service-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 300;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.gallery-subtitle {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 300;
    margin-top: 1rem;
}

.gallery-subtitle a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.gallery-subtitle a:hover {
    border-bottom-color: var(--accent-color);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 300px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pastel-beige), var(--pastel-sand));
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Locations Section */
.locations-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--pastel-rose) 100%);
}

.locations-header {
    margin-bottom: 2rem;
    max-width: 560px;
}

.locations-intro {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.city-item {
    padding: 0.45rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 300;
    transition: var(--transition);
}

.city-item:hover {
    background: var(--pastel-beige);
    border-color: var(--accent-color);
}

.city-item.highlight {
    background: var(--pastel-beige);
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.contact-info-side {
    position: sticky;
    top: 6rem;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 300;
}

.detail-value a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.detail-value a:hover {
    border-bottom-color: var(--accent-color);
}

.contact-form-side {
    background: var(--pastel-cream);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 166, 138, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Work Sans', sans-serif;
}

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

/* Footer */
.footer-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--pastel-peach) 0%, var(--pastel-beige) 100%);
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

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

.footer-copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-copyright p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-container {
        padding: 0 3rem;
    }

    .hero-section {
        padding: 6rem 3rem 4rem;
    }
}

@media (max-width: 968px) {
    .side-nav {
        transform: translateX(-100%);
        width: 260px;
    }

    .side-nav.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

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

    /* Ukryj ikonę hamburgera, gdy menu jest wysunięte – nie zasłania napisu */
    .mobile-menu-toggle.active {
        display: none;
    }


    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-name-large {
        font-size: 5rem;
    }

    .hero-subtitle-text {
        font-size: 2.5rem;
    }

    .circle-1 {
        width: 300px;
        height: 300px;
    }

    .circle-2 {
        width: 200px;
        height: 200px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content-side {
        padding-left: 0;
    }

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

    .contact-info-side {
        position: static;
    }

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

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .section-container {
        padding: 0 2rem;
    }

    .hero-section {
        padding: 4rem 2rem 3rem;
    }


    .hero-name-large {
        font-size: 3.5rem;
    }

    .hero-subtitle-text {
        font-size: 2rem;
    }

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

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-list {
        gap: 2rem;
    }

    .service-item {
        grid-template-columns: 60px 1fr;
        gap: 2rem;
    }

    .service-number {
        font-size: 2rem;
    }

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

    .gallery-item.large {
        grid-row: span 1;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-side {
        padding: 2rem;
    }
}

/* Subpage styles */
.subpage-section {
    padding: 8rem 0 6rem;
    background: var(--white);
    min-height: 80vh;
}

.subpage-content {
    max-width: 720px;
}

.subpage-content .section-title {
    margin-bottom: 2.5rem;
}

.page-text p,
.page-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 300;
}

.page-intro {
    margin-bottom: 2rem;
}

.price-block {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.price-block-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price-amount strong {
    font-weight: 500;
}

.price-location,
.price-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.price-includes {
    list-style: none;
    margin: 1rem 0;
}

.price-includes li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 300;
}

.price-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
}

.price-note {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 1rem;
    font-weight: 300;
}

.price-block-info .price-block-title {
    margin-bottom: 1.5rem;
}

.subpage-cta {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.subpage-cta .hero-btn-primary {
    display: inline-block;
}

.subpage-other-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-cta {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-cta a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-cta a:hover {
    border-bottom-color: var(--accent-color);
}

/* Blog list */
.blog-posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.blog-post-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

.blog-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post-card:hover .blog-post-card-image img {
    transform: scale(1.05);
}

.blog-post-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-post-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-post-card-title a:hover {
    color: var(--accent-color);
}

.blog-post-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.blog-post-card-link {
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-post-card-link:hover {
    gap: 0.75rem;
}

.blog-post-card:last-child {
    border-bottom: none;
}

.blog-post-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.blog-post-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-post-card-title a:hover {
    color: var(--accent-color);
}

.blog-post-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.75rem;
}

.blog-post-card-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog-post-card-link {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-post-card-link:hover {
    border-bottom-color: var(--accent-color);
}

.blog-empty {
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* Blog single post */
.blog-back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-back-link:hover {
    border-bottom-color: var(--accent-color);
}

.blog-post-content .section-title {
    margin-bottom: 0.5rem;
}

.blog-post-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-post-body {
    margin-top: 1rem;
}

.blog-post-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

/* Admin bar (top right) */
.admin-bar {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-bar-btn,
.admin-bar-link {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-family: inherit;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.admin-bar-btn:hover,
.admin-bar-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.admin-bar-link {
    display: inline-block;
}

/* Login modal */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.login-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.login-modal-box {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.login-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-color);
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.login-error {
    color: #c0392b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.login-modal-close:hover {
    color: var(--dark-color);
}

/* Blog featured image edit */
.blog-featured-image-wrap {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.blog-featured-image-wrap input {
    flex: 1;
}

@media (max-width: 768px) {
    .blog-posts-list {
        grid-template-columns: 1fr;
    }
}