/* ===== CUSTOM STYLES ===== */

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* --- Navbar --- */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

/* --- Buttons --- */
.btn-gold {
    background: linear-gradient(135deg, #c8a96e 0%, #d4b87a 50%, #c8a96e 100%);
    color: #1e3a5f;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(200, 169, 110, 0.45);
    transform: translateY(-2px);
}

.btn-navy {
    background: #1e3a5f;
    color: #c8a96e;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-navy:hover {
    background: #183050;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.45);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #1e3a5f;
    font-weight: 600;
    border: 2px solid rgba(30, 58, 95, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
}

.btn-outline-light:hover {
    background: rgba(30, 58, 95, 0.05);
    border-color: #1e3a5f;
}

/* --- Inputs --- */
.input-field {
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #1e3a5f;
    background: #fefdfb;
    transition: all 0.2s ease;
    outline: none;
    font-family: 'Inter', system-ui, sans-serif;
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

/* --- Mobile menu --- */
.mobile-link {
    transition: all 0.2s ease;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(0.35rem, 0.35rem);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 1.25rem;
    margin-left: 0;
    transform: rotate(-45deg) translate(0.25rem, -0.25rem);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* --- Geometric shapes --- */
.hero-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: #c8a96e;
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: #2e5c9e;
    border-radius: 50%;
    bottom: -50px;
    right: 20%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #c8a96e;
    top: 30%;
    left: 5%;
    opacity: 0.08;
    transform: rotate(15deg);
}

.shape-ring {
    width: 180px;
    height: 180px;
    border: 4px solid #c8a96e;
    border-radius: 50%;
    top: 20%;
    right: 5%;
    opacity: 0.2;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #c8a96e 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 15%;
    left: 10%;
    opacity: 0.25;
    transform: rotate(45deg);
}

/* --- Decorative blobs --- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #f5df95;
    top: 20%;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #9fb3d9;
    bottom: 30%;
    left: -80px;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #f9ecbe;
    top: 60%;
    right: 20%;
}

/* --- Reveal animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Service card hover --- */
.card-service {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive adjustments --- */
@media (max-width: 767px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }

    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }

    .shape-ring {
        width: 100px;
        height: 100px;
    }
}
