body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background: #f7f9fb;
    color: #222;
}
header {
    background: #f5e9da;
    color: #222;
    padding: 0;
    position: relative;
    z-index: 10;
}
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem 0;
}
nav a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s;
}
nav a:hover {
    color: #c19a6b;
}
.menu-toggle {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    background: #c19a6b;
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    z-index: 12;
    transition: background 0.2s;
}
.menu-toggle:hover {
    background: #a67c52;
}
.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.intro {
    background: #f9f6f2;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.07);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.intro h1 {
    margin-top: 0;
    color: #c19a6b;
}
.references {
    background: #f9f6f2;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.references h2 {
    color: #c19a6b;
}
.references-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0 0 0;
}
.reference-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30,40,90,0.05);
    padding: 1rem;
    flex: 1 1 250px;
    min-width: 220px;
}
.contact {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.07);
    padding: 2rem;
    margin-bottom: 2rem;
}
.contact h2 {
    color: #c19a6b;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}
.contact-form input, .contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #b0bec5;
    border-radius: 6px;
    font-size: 1rem;
}
.contact-form button {
    background: #c19a6b;
    color: #fff;
    border: none;
    padding: 0.9rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #a67c52;
}
footer {
    background: #f5e9da;
    color: #222;
    text-align: center;
    padding: 1.2rem 0 0.7rem 0;
    margin-top: 2rem;
}
.about-me {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.07);
    padding: 2rem;
    margin-bottom: 2rem;
}
.about-me h2 {
    color: #c19a6b;
    margin-top: 0;
}
.about-me-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.about-me-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(30,40,90,0.10);
    border: 3px solid #e3eafc;
}
.about-me-text {
    flex: 1 1 250px;
    min-width: 200px;
}
.side-menu {
    position: fixed;
    top: 2.2rem;
    right: 0;
    min-width: 220px;
    max-width: 260px;
    background: #fff;
    box-shadow: -2px 0 12px rgba(30,40,90,0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    gap: 1.5rem;
    border-radius: 12px 0 0 12px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s;
    transform: translateX(110%);
    opacity: 0;
    z-index: 20;
    height: auto;
    padding-top: 1.2rem;
}
.side-menu.open {
    transform: translateX(0);
    opacity: 1;
}
.side-menu a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.side-menu a:hover {
    color: #c19a6b;
}
.menu-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.menu-logo {
    display: flex;
    align-items: center;
}
.menu-logo img {
    max-width: 90px;
    max-height: 60px;
    object-fit: contain;
    display: block;
}
.menu-close {
    background: none;
    border: none;
    color: #c19a6b;
    font-size: 2rem;
    cursor: pointer;
    margin: 0 0 0 1rem;
    align-self: flex-start;
}
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30,40,90,0.15);
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 90vw;
}
.popup h2 {
    margin-top: 0;
    color: #c19a6b;
}
.popup button {
    margin-top: 1.5rem;
    background: #c19a6b;
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.popup button:hover {
    background: #a67c52;
}
/* Services Section */
.services {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    justify-items: center;
}

.service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #c19a6b;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    color: #c19a6b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-item p {
    line-height: 1.6;
    color: #555;
}

/* Enhanced Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-direct {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-direct h3 {
    color: #c19a6b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f5e9da;
    padding-bottom: 0.5rem;
}

.contact-direct p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-direct a {
    color: #c19a6b;
    text-decoration: none;
    font-weight: 500;
}

.contact-direct a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    color: #c19a6b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f5e9da;
    padding-bottom: 0.5rem;
}

.form-consent {
    margin: 1rem 0;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.form-consent a {
    color: #c19a6b;
    text-decoration: none;
}

.form-consent a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.cookie-content a {
    color: #c19a6b;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-accept {
    background: #c19a6b;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
}

.cookie-accept:hover {
    background: #a67c52;
}

/* Qualifications Section */
.qualifications {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c19a6b;
}

.qualifications h3 {
    margin-bottom: 1rem;
    color: #c19a6b;
    font-size: 1.1rem;
}

.qualifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualifications li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Enhanced References Section */
.references-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reference-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #c19a6b;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reference-card.featured {
    border-left-color: #2c5aa0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.reference-card.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #fff 100%);
}

.reference-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #eee;
}

.reference-header h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.3;
}

.reference-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reference-meta span {
    background: #f1f3f5;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.reference-meta .highlight {
    background: #28a745;
    color: white;
    font-weight: 600;
}

.reference-content {
    padding: 1rem 1.5rem 1.5rem;
}

.reference-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-content li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #555;
}

.reference-content li:last-child {
    margin-bottom: 0;
}

/* Form Messages */
.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Server Status Indicator */
.server-status {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.server-status.php-available {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.server-status.php-unavailable {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reference-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        right: 1rem;
    }
    .side-menu {
        min-width: 60vw;
        max-width: 90vw;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    .references-list {
        flex-direction: column;
    }
    .about-me-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-me-img {
        margin-bottom: 1rem;
    }
}
nav:not(.side-menu) {
    display: none;
}
