/* === Custom Styles for H & M Painting === */

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5E2230;
    --blush: #E8C4C4;
    --blush-light: #FFF0F0;
    --cream: #FFFBF7;
    --dark: #2D2A26;
    --dark-muted: rgba(45, 42, 38, 0.6);
    --radius: 1rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--burgundy);
    color: white;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--burgundy);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--burgundy);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--dark);
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--dark);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--burgundy);
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--blush-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === Form Inputs === */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(123, 45, 59, 0.15);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--cream);
    transition: all 0.3s ease;
    outline: none;
}

.input-field:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
    background: white;
}

.input-field::placeholder {
    color: rgba(45, 42, 38, 0.35);
}

/* === Service Cards === */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card:hover .rounded-2xl img {
    transform: scale(1.05);
}

/* === Testimonial Cards === */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(123, 45, 59, 0.1);
}

/* === Float Animation === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* === Navbar === */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(255, 251, 247, 0.92);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* === Mobile Menu === */
.mobile-link {
    transition: all 0.3s ease;
}

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Nav Links === */
.nav-link {
    position: relative;
}

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

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

/* === Responsive tweaks === */
@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* === Divider animation === */
@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}
