:root {
    --primary: #0077B6;
    --primary-dark: #005f92;
    --secondary: #90E0EF;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f4f7f9;
    --border: #e1e8ed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background-color: var(--bg); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background-color: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.logo i { color: var(--secondary); }
.main-nav a { font-weight: 600; color: var(--text); margin-left: 20px; }
.main-nav a:hover { color: var(--primary); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 100px 20px; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.hero-img { background-size: cover; background-position: center; position: relative; color: white; padding: 140px 20px; text-align: center; }
.hero-img::before { content: ''; position: absolute; top:0;left:0;right:0;bottom:0; background: rgba(0, 30, 60, 0.7); }
.hero-img .container { position: relative; z-index: 1; }
.hero-img h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-img p { font-size: 1.25rem; max-width: 700px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* Sections */
.section { padding: 80px 0; }
.section-light { background: var(--bg-alt); }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; color: var(--primary-dark); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Grid */
.grid-deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 25px; transition: all 0.3s ease; display: block; color: var(--text); text-align: center; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--secondary); }
.card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.4rem; }
.card h4 { color: var(--primary-dark); font-size: 1.1rem; margin-top: 5px; }
.card span { color: var(--text-light); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.card-small { padding: 20px; }

.region-block { margin-bottom: 50px; }
.region-title { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 25px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.region-title i { color: var(--secondary); }

/* Monuments List */
.monuments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.monument-card-link { color: inherit; display: block; }
.monument-card-link:hover { color: inherit; }
.monument-card { background: white; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; border: 1px solid var(--border); height: 100%; }
.monument-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.monument-img { height: 200px; width: 100%; object-fit: cover; background-color: var(--bg-alt); border-bottom: 1px solid var(--border); }
.monument-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.monument-content h3 { margin-bottom: 15px; font-size: 1.4rem; color: var(--primary-dark); line-height: 1.3; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; background: var(--secondary); color: var(--primary-dark); margin-bottom: 15px; align-self: flex-start; }
.badge-primary { background: var(--primary); color: white; }
.meta { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; display: flex; gap: 15px; flex-wrap: wrap; }
.meta span { display: flex; align-items: center; gap: 5px; }
.meta i { width: 16px; height: 16px; }
.monument-desc { color: var(--text); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; background: white; border-radius: 12px; border: 1px dashed var(--border); }
.empty-state i { width: 48px; height: 48px; color: var(--secondary); margin-bottom: 20px; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--primary-dark); }
.empty-state p { color: var(--text-light); }

/* Simulator */
.calculator { background: white; border-radius: 12px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); max-width: 600px; margin: 0 auto; border-top: 5px solid var(--primary); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; color: var(--primary-dark); }
.form-group input, .form-group select { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.btn { display: inline-block; padding: 15px 30px; background: var(--primary); color: white; border: none; border-radius: 8px; font-weight: 600; font-size: 1.1rem; cursor: pointer; text-align: center; transition: all 0.2s; width: 100%; }
.btn:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 10px 20px; font-size: 1rem; }
.btn-outline:hover { background: var(--primary); color: white; }
.result { margin-top: 30px; padding: 25px; background: var(--bg-alt); border-radius: 8px; text-align: center; font-size: 1.25rem; display: none; border-left: 4px solid var(--secondary); }
.result strong { font-size: 2rem; color: var(--primary); display: block; margin-top: 10px; }

/* Affiliation blocks */
.affiliate-block { background: white; border-radius: 12px; padding: 30px; display: flex; align-items: center; gap: 30px; border: 1px solid var(--border); box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 20px; transition: transform 0.3s; }
.affiliate-block:hover { transform: translateY(-3px); }
.affiliate-icon { width: 60px; height: 60px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.affiliate-content { flex-grow: 1; }
.affiliate-content h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--primary-dark); }
.affiliate-content p { color: var(--text-light); margin-bottom: 15px; }

/* Monument Single Page */
.monument-hero { background-size: cover; background-position: center; position: relative; color: white; text-align: left; }
.monument-hero-overlay { background: linear-gradient(to top, rgba(0,31,48,0.95), rgba(0,31,48,0.4)); padding: 120px 20px 80px; }
.breadcrumb { list-style: none; display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 20px; opacity: 0.8; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li:not(:last-child)::after { content: '/'; }
.breadcrumb a { color: white; text-decoration: underline; }
.monument-hero h1 { font-size: 3.5rem; margin-bottom: 15px; line-height: 1.1; }
.monument-location { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; opacity: 0.9; }

.monument-content { padding: 60px 20px; }
.monument-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

.monument-main h2 { color: var(--primary-dark); font-size: 2rem; margin-bottom: 20px; }
.monument-main h3 { color: var(--primary); font-size: 1.5rem; margin-top: 40px; margin-bottom: 15px; }
.monument-main .lead { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }
.monument-history { margin-bottom: 50px; font-size: 1.1rem; line-height: 1.8; }
.monument-history p { margin-bottom: 20px; }

.monument-cta { background: var(--bg-alt); padding: 40px; border-radius: 12px; border-left: 4px solid var(--secondary); margin-top: 40px; }
.monument-cta h3 { margin-top: 0; }
.monument-cta p { margin-bottom: 20px; }

.monument-sidebar { display: flex; flex-direction: column; gap: 30px; }
.info-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.info-card-highlight { background: var(--bg-alt); border-color: var(--secondary); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 25px; color: var(--primary-dark); border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 15px; margin-bottom: 20px; }
.info-list i { color: var(--primary); width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; color: var(--text); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-list span { color: var(--text-light); }

/* Footer */
.site-footer { background: #001f30; color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-grid h3 { color: var(--secondary); margin-bottom: 25px; font-size: 1.2rem; }
.footer-grid p { color: #a0b2c0; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a { color: #a0b2c0; }
.footer-grid ul li a:hover { color: white; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #668299; font-size: 0.9rem; }

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .monument-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .affiliate-block { flex-direction: column; text-align: center; }
    .hero-img h1, .monument-hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
}