/* === MAURITIUS LATITUDES — Premium Coastal Media === */
:root{
 --black:#0a0a0a;
 --dark:#141414;
 --card:#1a1a1a;
 --border:rgba(255,255,255,0.08);
 --text:#f5f5f5;
 --text-2:#a0a0a0;
 --text-3:#666;
 --gold:#FFD500;
 --gold-soft:rgba(255,213,0,0.12);
 --ocean:#1A206D;
 --white:#ffffff;
 --r:16px;
 --r-sm:10px;
 --max-w:1200px;
 --font:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
 --serif:'Playfair Display', Georgia, serif;
}
/* === LIGHT MODE === */
[data-theme="light"]{
 --black:#ffffff;
 --dark:#f5f5f5;
 --card:#ffffff;
 --border:rgba(0,0,0,0.1);
 --text:#1a1a1a;
 --text-2:#555;
 --text-3:#888;
 --gold:#c49800;
 --gold-soft:rgba(196,152,0,0.1);
 --white:#1a1a1a;
}
[data-theme="light"] body{background:#f8f8f8;color:#1a1a1a;}
[data-theme="light"] .header{background:rgba(255,255,255,0.9);border-bottom:1px solid rgba(0,0,0,0.08);}
[data-theme="light"] .logo{color:#1a1a1a;}
[data-theme="light"] .nav-toggle span{background:#1a1a1a;}
[data-theme="light"] .nav-links{background:#fff;}
[data-theme="light"] .nav-cta{color:#fff !important;background:var(--ocean);}
[data-theme="light"] .hero h1{color:#fff;}
[data-theme="light"] .hero .subtitle{color:#ddd;}
[data-theme="light"] .hero-label{color:var(--gold);}
[data-theme="light"] .article-card{background:#fff;border:1px solid rgba(0,0,0,0.08);}
[data-theme="light"] .article-card:hover{border-color:rgba(0,0,0,0.15);}
[data-theme="light"] .sidebar-block{background:#fff;border:1px solid rgba(0,0,0,0.08);}
[data-theme="light"] .footer{background:#1a1a1a;color:#f5f5f5;}
[data-theme="light"] .footer a{color:#ccc;}
[data-theme="light"] .mu-bar{opacity:0.9;}
[data-theme="light"] .cat-tab{background:rgba(0,0,0,0.05);color:#555;}
[data-theme="light"] .cat-tab.active, [data-theme="light"] .cat-tab:hover{background:var(--ocean);color:#fff;}
[data-theme="light"] .circle-form{background:#fff;border:1px solid rgba(0,0,0,0.1);}
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea{background:#f5f5f5;color:#1a1a1a;border-color:rgba(0,0,0,0.15);}
[data-theme="light"] .newsletter-box{background:#fff;border:1px solid rgba(0,0,0,0.08);}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:var(--font);background:var(--black);color:var(--text);line-height:1.6;overflow-x:hidden;}
img{max-width:100%;height:auto;}
a{color:var(--gold);text-decoration:none;transition:opacity .2s;}
a:hover{opacity:.8;}
/* Container */
.container{max-width:var(--max-w);margin:0 auto;padding:0 24px;}
/* === HEADER === */
.header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(10,10,10,0.85);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;}
.logo{font-family:var(--serif);font-size:20px;color:var(--white);letter-spacing:1px;font-weight:600;}
.logo span{color:var(--gold);}
.nav-links{display:flex;gap:28px;align-items:center;}
.nav-links a{color:var(--text-2);font-size:13px;font-weight:500;letter-spacing:.5px;text-transform:uppercase;transition:color .2s;}
.nav-links a:hover, .nav-links a.active{color:var(--gold);}
.nav-cta{background:var(--gold);color:var(--black) !important;padding:8px 20px;border-radius:6px;font-weight:600;font-size:12px !important;letter-spacing:.5px;}
.nav-cta:hover{opacity:.9 !important;}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--white);margin:5px 0;transition:.3s;}
@media (max-width:768px){
 .nav-toggle{display:block;}
 .nav-links{display:none;position:fixed;top:72px;left:0;right:0;bottom:0;background:var(--black);flex-direction:column;padding:40px 24px;gap:24px;}
 .nav-links.open{display:flex;}
 .nav-links a{font-size:16px;}
}
/* === HERO === */
.hero{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background:center/cover no-repeat;filter:brightness(0.4);}
.hero-content{position:relative;z-index:2;max-width:700px;padding:120px 0 80px;}
.hero-label{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--gold);margin-bottom:20px;font-weight:600;}
.hero h1{font-family:var(--serif);font-size:56px;line-height:1.15;color:var(--white);margin-bottom:20px;font-weight:400;}
.hero h1 em{font-style:italic;color:var(--gold);}
.hero .subtitle{font-size:18px;color:var(--text-2);line-height:1.7;margin-bottom:36px;max-width:540px;}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}
@media (max-width:768px){
 .hero h1{font-size:34px;}
 .hero .subtitle{font-size:15px;}
 .hero-content{padding:100px 0 60px;}
}
/* === BUTTONS === */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:8px;font-weight:600;font-size:14px;letter-spacing:.3px;transition:all .2s;cursor:pointer;border:none;}
.btn-gold:hover{background:#d4b45a;color:var(--black);opacity:1;}
.btn-outline{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,0.2);}
.btn-outline:hover{border-color:var(--gold);color:var(--gold);opacity:1;}
.btn-sm{padding:10px 20px;font-size:13px;}
/* === SECTIONS === */
.section{padding:100px 0;}
.section-dark{background:var(--dark);}
.section-title{margin-bottom:48px;}
.section-title .label{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--gold);margin-bottom:12px;font-weight:600;}
.section-title h2{font-family:var(--serif);font-size:38px;color:var(--white);font-weight:400;line-height:1.2;}
.section-title p{color:var(--text-2);font-size:16px;margin-top:12px;max-width:560px;}
@media (max-width:768px){
 .section{padding:60px 0;}
 .section-title h2{font-size:28px;}
}
/* === DESTINATION CARDS === */
.dest-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:20px;}
@media (max-width:960px){.dest-grid{grid-template-columns:repeat(2, 1fr);}}
@media (max-width:640px){.dest-grid{grid-template-columns:1fr;}}
.dest-card{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3;cursor:pointer;}
.dest-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s;}
.dest-card:hover img{transform:scale(1.05);}
.dest-card-content{position:absolute;bottom:0;left:0;right:0;padding:24px;}
.dest-card-content h3{font-family:var(--serif);font-size:22px;color:var(--white);margin-bottom:6px;}
.dest-card-content p{font-size:13px;color:var(--text-2);line-height:1.5;}
.dest-card-count{font-size:11px;color:var(--gold);margin-top:8px;letter-spacing:1px;text-transform:uppercase;font-weight:600;}
/* Featured (first card spans 2 cols) */
.dest-card.featured{grid-column:span 2;aspect-ratio:2/1;}
@media (max-width:640px){.dest-card.featured{grid-column:span 1;aspect-ratio:4/3;}}
/* === PROPERTY CARDS === */
.prop-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:20px;}
@media (max-width:960px){.prop-grid{grid-template-columns:repeat(2, 1fr);}}
@media (max-width:640px){.prop-grid{grid-template-columns:1fr;}}
.prop-card{background:var(--card);border-radius:var(--r);overflow:hidden;border:1px solid var(--border);transition:transform .2s, border-color .2s;}
.prop-card:hover{transform:translateY(-4px);border-color:rgba(201,168,76,0.3);}
.prop-card-img{height:220px;background:center/cover;position:relative;}
.prop-card-badge{position:absolute;top:12px;left:12px;background:var(--gold);color:var(--black);font-size:10px;font-weight:700;padding:4px 10px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px;}
.prop-card-body{padding:20px;}
.prop-card-location{font-size:11px;color:var(--gold);text-transform:uppercase;letter-spacing:1px;font-weight:600;margin-bottom:6px;}
.prop-card-title{font-family:var(--serif);font-size:18px;color:var(--white);margin-bottom:8px;}
.prop-card-desc{font-size:13px;color:var(--text-2);line-height:1.6;margin-bottom:16px;}
.prop-card-details{display:flex;gap:16px;font-size:12px;color:var(--text-3);}
.prop-card-details span{display:flex;align-items:center;gap:4px;}
.prop-card-price{font-size:11px;color:var(--text-3);margin-top:12px;padding-top:12px;border-top:1px solid var(--border);letter-spacing:.5px;}
/* === ARTICLE CARDS === */
.article-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:24px;}
@media (max-width:960px){.article-grid{grid-template-columns:repeat(2, 1fr);}}
@media (max-width:640px){.article-grid{grid-template-columns:1fr !important;}}
@media (min-width:641px) and (max-width:960px){.article-grid{grid-template-columns:repeat(2, 1fr) !important;}}
.article-card{background:var(--card);border-radius:var(--r);overflow:hidden;border:1px solid var(--border);transition:transform .2s;display:flex;flex-direction:column;}
.article-card:hover{transform:translateY(-4px);}
.article-card-img{height:200px;background:center/cover;}
.article-card-body{padding:20px;flex:1;display:flex;flex-direction:column;}
.article-card-cat{font-size:11px;color:var(--gold);text-transform:uppercase;letter-spacing:1px;font-weight:600;margin-bottom:8px;}
.article-card-title{font-size:17px;font-weight:600;color:var(--white);line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.article-card-excerpt{font-size:13px;color:var(--text-2);line-height:1.6;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.article-card-meta{font-size:12px;color:var(--text-3);margin-top:16px;padding-top:12px;border-top:1px solid var(--border);}
/* === CTA SECTION === */
.cta-section{background:linear-gradient(135deg, #0e1240 0%, #1A206D 50%, #0e1240 100%);padding:100px 0;text-align:center;}
.cta-section h2{font-family:var(--serif);font-size:36px;color:var(--white);margin-bottom:16px;}
.cta-section p{color:var(--text-2);font-size:16px;margin-bottom:32px;max-width:500px;margin-left:auto;margin-right:auto;}
.cta-section .label{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--gold);margin-bottom:16px;font-weight:600;}
/* === CIRCLE FORM === */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:600px;margin:0 auto;}
@media (max-width:640px){.form-grid{grid-template-columns:1fr;}}
.form-grid .full{grid-column:1 / -1;}
.form-input{background:rgba(255,255,255,0.06);border:1px solid var(--border);color:var(--white);padding:14px 16px;border-radius:var(--r-sm);font-size:14px;font-family:var(--font);outline:none;transition:border-color .2s;width:100%;}
.form-input:focus{border-color:var(--gold);}
.form-input::placeholder{color:var(--text-3);}
select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;}
/* === FOOTER === */
.footer{background:var(--dark);border-top:1px solid var(--border);padding:60px 0 30px;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px;}
@media (max-width:768px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr;}}
.footer h4{font-size:12px;text-transform:uppercase;letter-spacing:2px;color:var(--gold);margin-bottom:16px;font-weight:600;}
.footer a{display:block;color:var(--text-2);font-size:14px;margin-bottom:10px;}
.footer a:hover{color:var(--gold);}
.footer-desc{font-size:14px;color:var(--text-3);line-height:1.7;max-width:300px;}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;text-align:center;font-size:12px;color:var(--text-3);}
/* === ARTICLE PAGE === */
.article-hero{padding:120px 0 60px;}
.article-hero .label{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:16px;font-weight:600;}
.article-hero h1{font-family:var(--serif);font-size:42px;line-height:1.2;color:var(--white);max-width:800px;}
.article-hero .meta{font-size:14px;color:var(--text-3);margin-top:16px;}
.article-featured-img{width:100%;max-height:500px;object-fit:cover;border-radius:var(--r);margin-bottom:40px;}
.article-content{max-width:740px;margin:0 auto;}
.article-content p{font-size:17px;line-height:1.85;color:var(--text-2);margin-bottom:24px;}
.article-content h2{font-family:var(--serif);font-size:28px;color:var(--white);margin:48px 0 16px;}
.article-content h3{font-size:20px;color:var(--white);margin:32px 0 12px;}
.article-content ul, .article-content ol{padding-left:24px;margin-bottom:24px;}
.article-content li{font-size:16px;color:var(--text-2);line-height:1.8;margin-bottom:8px;}
.article-content blockquote{border-left:3px solid var(--gold);padding:16px 24px;margin:32px 0;background:var(--gold-soft);border-radius:0 var(--r-sm) var(--r-sm) 0;}
.article-content blockquote p{color:var(--text);font-style:italic;margin:0;}
.article-content img{border-radius:var(--r-sm);margin:24px 0;}
.article-content table{width:100%;border-collapse:collapse;margin:24px 0;}
.article-content th{background:var(--card);color:var(--gold);padding:12px;text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:.5px;}
.article-content td{padding:12px;border-bottom:1px solid var(--border);color:var(--text-2);font-size:15px;}
/* Author box */
.author-box{display:flex;gap:20px;padding:24px;background:var(--card);border-radius:var(--r);border:1px solid var(--border);margin:48px 0;}
.author-box img{width:64px;height:64px;border-radius:50%;object-fit:cover;}
.author-box h4{color:var(--white);font-size:16px;margin-bottom:4px;}
.author-box p{font-size:13px;color:var(--text-2);line-height:1.6;}
.author-box .links{margin-top:8px;display:flex;gap:12px;}
.author-box .links a{font-size:12px;color:var(--gold);}
/* Tags */
.tags{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0;}
.tag{font-size:12px;color:var(--text-2);background:rgba(255,255,255,0.06);padding:6px 12px;border-radius:20px;border:1px solid var(--border);}
/* === LOADING === */
.skeleton{background:linear-gradient(90deg, var(--card) 25%, rgba(255,255,255,0.05) 50%, var(--card) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--r-sm);}
@keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
/* Scroll reveal */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s, transform .6s;}
.reveal.visible{opacity:1;transform:none;}
/* === MAURITIUS FLAG PALETTE === */
/* Red:#EA2839 | Blue:#1A206D | Yellow:#FFD500 | Green:#00A551 */
.hero-overlay{background:linear-gradient(180deg, rgba(26,32,109,0.3) 0%, rgba(10,10,10,0.85) 100%);}
.nav-cta{background:var(--gold) !important;color:#1A206D !important;}
.btn-gold{background:var(--gold);color:#1A206D;}
.btn-gold:hover{background:#ffe44d;color:#1A206D;}
.dest-card-overlay{background:linear-gradient(180deg, transparent 30%, rgba(26,32,109,0.9) 100%);}
.prop-card-badge{background:#EA2839;color:white;}
.article-card-cat{color:var(--gold);}
.footer h4{color:var(--gold);}
/* Mauritius color bar */
.mu-bar{height:4px;background:linear-gradient(90deg, #EA2839 25%, #1A206D 25%, #1A206D 50%, #FFD500 50%, #FFD500 75%, #00A551 75%);}
/* === MOBILE-FIRST FIXES === */
@media (max-width:640px){
 /* Featured article stack */
 .featured-article{grid-template-columns:1fr !important;gap:20px;}
 .featured-article-img{aspect-ratio:16/9;}
 .featured-article-body h2{font-size:24px;}
 .featured-article-body .excerpt{font-size:14px;}
 
 /* Article grid single col */
 #articles-grid{grid-template-columns:1fr !important;}
 
 /* Main grid no sidebar on mobile */
 .main-grid{grid-template-columns:1fr !important;}
 
 /* Cards */
 .article-card-img{height:180px;}
 .article-card-title{font-size:16px;}
 .article-card-body{padding:16px;}
 
 /* Dest cards */
 .dest-grid{grid-template-columns:1fr !important;gap:12px;}
 .dest-card.featured{grid-column:span 1 !important;aspect-ratio:16/9 !important;}
 .dest-card{aspect-ratio:16/9;}
 .dest-card-content h3{font-size:20px;}
 
 /* Hero */
 .hero h1{font-size:32px;}
 .hero .subtitle{font-size:14px;}
 .hero-ctas{flex-direction:column;}
 .hero-ctas .btn{width:100%;justify-content:center;}
 
 /* Section titles */
 .section-title h2{font-size:26px;}
 .section{padding:48px 0;}
 
 /* CTA section */
 .cta-section h2{font-size:26px;}
 .cta-section p{font-size:14px;}
 
 /* Form */
 .form-grid{grid-template-columns:1fr !important;}
 
 /* Footer */
 .footer-grid{grid-template-columns:1fr !important;gap:24px;}
 
 /* Category tabs scroll */
 .cat-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:8px;}
 .cat-tab{white-space:nowrap;flex-shrink:0;}
 
 /* Tap targets */
 .btn, .nav-links a, .cat-tab{min-height:44px;display:inline-flex;align-items:center;}
 
 /* Sidebar spacing */
 .sidebar{gap:16px;}
 .sidebar-card{padding:16px;}
 
 /* Newsletter */
 .newsletter-form{flex-direction:column;}
 
 /* Prop cards */
 .prop-grid{grid-template-columns:1fr !important;}
}
/* Prevent horizontal overflow */
body{overflow-x:hidden;}
img{max-width:100%;height:auto;}
.container{overflow-wrap:break-word;}
/* Smooth scroll */
html{scroll-behavior:smooth;}
/* CLS prevention */
.hero{min-height:50vh;}
.article-card-img, .dest-card img{background-color:var(--card);}
/* === ACCESSIBILITY FIXES === */
/* Skip to content */
.skip-link{position:absolute;top:-100px;left:0;background:var(--gold);color:#1A206D;padding:8px 16px;z-index:9999;font-weight:600;font-size:14px;transition:top .2s;}
.skip-link:focus{top:0;}
/* Focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
 outline:2px solid var(--gold);
 outline-offset:2px;
}
.btn:focus-visible{box-shadow:0 0 0 3px rgba(255,213,0,0.4);}
/* Visually hidden labels */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
/* === MOVED FROM INLINE (index.html) === */
/* Homepage blog layout */
.featured-article{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;margin-bottom:60px;}
@media(max-width:768px){.featured-article{grid-template-columns:1fr;gap:24px;}}
.featured-article-img{aspect-ratio:16/10;border-radius:var(--r);overflow:hidden;}
.featured-article-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s;}
.featured-article:hover .featured-article-img img{transform:scale(1.03);}
.featured-article-body .label{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:12px;}
.featured-article-body h2{font-family:var(--serif);font-size:32px;color:var(--white);line-height:1.25;margin-bottom:12px;}
@media(max-width:768px){.featured-article-body h2{font-size:24px;}}
.featured-article-body .excerpt{font-size:16px;color:var(--text-2);line-height:1.7;margin-bottom:16px;}
.featured-article-body .meta{font-size:13px;color:var(--text-3);}
.cat-tabs{display:flex;gap:8px;margin-bottom:32px;flex-wrap:wrap;}
.cat-tab{padding:8px 16px;border-radius:20px;font-size:13px;font-weight:500;border:1px solid var(--border);color:var(--text-2);cursor:pointer;transition:all .2s;background:none;font-family:var(--font);}
.cat-tab:hover, .cat-tab.active{border-color:var(--gold);color:var(--gold);background:var(--gold-soft);}
.newsletter-box{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:32px;text-align:center;}
.newsletter-box h3{font-family:var(--serif);font-size:22px;color:var(--white);margin-bottom:8px;}
.newsletter-box p{font-size:14px;color:var(--text-2);margin-bottom:20px;}
.newsletter-form{display:flex;gap:8px;max-width:400px;margin:0 auto;}
.newsletter-form input{flex:1;}
@media(max-width:480px){.newsletter-form{flex-direction:column;}}
.sidebar{display:flex;flex-direction:column;gap:24px;}
.sidebar-card{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:20px;}
.sidebar-card h4{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:16px;font-weight:600;}
.sidebar-article{display:flex;gap:12px;margin-bottom:16px;text-decoration:none;}
.sidebar-article:last-child{margin-bottom:0;}
.sidebar-article-img{width:72px;height:72px;border-radius:8px;background:center/cover;flex-shrink:0;}
.sidebar-article-title{font-size:14px;font-weight:600;color:var(--white);line-height:1.4;}
.sidebar-article-cat{font-size:11px;color:var(--gold);margin-top:4px;}
.main-grid{display:grid;grid-template-columns:1fr 340px;gap:40px;}
@media(max-width:960px){.main-grid{grid-template-columns:1fr;}}
/* Green accent for positive states */
.badge-eco, .badge-success{background:#00A551;color:white;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;letter-spacing:1px;text-transform:uppercase;}
.text-green{color:#00A551;}
/* Mobile horizontal article cards */
@media (max-width:640px){
 .article-card{flex-direction:row;}
 .article-card-img{width:120px;min-width:120px;height:auto;min-height:120px;}
 .article-card-body{padding:14px 16px;}
 .article-card-title{font-size:15px;-webkit-line-clamp:2;}
 .article-card-excerpt{font-size:12px;-webkit-line-clamp:2;}
 .article-card-meta{margin-top:8px;padding-top:8px;}
}
