﻿/* ========================================
   ENHANCED ORIGINAL BTN-THEME - 2026
   Your Colors • Better UX • Clean Structure
========================================= */

.btn-theme {
    /* Your Original Variables - Enhanced */
    --btn-radius: 14px;
    --btn-padding: 0.75em 2.2em;
    --btn-font-size: 15px;
    --btn-font-weight: 600;
    --btn-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* YOUR ORIGINAL COLORS - Perfect as-is */
    --color-aqua: #04826d;
    --color-blue: #3867d6;
    --color-violet: #9b59b6;
    --color-mehroon: #6d033e;
    --color-green: #16a085;
    --color-purple: #6d0368;
    --color-gold: #ffc048;
    --color-orange: #ff7300;
    --color-red: #eb1736;
    --color-garnet: #781a44;
    --color-forest: #228b22;
    --color-blonde: #c2b490;
    --color-indigo: #4b0082;
    --color-teal: #008080;
    --color-olive: #808000;
}

    /* CLEAN BASE BUTTON */
    .btn-theme .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6em;
        padding: var(--btn-padding);
        font-size: var(--btn-font-size);
        font-weight: var(--btn-font-weight);
        border-radius: var(--btn-radius);
        border: none;
        cursor: pointer;
        text-decoration: none;
        position: relative;
        text-align: center;
        font-family: inherit;
        user-select: none;
        transition: var(--btn-transition);
        min-height: 48px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    }

/* SIZE VARIANTS */
.btn--sm {
    padding: 0.5em 1.5em !important;
    font-size: 13px !important;
}

.btn--lg {
    padding: 1em 3em !important;
    font-size: 17px !important;
}

.btn--round {
    border-radius: 50px !important;
}

.btn-block, .btn--block {
    width: 100%;
    max-width: 400px;
    margin: 0.8rem auto;
    display: block;
}

/* HOVER/FOCUS STATES */
.btn-theme .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-theme .btn:active {
    transform: translateY(0);
}

.btn-theme .btn:focus-visible {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: 2px;
}

/* YOUR ORIGINAL COLORS - Clean Implementation */
.btn--aqua {
    background: var(--color-aqua);
    color: white;
}

    .btn--aqua:hover {
        background: #036d5a;
    }

.btn--blue {
    background: var(--color-blue);
    color: white;
}

    .btn--blue:hover {
        background: #2b57b0;
    }

.btn--violet {
    background: var(--color-violet);
    color: white;
}

    .btn--violet:hover {
        background: #8b4ba5;
    }

.btn--mehroon {
    background: var(--color-mehroon);
    color: white;
}

    .btn--mehroon:hover {
        background: #5a022e;
    }

.btn--green {
    background: var(--color-green);
    color: white;
}

    .btn--green:hover {
        background: #127f64;
    }

.btn--purple {
    background: var(--color-purple);
    color: white;
}

    .btn--purple:hover {
        background: #5a025a;
    }

.btn--gold {
    background: var(--color-gold);
    color: #7a4a00;
}

    .btn--gold:hover {
        background: #f0b700;
    }

.btn--orange {
    background: var(--color-orange);
    color: white;
}

    .btn--orange:hover {
        background: #e65c00;
    }

.btn--red {
    background: var(--color-red);
    color: white;
}

    .btn--red:hover {
        background: #c1122a;
    }

.btn--garnet {
    background: var(--color-garnet);
    color: white;
}

    .btn--garnet:hover {
        background: #64173a;
    }

.btn--forest {
    background: var(--color-forest);
    color: white;
}

    .btn--forest:hover {
        background: #196f19;
    }

.btn--blonde {
    background: var(--color-blonde);
    color: #5a2d0f;
}

    .btn--blonde:hover {
        background: #b3957a;
    }

.btn--indigo {
    background: var(--color-indigo);
    color: white;
}

    .btn--indigo:hover {
        background: #3a005f;
    }

.btn--teal {
    background: var(--color-teal);
    color: white;
}

    .btn--teal:hover {
        background: #006666;
    }

.btn--olive {
    background: var(--color-olive);
    color: white;
}

    .btn--olive:hover {
        background: #666600;
    }

/* OUTLINE BUTTONS */
.btn--outline {
    background: transparent !important;
    border: 2px solid !important;
    color: inherit !important;
}

    .btn--outline:hover {
        background: currentColor !important;
        color: white !important;
        transform: translateY(-2px) !important;
    }

/* GRADIENT BUTTON */
.btn--gradient {
    background: linear-gradient(135deg, var(--color-orange), var(--color-blue)) !important;
    color: white !important;
}

    .btn--gradient:hover {
        background: linear-gradient(135deg, #e65c00, #2b57b0) !important;
        box-shadow: 0 10px 30px rgba(255,115,0,0.4);
    }

/* SECTION TITLES - Your Style Enhanced */
.btn-theme .section-title {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 2.5rem auto 1.5rem;
    padding: 1rem 2rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--btn-radius);
    background: rgba(255,255,255,0.9);
    color: #222;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 450px;
    border: none;
    cursor: default;
}

/* TITLE COLORS - Your Original Style */
.title--aqua {
    background: rgba(4,130,109,0.15);
    color: var(--color-aqua);
}

.title--blue {
    background: rgba(56,103,214,0.15);
    color: var(--color-blue);
}

.title--violet {
    background: rgba(155,89,182,0.15);
    color: var(--color-violet);
}

.title--orange {
    background: rgba(255,115,0,0.15);
    color: var(--color-orange);
}

.title--green {
    background: rgba(22,160,133,0.15);
    color: var(--color-green);
}

.title--forest {
    background: rgba(34,139,34,0.15);
    color: var(--color-forest);
}

.title--gold {
    background: rgba(255,192,72,0.2);
    color: #7a4a00;
}

.title--garnet {
    background: rgba(120,26,68,0.15);
    color: var(--color-garnet);
}

.title--red {
    background: rgba(235,23,54,0.15);
    color: var(--color-red);
}

/* ACCORDION - Simple Clean */
.btn-theme details {
    margin: 1rem 0;
}

.btn-theme summary {
    list-style: none;
    cursor: pointer;
}

    .btn-theme summary::-webkit-details-marker,
    .btn-theme summary::marker {
        display: none;
    }

.btn-theme details[open] summary {
    margin-bottom: 1rem;
}

.btn-theme .accordion-content {
    padding: 1.5rem;
    margin-top: 1rem;
    background: rgba(255,255,255,0.95);
    border-radius: var(--btn-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* SERVICE GRID */
.btn-theme .service-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .btn-theme .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ANIMATION - Your Original Ripple */
.btn-theme .animation {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: ripple 1.5s infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(255,255,255,0);
    }
}

/* FORM BUTTON */
#submit-button {
    background: linear-gradient(135deg, var(--color-green), #127f64) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 1.1em 3em !important;
    min-height: 56px !important;
    width: 100%;
    max-width: 380px;
    margin: 2rem auto !important;
    box-shadow: 0 6px 25px rgba(22,160,133,0.3) !important;
}

    #submit-button:hover {
        box-shadow: 0 12px 35px rgba(22,160,133,0.5) !important;
        transform: translateY(-3px) !important;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .btn-theme .btn {
        padding: 0.85em 2em;
        min-height: 50px;
    }

    .btn-theme .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-theme * {
        transition: none !important;
        animation-duration: 0.01ms !important;
    }
}
