@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Cinzel:wght@400;700;800&display=swap');

/* VGS Club - Design System - Clean Mode */
:root {
    --primary: #c2a04d;
    /* Subtle champagne gold */
    --primary-light: #f9f4e8;
    --primary-dark: #8c7134;
    --accent: #000000;
    --secondary: #1a1a1a;
    --bg-main: #ffffff;
    --bg-alt: #fafafa;
    --bg-card: #ffffff;
    --text-main: #111111;
    --text-muted: #6b7280;
    --success: #10b981;
    --error: #ef4444;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    --border: #ececec;
    --container-width: 1400px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav - Clean Light Version */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-vgs {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-vgs .vgs {
    color: var(--text-main);
    /* Preto por defeito (fundo claro) */
}

.logo-vgs .club {
    color: var(--primary);
    margin-left: 8px;
}

.logo-vgs:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-tagline {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 400;
    margin-top: -4px;
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

header ul a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

header ul a:hover {
    color: var(--primary);
}

.menu-toggle span {
    background: var(--text-main);
}

#nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

header ul a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

header ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

header ul a:hover {
    color: var(--primary);
}

header ul a:hover::after {
    width: 100%;
}

header .btn-secondary {
    color: var(--text-main);
    border-color: var(--border);
}

header .btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #000000;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #fafafa 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 48px;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-main);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Utilities */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    text-align: center;
}

footer .logo {
    font-size: 1.8rem;
}

/* Card Layouts */
.grid-ecommerce {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}

.grid-accommodation {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.grid-experience {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.grid-course {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Glassmorphism Card Base */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.card-glass:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 24px;
    }

    /* Grid layout adjustments for mobile */
    .product-grid,
    .grid-ecommerce,
    .grid-accommodation,
    .grid-experience,
    .grid-course,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 5px;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 10px;
    }

    .menu-toggle {
        display: flex;
    }

    #nav-menu {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #FFFFFF;
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        visibility: hidden;
    }

    #nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Adjust nav links for light mobile menu */
    #nav-menu.active a {
        color: var(--text-main) !important;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Modern Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #eee;
}

.product-card .card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

/* Module Badges on Cards */
.module-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.product-card .card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .provider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-card .provider {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .rating {
    color: #ffb800;
    font-size: 0.8rem;
}

.product-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-card .card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-card .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Specific Card variants */
.accommodation-card .card-image {
    aspect-ratio: 4/5;
}

.accommodation-card .card-image img {
    object-fit: cover;
}

.experience-card {
    border-radius: 24px !important;
}

.experience-card .card-image {
    aspect-ratio: 4/5;
}

.experience-card .card-image img {
    object-fit: cover;
}

@media (max-width: 768px) {
    .product-card .card-body {
        padding: 12px 10px;
    }

    .product-card .card-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
        height: 2.6em;
        line-height: 1.3;
    }

    .product-card .price {
        font-size: 1rem;
    }

    .product-card .provider {
        font-size: 0.6rem;
    }

    .product-card .rating {
        font-size: 0.7rem;
    }
}

/* Blog & Article Styles - Premium Redesign */
.blog-article-page {
    padding-bottom: 100px;
}

.article-hero {
    position: relative;
    padding: 100px 0 60px;
    background: #fafafa;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.article-hero h1 {
    font-size: 3.8rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.1;
    color: var(--text-main);
    font-weight: 800;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    margin-top: -100px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    object-fit: cover;
    max-height: 500px;
}

.article-body {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #222;
}

.article-body h2 {
    font-size: 2.2rem;
    margin: 60px 0 24px;
    color: var(--text-main);
    font-weight: 700;
}

.article-body h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: var(--text-main);
    font-weight: 600;
}

.article-body p {
    margin-bottom: 30px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.article-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .article-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 40px;
    }

    .article-hero h1 {
        font-size: 2.4rem;
    }

    .article-featured-image {
        margin-top: 0;
        border-radius: var(--radius-md);
        margin-bottom: 40px;
    }

    .article-body {
        font-size: 1.1rem;
    }

    .article-meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 10px;
    }
}