:root {
    --primary-color: #b61d1f;
    --accent-color: #ffd700;
    --background-color: #f5f0e1;
    --text-color: #151515;
    --hover-color: #800020;
    --border-color: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Baskerville', serif;
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('download.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    transition: background-color 0.3s ease; 
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem 0;
    text-align: center;
    transition: background-color 0.3s ease; 
}

header .logo h1 {
    font-size: 2rem;
    margin-left: 20px;
    transition: font-size 0.3s ease; 
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    transition: transform 0.3s ease; 
}

nav ul li {
    margin: 0 1rem;
    transition: transform 0.3s ease; 
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease; 
}

nav ul li a:hover {
    color: var(--accent-color);
}

button {
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

button:hover {
    background-color: var(--hover-color);
    transform: scale(1.1); 
}

button:active {
    background-color: var(--hover-color);
}

.content, .about, .services, .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background-color: #fff;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease; 
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    transition: color 0.3s ease; 
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: color 0.3s ease; 
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.25rem;
    transition: background-color 0.3s ease; 
}

footer .social-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease; 
}

footer .social-links a:hover {
    color: white;
    transform: scale(1.1); 
}

footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}

iframe {
    border: 2px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; 
}

form {
    background-color: #f0f0f0;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; 
}

form .form-group {
    margin-bottom: 20px;
}

form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

form input:focus, form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
}

form button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1); 
}

form div[style="display:none;"] {
    display: none;
}

@media (max-width: 640px) {
    header .logo h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .content h2, .about h2, .services h2, .contact h2 {
        font-size: 1.75rem;
    }

    iframe {
        max-width: 100%;
        height: auto;
    }

    form {
        padding: 1.5rem;
        max-width: 90%;
    }
}

