/*
Theme Name: Juli2
Description: A custom WordPress theme that ignores the built-in editor in theme customization and uses project files.
Version: 1.2
Author: Kilo Code
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFBF5;
    padding: 0 110px;
    animation: fadeIn 1s ease-in;
}

/* Responsive styles */
@media (max-width: 768px) {
    body {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 10px;
    }
}

/* Centered container */
.centered {
    width: calc(100% + 220px);
    margin-left: -110px;
    margin-right: -110px;
    padding: 110px;
    background-color: #fff;
}

@media (max-width: 768px) {
    .centered {
        width: 100%;
        margin: 0;
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .centered {
        padding: 20px 10px;
    }
}

/* Sections */
.section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #000;
    border-radius: 5px;
    border-bottom: 1px solid #000;
}

@media (max-width: 480px) {
    .section {
        padding: 10px;
    }
}

.section h2 {
    margin-bottom: 10px;
    color: #007bff;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFFAF5;
    color: #333;
    text-decoration: none;
    border: 1px solid #F0F0F0;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header styles */
header {
    text-align: center;
    padding: 20px;
    background-color: #FFFBF5;
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (max-width: 768px) {
    header {
        padding: 10px;
    }
}

header h1 {
    margin-bottom: 10px;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
}

@media (max-width: 768px) {
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
    }
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #007bff;
}

/* Main body container */
#body {
    padding: 0px 0;
}

/* Hero section */
.hero {
    background-image: url(asd2.png);
    background-size: contain;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}


@media (max-width: 768px) {
    .hero {
        height: 300px;
        background-attachment: scroll;
        background-size: 100% auto;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 250px;
    }
}

.hero-text {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text h2 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.hero-text p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-text h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2em;
    }

    .hero-text p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.5em;
    }

    .hero-text p {
        font-size: 0.9em;
    }
}

.hero-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-button button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Footer styles */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    color: #333;
}

.footer-content h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
    width: 100%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.footer-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-content strong {
    color: #007bff;
}

@media (max-width: 768px) {
    footer {
        padding: 20px 10px;
    }

    .footer-content h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .footer-content h3 {
        font-size: 1em;
    }
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    min-height: 400px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.service-box:nth-child(odd) {
    background-color: #FBFBFB;
}

.service-box:nth-child(even) {
    background-color: #E8F9FF;
}

.service-button {
    background-color: #C4D9FF;
    color: black;
    border: 1px solid #A0B0C0;
    border-radius: 25px;
    padding: 10px 20px;
    margin: 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-button:hover {
    background-color: #9BB8E0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.buttons-container {
    padding-top: 3%;
}

/* About section */
.about-section {
    background-color: #FFF9F1;
    border-radius: 15px;
    padding: 40px 150px;
    text-align: center;
    font-style: italic;
    font-size: 1.5em;
    color: #333;
}

.about-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: lighter;
}

.about-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-section {
        padding: 20px 20px;
        font-size: 1.2em;
    }

    .about-section h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 15px 10px;
        font-size: 1em;
    }

    .about-section h2 {
        font-size: 1.2em;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* WhatsApp button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-button img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

/* Testimonials section */
#testimonios {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#testimonios.visible {
    opacity: 1;
}

#testimonios .container {
    max-width: 800px;
    margin: 0 auto;
}

#testimonios h2 {
    font-family: Arial, sans-serif;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    font-weight: lighter;
}

.testimonial-slider {
    position: relative;
    height: 200px; /* Adjust based on content */
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

.testimonial.active {
    opacity: 1;
}

.testimonial p {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    color: #333;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 20px;
    font-style: italic;
}

.testimonial cite {
    font-family: Arial, sans-serif;
    font-style: normal;
    color: #333;
    font-size: 1em;
}

.indicators {
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D3D3D3; /* Light gray */
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #696969; /* Darker gray */
}

/* Responsive */
@media (max-width: 768px) {
    #testimonios h2 {
        font-size: 1.5em;
    }

    .testimonial p {
        font-size: 1.2em;
        max-width: 90%;
    }

    .testimonial-slider {
        height: 180px;
    }
}

@media (max-width: 480px) {
    #testimonios h2 {
        font-size: 1.2em;
    }

    .testimonial p {
        font-size: 1em;
    }

    .testimonial-slider {
        height: 160px;
    }
}

/* Contact form section */
#contact-form {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
}

#contact-form .container {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form h2 {
    font-family: Arial, sans-serif;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
    font-weight: lighter;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.form-group {
    text-align: center;
}

.form-group.half {
    flex: 1;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #f0f0f0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFFAF5;
    color: #333;
    text-decoration: none;
    border: 1px solid #F0F0F0;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-size: 1em;
}

.form-submit button:hover {
    background-color: #d0d0d0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    #contact-form h2 {
        font-size: 1.5em;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-group.half {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    #contact-form h2 {
        font-size: 1.2em;
    }

    #contact-form {
        padding: 20px 10px;
    }
}
