/* ============================================
   Casa Monet - Custom Styles
   ============================================ */

/* Typography — Casa Monet brand font */
:root {
    --casa-font: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*, body, html {
    font-family: var(--casa-font);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--casa-font);
}

p, span, a, li, div, nav, header, footer, button, input, textarea, label {
    font-family: var(--casa-font);
}

/* Main content area */
main > .container {
    display: flex;
    flex-direction: column;
}

/* Card hover effect */
.card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1) !important;
}

/* Hero section */
.hero-banner {
    background: linear-gradient(135deg, #83C933 0%, #3a9cbd 40%, #40B3D8 100%);
    position: relative;
}

.hero-lead {
    max-width: 520px;
}

.hero-logo {
    height: 120px;
    opacity: .45;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 15% 85%, rgba(241, 138, 42, .3) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(131, 201, 51, .25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(64, 179, 216, .15) 0%, transparent 60%);
    pointer-events: none;
}

/* Centered page layout */
.site-login,
.site-contact,
.site-index,
.site-error,
.site-about,
.site-contact-success,
.site-services,
.site-gallery,
.site-blog {
    flex: 1;
}

.site-error .site-error-content,
.site-about .site-about-content,
.site-contact-success .site-contact-success-content {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 80%;
    }
}

@media (min-width: 768px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 50%;
    }
}

/* Form input group styling */
.input-group:focus-within {
    border-color: #40B3D8 !important;
    box-shadow: 0 0 0 .25rem rgba(64, 179, 216, .25) !important;
}

.input-group .form-control:focus {
    box-shadow: none;
}

textarea.form-control {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

textarea.form-control:focus {
    border-color: #40B3D8;
    box-shadow: 0 0 0 .25rem rgba(64, 179, 216, .25);
}

/* Captcha image */
.site-contact img[src*="captcha"] {
    border-radius: var(--bs-border-radius);
    height: 40px;
}

/* Navbar & dropdown */
.navbar-nav .nav-link:hover {
    color: #40B3D8 !important;
}

.dropdown-menu, .dropdown-item, .nav-link, .navbar-nav {
    font-family: var(--casa-font);
}

/* Footer link hover */
#footer a:hover {
    color: #40B3D8 !important;
}

/* Hero section custom */
.hero-section {
    position: relative;
}

/* ============================================
   Casa Monet Button System — Flat Colors
   ============================================ */

/* Primary CTA button — flat light blue */
.btn-casa {
    background: #40B3D8;
    border: none;
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: background .2s ease, transform .1s ease;
}
.btn-casa:hover {
    background: #3598b8;
    color: #fff;
    transform: translateY(-1px);
}
.btn-casa:active {
    background: #2d7e99;
    transform: translateY(0);
}

/* Outline button */
.btn-casa-outline {
    background: transparent;
    border: 2px solid #40B3D8;
    color: #40B3D8;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.btn-casa-outline:hover {
    background: #40B3D8;
    color: #fff;
}

/* Light button (for dark hero backgrounds) */
.btn-casa-light {
    background: rgba(255,255,255,0.92);
    border: none;
    color: #444;
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    transition: background .2s ease, transform .1s ease;
}
.btn-casa-light:hover {
    background: #fff;
    color: #444;
    transform: translateY(-1px);
}
.btn-casa-light:active {
    transform: translateY(0);
}

/* Transition for all interactive elements */
a, button, .btn {
    transition: all .2s ease;
}
