@font-face {
    font-family: 'Pacifico-Regular';
    src: url('fonts/Pacifico-Regular.ttf');
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f9f9;
}

section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* HERO */

.three-d {
    color: rgba(201, 139, 91, 1);
    font-family: Pacifico-Regular, Arial, sans-serif;
}

#hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 120px;
    padding-bottom: 120px;

    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

/* Text */
.hero-info {
    max-width: 500px;
}

.hero-info h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}

.hero-info p {
    margin: 25px 0 35px;
    font-size: 18px;
}

/* Image */
.hero__img-container {
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
}

/* Buttons */
a,
button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

a:hover,
button:hover {
    background-color: #444;
}

/* Form */
form {
    max-width: 400px;
}

input,
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
}

button {
    margin-top: 15px;
}

/* Form modal */

#form-modal-overlay {
    display: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    margin-top: 0px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: rgb(102, 102, 102);
}

.modal__close:hover {
    color: white;
    background-color: #444;
}

.modal__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    padding-right: 2rem;
}

.modal__text {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* Problems */

#problems {
    display: flex;
    gap: 20px;
    align-items: center;
}

.problems-img {

}

.problems-info {

}

/* Consultation */

.consultation-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.consultation-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    background: #fff;
    min-height: 100%;
    flex: 1;
}

.consultation-head {
    background-color: rgba(201, 139, 91, 1);
    color: #FFF;
    font-family: Pacifico-Regular, Arial, sans-serif;
    font-size: 2rem;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0px;
}

.consultation-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.consultation-card > p {
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* List styling */
.consultation-card ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 25px;
}

.consultation-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.consultation-card ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(201, 139, 91, 1);
}

/* Price */
.price {
    font-size: 22px;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 15px;
    text-align: end;
}

.time {
    font-weight: 700;
}

/* Button */
.consultation-cta {
    padding: 12px 20px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-weight: 600;
    transition: 0.3s ease;
    
    display: block;
    text-align: center;
    text-transform: uppercase;
}

.consultation-cta:hover {
    background: #111;
    color: #fff;
}

.contact-cover {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* For whom */

#for-whom {
    display: flex;
    flex-direction: row;
}

.for-whom__img-container {
    flex: 1;
}

.for-whom-img {
    flex: 1;
    max-width: 300px;
}

.for-whom__info {
    flex: 1;
}

/* About image */
#about {
    position: relative;
}

#about::before {
    position: absolute;
    content: ' ';
    bottom: 0;
    left: 0;
    width: 80px;
    height: 300px;
    background-color: rgb(233, 190, 129);
    clip-path: polygon(0 100%, 0 0, 100% 100%);
    z-index: 2;
}

#about::after {
    position: absolute;
    content: ' ';
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background-color: rgb(68, 68, 68);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}

.about-cover {
    position: relative;
    overflow: hidden;
}

.about__info {
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

.about__title {
    color: rgba(201, 139, 91, 1);
    font-family: Pacifico-Regular, Arial, sans-serif;
    font-size: 2rem;
}

.about__info-text {
    max-width: 360px;
}

.about__info-text--rigth {
    text-align: right;
    align-self: flex-end;
    padding-top: 60px;
    max-width: 420px;
}

.about-bg {
    position: absolute;
    z-index: -1;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#pricing strong {
    font-size: 18px;
}

/* Portfolio carousel */
.portfolio-carrousel {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.portfolio-carrousel__track {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.portfolio-carrousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-carrousel__slide.is-active {
    opacity: 1;
}

.portfolio-carrousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    z-index: 1;
    margin: 0;
}

.portfolio-carrousel__btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.portfolio-carrousel__btn--prev {
    left: 8px;
}

.portfolio-carrousel__btn--next {
    right: 8px;
}

.portfolio-title {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    color: #666;
    text-align: end;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 14px;
}

.site-footer__year {
    margin: 0;
}

.site-footer__links {
    display: flex;
    gap: 1.5rem;
}

.site-footer__links a {
    color: #666;
    text-decoration: none;
}

.site-footer__links a:hover {
    text-decoration: underline;
    color: #222;
}

/* FAQ */
#faq {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

#faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f4f4f4;
    border-left: 4px solid rgba(201, 139, 91, 1);
}

.faq-question {
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 16px;
    color: #444;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    #for-whom {
        gap: 20px;
    }

    .for-whom__img-container {
        flex: 0;
    }

    .for-whom-img {
        max-width: 140px;
    }

}

@media (max-width: 900px) {
    #hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__img-container {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-info {
        max-width: 100%;
    }

    .hero-info h1 {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .contact-cover {
        grid-template-columns: 1fr;
    }

    .portfolio-carrousel {
        max-width: 100%;
        margin-top: 30px;
    }
}
