:root {
    --primary: #CE6A6B;
    --secondary: #EBACA2;
    --tertiary: #BED3C3;
    --quaternary: #4A919E;
    --dark: #212E53;
    --whatsapp: #25D366;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--dark);
}

/* Section Gradients */
section:not(.hero-section) {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.02) 100%);
}

/* Animation Classes */
.element-a-animer {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.element-a-animer-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.element-a-animer-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.element-visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.logo-container {
    max-width: 200px;
    margin: 2rem auto;
    position: relative;
}

.logo-underline {
    width: 100%;
    height: 3px;
    background-color: #ce6a6b;
    margin: 0.5rem auto 0;
    transform-origin: center;
    animation: underlineWidth 6s ease-in-out infinite;
}

@keyframes underlineWidth {
    0% {
        transform: scaleX(1.5);
    }
    50% {
        transform: scaleX(1.0);
    }
    100% {
        transform: scaleX(1.5);
    }
}

.typewriter-container {
    display: inline-block;
    text-align: left;
}

.typewriter-text {
    color: var(--primary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.typewriter-cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ce6a6b;
}

.social-icons a {
    transition: transform 0.3s ease;
    color: white;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid var(--quaternary);
    border-radius: 0.375rem;
    padding: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
    color: black;
}

.contact-form input[type="date"]::placeholder {
    color: #9CA3AF;
}

.contact-form select {
    color: black;
}

.contact-form button {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--dark);
}

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center 20%;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-background {
        object-position: center 33%;
    }
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.star-rating {
    color: #FFD700;
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.profile-image-container {
    perspective: 1000px;
    display: inline-block;
}

.profile-image-container img {
    transform: perspective(1000px) rotateY(0deg) translateZ(0);
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.profile-image-container:hover img {
    transform: perspective(1000px) rotateY(5deg) translateZ(50px);
}

[data-name^="pricing-card"] {
    transition: transform 0.3s ease;
}

[data-name^="pricing-card"]:hover {
    transform: translateY(-3px);
}

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 50;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}

/* Navbar link hover effect */
.nav-link {
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
