/* ============================================================
   NAPOLES Components — Frozen Lake
   Editorial-Minimalist · Architectural Grade
   ============================================================ */

/* ============================================================
   BUTTONS — Already in style.css, component overrides here
   ============================================================ */
.btn-sm { padding: 8px 20px; font-size: 0.72rem; }

/* ============================================================
   ABOUT STAT — Compact override
   ============================================================ */
.about-stat-number {
    font-family: var(--f-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.7rem;
    color: var(--slate);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-family: var(--f-body);
    font-weight: 600;
}

/* ============================================================
   PRICING — Overrides for featured card content
   ============================================================ */
.pricing-card.featured .pricing-amount {
    border-bottom-color: rgba(173, 216, 230, 0.15);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(173, 216, 230, 0.06);
}

.pricing-card.featured .btn-primary {
    background: var(--ice);
    color: var(--navy);
    border-color: var(--ice);
}

.pricing-card.featured .btn-primary:hover {
    background: var(--snow);
    box-shadow: var(--shadow-glow);
}

.pricing-features li i {
    color: var(--c-success);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER — Navy with grain, icy accents
   ============================================================ */
.footer {
    background: var(--navy);
    color: var(--c-text-on-dark);
    padding: var(--s-3xl) 0 var(--s-xl);
    position: relative;
    overflow: hidden;
}

/* Grain texture */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-2xl);
    margin-bottom: var(--s-2xl);
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--s-md);
}

.footer-logo-img {
    height: 56px; /* Slightly larger too for better visibility */
    width: auto;
    display: block;
    transition: transform var(--t-fast);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

/* Logo icon removed */

.footer-desc {
    color: var(--slate);
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-col h4 {
    color: var(--ice);
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--f-body);
    margin-bottom: var(--s-lg);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links li a {
    color: var(--slate);
    font-size: 0.88rem;
    transition: all var(--t-fast);
}

.footer-links li a:hover {
    color: var(--ice);
}

.footer-links li i {
    color: var(--ice);
    margin-right: var(--s-sm);
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: var(--s-sm);
    margin-top: var(--s-lg);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 2px;
    background: rgba(173, 216, 230, 0.06);
    border: 1px solid rgba(173, 216, 230, 0.1);
    color: var(--slate);
    font-size: 1rem;
    transition: all var(--t-fast);
}

.footer-social a:hover {
    background: var(--ice);
    border-color: var(--ice);
    color: var(--navy);
    box-shadow: var(--shadow-glow-sm);
}

.footer-bottom {
    padding-top: var(--s-xl);
    border-top: 1px solid rgba(173, 216, 230, 0.06);
    text-align: center;
    font-size: 0.78rem;
    color: var(--slate);
    position: relative;
    z-index: 1;
}

/* ============================================================
   PAGE HERO — Sub-pages
   ============================================================ */
.page-hero {
    padding: calc(var(--nav-height) + var(--s-3xl)) 0 var(--s-2xl);
    background: var(--c-bg-alt);
    text-align: center;
    border-bottom: 1px solid var(--border-card);
}

.page-title {
    font-family: var(--f-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--s-md);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--c-text-secondary);
}

/* ============================================================
   GALLERY — Sharp, architectural
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-sm);
}

.gallery-item {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--c-bg-alt);
    border: 1px solid var(--border-card);
    transition: all var(--t-normal);
}

.gallery-item:hover {
    border-color: var(--ice);
    box-shadow: var(--shadow-glow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   FORMS — Bottom-border only, architectural inputs
   ============================================================ */
.form-group { margin-bottom: var(--s-lg); }

.form-group label {
    display: block;
    font-family: var(--f-body);
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: var(--s-sm);
    color: var(--slate-dark);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.form-control {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-card);
    border-radius: 2px;
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: 0.95rem;
    transition: all var(--t-normal);
    appearance: none;
    -webkit-appearance: none;
}

.form-control::placeholder { color: var(--slate); }

.form-control:focus {
    outline: none;
    border-bottom-width: 2px;
    border-bottom-color: var(--navy);
}

.form-control:disabled { opacity: 0.4; cursor: not-allowed; }

.form-hint {
    display: block;
    margin-top: var(--s-xs);
    font-size: 0.78rem;
    color: var(--slate);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }

.input-group { display: flex; gap: var(--s-sm); }
.input-group .form-control { flex: 1; }
.input-group .btn { white-space: nowrap; }

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236D8196' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

/* ============================================================
   NOTIFICATION
   ============================================================ */
.notification {
    position: fixed;
    top: calc(var(--nav-height) + var(--s-md));
    right: var(--s-lg);
    display: flex;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-md) var(--s-xl);
    border-radius: 2px;
    background: var(--c-bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform var(--t-normal);
    max-width: 400px;
}

.notification.show { transform: translateX(0); }
.notification-success { border-left: 3px solid var(--c-success); }
.notification-success i { color: var(--c-success); }
.notification-error { border-left: 3px solid var(--c-error); }
.notification-error i { color: var(--c-error); }
.notification-info { border-left: 3px solid var(--ice); }
.notification-info i { color: var(--navy); }

.notification-close {
    background: none;
    border: none;
    color: var(--slate);
    cursor: pointer;
    padding: var(--s-xs);
    margin-left: var(--s-md);
}

/* ============================================================
   ANIMATIONS — Staggered
   ============================================================ */
.animate-ready {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .animate-in:nth-child(1) { transition-delay: 0s; }
.features-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .animate-in:nth-child(3) { transition-delay: 0.15s; }
.features-grid .animate-in:nth-child(4) { transition-delay: 0.2s; }
.features-grid .animate-in:nth-child(5) { transition-delay: 0.25s; }
.features-grid .animate-in:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — Components
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}