@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --gold:          #C9A84C;
    --gold-dark:     #A8872A;
    --gold-light:    #EDD98A;
    --gold-alpha:    rgba(201, 168, 76, .1);
    --blue-soft:     #D4E4F0;
    --bg-start:      #EAF3FB;
    --bg-mid:        #F5EFE6;
    --bg-end:        #FBF8F4;
    --text-dark:     #1E1E2A;
    --text-mid:      #555;
    --text-light:    #8a8a9a;
    --card-shadow:   0 4px 24px rgba(0, 0, 0, .07);
    --radius:        12px;
    --transition:    all .3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text-dark);
    background:
        radial-gradient(ellipse at 12% 38%, rgba(201, 168, 76, .14) 0%, transparent 52%),
        radial-gradient(ellipse at 88% 12%, rgba(180, 208, 235, .28) 0%, transparent 52%),
        linear-gradient(158deg, var(--bg-start) 0%, var(--bg-mid) 48%, var(--bg-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 3px;
}

p {
    margin-bottom: 0.1rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.ag-navbar {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, .18);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.ag-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--gold-dark) !important;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
}

.ag-brand span {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light);
    font-style: italic;
    font-weight: bold;
}

.ag-nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 6px 14px !important;
    transition: var(--transition);
    position: relative;
    text-decoration : none !important;
}

.ag-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .3s ease;
}

.ag-nav-link:hover {
    color: var(--gold) !important;
}

.ag-nav-link:hover::after {
    transform: scaleX(1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
    background: var(--gold);
    color: white !important;
    border: none;
    padding: 10px 26px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 168, 76, .4);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold) !important;
    border: 1.5px solid var(--gold);
    padding: 9px 26px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: white !important;
}

/* ============================================================
   SECTION TITLES & DIVIDER
   ============================================================ */
.ag-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 6px;
}

.ag-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 42px;
}

.ag-divider::before,
.ag-divider::after {
    content: '';
    width: 55px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.ag-divider::after {
    background: linear-gradient(to left, transparent, var(--gold));
}

.ag-divider i {
    color: var(--gold);
    font-size: .8rem;
    margin: 0 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.ag-hero {
    padding: 70px 0 55px;
}

.ag-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 22px;
}

.ag-hero-text {
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--text-mid);
    text-align: justify;
    margin-bottom: 18px;
}

.ag-hero-img {
    border-radius: var(--radius);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .16);
    max-width: 100%;
    object-fit: cover;
}

.ag-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.ag-articles-section {
    padding: 65px 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.ag-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(201, 168, 76, .08);
}

.ag-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
}

.ag-card-img-wrap {
    overflow: hidden;
    height: 195px;
    background: linear-gradient(135deg, var(--bg-start), var(--bg-mid));
}

.ag-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ag-card:hover .ag-card-img {
    transform: scale(1.05);
}

.ag-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ag-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.ag-card-cat {
    background: var(--gold-alpha);
    color: var(--gold-dark);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none;
}

.ag-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.ag-card-title:hover {
    color: var(--gold-dark);
}

.ag-card-excerpt {
    font-size: .9rem;
    color: var(--text-mid);
    flex: 1;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ag-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(201, 168, 76, .12);
    padding-top: 14px;
}

.ag-card-stats {
    font-size: .78rem;
    color: var(--text-light);
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.ag-quote-section {
    background: linear-gradient(135deg, rgba(201, 168, 76, .07), rgba(180, 208, 235, .15));
    border-top: 1px solid rgba(201, 168, 76, .18);
    border-bottom: 1px solid rgba(201, 168, 76, .18);
    padding: 65px 0;
}

.ag-quote-big {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-style: italic;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.7;
    position: relative;
    padding: 0 30px;
}

.ag-quote-big::before {
    content: '\201C';
    font-size: 6rem;
    color: var(--gold-light);
    position: absolute;
    top: -30px;
    left: -5px;
    line-height: 1;
    opacity: .7;
}

.ag-quote-author {
    text-align: center;
    color: var(--gold);
    font-style: italic;
    font-size: 1rem;
    margin-top: 16px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.ag-newsletter {
    background: white;
    border-radius: 16px;
    padding: 55px 50px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(201, 168, 76, .15);
    margin: 60px 0;
}

.ag-newsletter h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    margin-bottom: 10px;
}

/* ============================================================
   ARTICLE / POST
   ============================================================ */
.ag-post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.ag-post-featured {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 30px 0;
}

.ag-post-content {
    font-family: Georgia, serif;
    font-size: 1.07rem;
    line-height: 1.92;
    color: var(--text-dark);
}

.ag-post-content h1,
.ag-post-content h2,
.ag-post-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    margin-top: 35px;
    color: var(--text-dark);
}

.ag-post-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 12px 22px;
    margin: 28px 0;
    background: var(--gold-alpha);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-mid);
}

.ag-post-content img {
    border-radius: 8px;
    max-width: 100%;
}

.ag-post-content a {
    color: var(--gold-dark);
}

/* ============================================================
   SHARE BUTTONS
   ============================================================ */
.ag-share {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.ag-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: .88rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.ag-share-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.ag-share-fb   { background: #1877F2; color: white; }
.ag-share-wa   { background: #25D366; color: white; }
.ag-share-li   { background: #0A66C2; color: white; }
.ag-share-copy { background: var(--gold); color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.ag-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .65);
    padding: 55px 0 22px;
    margin-top: 60px;
}

.ag-footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    color: var(--gold) !important;
    text-decoration: none;
}

.ag-footer-tagline {
    font-style: italic;
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
}

.ag-footer h5 {
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.ag-footer-links a {
    display: block;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    margin-bottom: 7px;
    font-size: .9rem;
    transition: var(--transition);
}

.ag-footer-links a:hover {
    color: var(--gold);
}

.ag-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.ag-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.ag-social a:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.ag-footer-divider {
    border-color: rgba(255, 255, 255, .08);
    margin: 30px 0 18px;
}

.ag-footer-bottom {
    font-size: .8rem;
    color: rgba(255, 255, 255, .3);
    text-align: center;
}

.ag-footer-quote {
    font-style: italic;
    color: rgba(255, 255, 255, .4);
    font-size: .88rem;
    text-align: center;
    margin-bottom: 12px;
}

/* ============================================================
   GOOGLE TRANSLATE
   ============================================================ */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .85rem;
    border: 1px solid rgba(201, 168, 76, .4);
    border-radius: 4px;
    padding: 3px 8px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up  { animation: fadeInUp .65s ease forwards; }
.delay-1     { animation-delay: .1s; }
.delay-2     { animation-delay: .2s; }
.delay-3     { animation-delay: .3s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold      { color: var(--gold) !important; }
.bg-gold-soft   { background: var(--gold-alpha); }
.border-gold    { border-color: var(--gold) !important; }
.font-playfair  { font-family: 'Playfair Display', Georgia, serif; }

.pagination .page-link {
    color: var(--gold-dark);
    border-color: rgba(201, 168, 76, .25);
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* ============================================================
   ADMIN — SIDEBAR
   ============================================================ */
.admin-sidebar {
    width: 240px;
    min-height: 100vh;
    background: #1a1a2e;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    overflow-y: auto;
}

.admin-main {
    margin-left: 240px;
    min-height: 100vh;
    background: #f0f4f8;
}

.sidebar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: var(--gold);
    text-decoration: none;
    padding: 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, .65);
    padding: 10px 20px;
    font-size: .9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: white;
    background: rgba(201, 168, 76, .1);
    border-left-color: var(--gold);
}

.sidebar-nav .nav-link i {
    width: 18px;
    text-align: center;
    color: var(--gold);
    opacity: .7;
}

.sidebar-nav .nav-link.active i,
.sidebar-nav .nav-link:hover i {
    opacity: 1;
}

/* ============================================================
   ADMIN — TOPBAR & CARDS
   ============================================================ */
.admin-topbar {
    background: white;
    padding: 14px 28px;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
}

.admin-card {
    background: white;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border: 1px solid #e8ecf0;
}

.stat-card {
    border-radius: 10px;
    padding: 22px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

/* ============================================================
   ADMIN — SEO DOTS
   ============================================================ */
.seo-dot  { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.seo-pass { background: #28a745; }
.seo-fail { background: #dc3545; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-main    { margin-left: 0; }
}

@media (max-width: 768px) {
    .ag-hero-title     { font-size: 2.3rem; }
    .ag-section-title  { font-size: 1.7rem; }
    .ag-quote-big      { font-size: 1.25rem; }
    .ag-hero           { padding: 40px 0 30px; }
    .ag-newsletter     { padding: 35px 20px; }
    .ag-post-title     { font-size: 2rem; }
    .ag-post-featured  { height: 250px; }
}

.lang-btn { background:none; border:2px solid transparent; border-radius:6px; padding:2px 5px; font-size:1.3rem; cursor:pointer; transition:var(--transition); opacity:.55; }
.lang-btn:hover { opacity:1; border-color:rgba(201,168,76,.4); }
.lang-btn.lang-active { opacity:1; border-color:var(--gold); background:var(--gold-alpha); }