/*
Theme Name: Visit Zagreb
Theme URI: https://visitzagreb.com/
Description: Custom Premium Standalone Theme for Visit Zagreb portal.
Author: Antigravity
Author URI: https://visitzagreb.com
Version: 1.0.0
Text Domain: visitzagreb
*/

/* 
==========================================================================
   PREMIUM CUSTOM DESIGN (Vanilla CSS)
========================================================================== 
*/

:root {
  --vz-primary: #0a192f;      /* Deep Navy */
  --vz-secondary: #e53e3e;    /* Vibrant Red */
  --vz-accent: #ffd700;       /* Gold */
  --vz-bg: #f8fafc;
  --vz-surface: #ffffff;
  --vz-text: #334155;
  --vz-heading: #0f172a;
  
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--vz-bg);
    color: var(--vz-text);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--vz-heading);
    font-weight: 700;
}

/* 
---------------------------------------------
   GLASSMORPHISM HEADER (Overrides Parent)
--------------------------------------------- 
*/
.site-header, .td-header-wrap {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: var(--shadow-sm);
}

/* 
---------------------------------------------
   HERO SECTION (Front Page)
--------------------------------------------- 
*/
.vz-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.vz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 1;
}

.vz-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out infinite alternate;
}

.vz-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.vz-hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.vz-hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.vz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.vz-btn-primary {
    background-color: var(--vz-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.vz-btn-primary:hover {
    background-color: #c53030;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
    color: white;
}

/* 
---------------------------------------------
   CATEGORIES GRID (Hub Pages)
--------------------------------------------- 
*/
.vz-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.vz-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.vz-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--vz-secondary);
    border-radius: 2px;
}

.vz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.vz-card {
    background: var(--vz-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.03);
}

.vz-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vz-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

.vz-card:hover .vz-card-img img {
    transform: scale(1.1);
}

.vz-card-content {
    padding: 2rem;
}

.vz-card-title {
    font-size: 1.5rem;
    color: var(--vz-heading);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vz-card-desc {
    color: var(--vz-text);
    margin: 0;
    font-size: 1rem;
}

.vz-card-arrow {
    width: 32px;
    height: 32px;
    background: var(--vz-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vz-secondary);
    transition: var(--transition);
}

.vz-card:hover .vz-card-arrow {
    background: var(--vz-secondary);
    color: white;
    transform: translateX(5px);
}

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

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vz-section {
        padding: 4rem 1rem;
    }
    
    .vz-hero {
        height: 70vh;
    }
}
