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

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.6;
    color: #3d3020;
    background-color: #f5f1e8;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(139, 90, 43, 0.03) 2px,
            rgba(139, 90, 43, 0.03) 4px
        );
}

header {
    background: linear-gradient(180deg, #8b7d6f 0%, #7a6d5f 100%);
    color: #f5f1e8;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-bottom: 3px solid #8b5a2b;
    height: fit-content;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 120px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

nav a {
    color: #f5f1e8;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 0.5rem 0;
    white-space: nowrap;
}

nav a:hover {
    color: #d4a574;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.5);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(245, 241, 232, 0.3);
}

.nav-social a {
    display: flex;
    color: #d4a574;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-social a svg {
    width: 28px;
    height: 28px;
}

.nav-social a:hover {
    color: #f5f1e8;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #f5f1e8;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    margin: 0 auto;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

main {
    margin-top: 140px;
}

.hero {
    background-size: contain;
    background-position: center 60%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #2f1f0f;
    color: #f5f1e8;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 725px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    font-weight: normal;
    letter-spacing: 2px;
    color: #ffffff;
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 1;
    position: relative;
    z-index: 2;
    font-style: italic;
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.cta-button {
    display: inline-block;
    background-color: #8b5a2b;
    color: #f5f1e8;
    padding: 0.85rem 2.5rem;
    border: 2px solid #d4a574;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background-color: #d4a574;
    color: #3d2c1f;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

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

section {
    padding: 4rem 0;
    scroll-margin-top: 170px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #3d2c1f;
    font-weight: normal;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5a2b, transparent);
    margin: 1rem auto 0;
}

.section-subtitle {
    text-align: center;
    color: #6b5344;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-style: italic;
}

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

.service-card {
    background: #faf7f2;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(74, 55, 40, 0.15);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #e8dcc8;
    border-left: 4px solid #8b5a2b;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5a2b, #d4a574, #8b5a2b);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(74, 55, 40, 0.25);
    background: #fff9f0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-icon-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #3d2c1f;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #6b5344;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: #8b5a2b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #8b5a2b;
    transition: color 0.3s, border-color 0.3s;
}

.service-link:hover {
    color: #d4a574;
    border-color: #d4a574;
}

.accordion {
    padding: 6rem 2rem 4rem;
    max-width: 800px;
}

.accordion-item {
    background: #faf7f2;
    border: 1px solid #e8dcc8;
    border-left: 4px solid #8b5a2b;
    margin-bottom: 1.25rem;
    scroll-margin-top: 160px;
}

.accordion-header {
    margin: 0;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.5rem 2rem;
    font-family: 'Georgia', 'Garamond', serif;
    font-size: 1.4rem;
    color: #3d2c1f;
    letter-spacing: 0.5px;
    text-align: left;
}

.accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #8b5a2b;
    transition: transform 0.3s;
}

.accordion-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.accordion-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.accordion-item.open .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-panel {
    max-height: 2000px;
}

.accordion-panel-inner {
    padding: 0 2rem 2.5rem;
}

.price-group {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.price-group-title {
    color: #8b5a2b;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(139, 90, 43, 0.35);
    font-size: 1.05rem;
    color: #3d2c1f;
}

.price-list li .price-name small {
    display: block;
    color: #6b5344;
    font-size: 0.8rem;
    font-style: italic;
}

.price-list li .price-amount {
    color: #8b5a2b;
    font-weight: 600;
    white-space: nowrap;
}

.price-note {
    max-width: 700px;
    margin: 0.5rem auto 0;
    text-align: center;
    color: #6b5344;
    font-style: italic;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .accordion {
        padding: 5rem 1rem 2.5rem;
    }

    .accordion-trigger {
        padding: 1.25rem 1.5rem;
        font-size: 1.15rem;
    }

    .accordion-panel-inner {
        padding: 0 1.5rem 2rem;
    }

    .price-list li {
        font-size: 0.95rem;
    }
}

.prices {
    background-color: #faf7f2;
}

.pricelist-image {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pricelist-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(74, 55, 40, 0.15);
    border: 1px solid #e8dcc8;
}

.portfolio {
    background: linear-gradient(180deg, #f5f1e8 0%, #ede7dc 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #faf7f2;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(74, 55, 40, 0.15);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #e8dcc8;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(74, 55, 40, 0.25);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4a3728 0%, #6b5344 50%, #3d2c1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.portfolio-image-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    color: #3d2c1f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.portfolio-info p {
    color: #6b5344;
    font-size: 0.9rem;
}

.about {
    background-color: #faf7f2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    color: #3d2c1f;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.about-text p {
    color: #6b5344;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1rem;
}

.about-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    justify-self: center;
    margin: 0 auto;
}

.contact {
    background: linear-gradient(180deg, #4a3728 0%, #3d2c1f 100%);
    color: #f5f1e8;
    text-align: center;
    border-top: 3px solid #8b5a2b;
}

.contact .section-title {
    color: #f5f1e8;
}

.contact .section-subtitle {
    color: #f5f1e8;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
}

.contact-item h3 {
    margin-bottom: 0.8rem;
    color: #d4a574;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #f5f1e8;
    line-height: 1.8;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.contact-social a {
    color: #f5f1e8;
    transition: color 0.3s;
}

.contact-social a:hover {
    color: #d4a574;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.2);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
    color: #d4a574;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid rgba(212, 165, 116, 0.5);
    border-radius: 0;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #3d2c1f;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 8px rgba(212, 165, 116, 0.2);
}

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

.form-group button {
    width: 100%;
    padding: 0.9rem;
    background-color: #8b5a2b;
    color: #f5f1e8;
    border: 2px solid #d4a574;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.form-group button:hover {
    background-color: #d4a574;
    color: #3d2c1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

footer {
    background: linear-gradient(180deg, #8b7d6f 0%, #7a6d5f 100%);
    color: #f5f1e8;
    text-align: center;
    padding: 2.5rem;
    font-size: 0.9rem;
    border-top: 3px solid #8b5a2b;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.social-links a {
    color: #f5f1e8;
    transition: color 0.3s;
}

.social-links a svg {
    width: 32px;
    height: 32px;
}

.social-links a:hover {
    color: #d4a574;
}

.success-message {
    display: none;
    background-color: #6b8e23;
    color: white;
    padding: 1rem;
    border-radius: 0;
    margin-bottom: 1rem;
    text-align: center;
    border-left: 4px solid #8fbc23;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.error-message {
    display: none;
    background-color: #a83232;
    color: white;
    padding: 1rem;
    border-radius: 0;
    margin-bottom: 1rem;
    text-align: center;
    border-left: 4px solid #d14545;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .logo {
        height: 60px;
        max-width: 180px;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(180deg, #7a6d5f 0%, #6b5f52 100%);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    nav.open {
        max-height: 460px;
    }

    section {
        scroll-margin-top: 92px;
    }

    nav a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(212, 165, 116, 0.2);
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-social {
        justify-content: center;
        margin: 1rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        border-top: 1px solid rgba(212, 165, 116, 0.2);
    }

    .nav-social a svg {
        width: 32px;
        height: 32px;
    }

    main {
        margin-top: 92px;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 400px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon-img {
        width: 100px;
        height: 100px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-image-img {
        height: 250px;
    }

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

    .about-image {
        height: auto;
        max-width: 280px;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    .pricelist-image {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        height: 50px;
        max-width: 140px;
    }

    nav {
        top: 78px;
    }

    main {
        margin-top: 78px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 300px;
        padding: 1.5rem 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

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

    .section-subtitle {
        font-size: 0.85rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }
}
