/*
Theme Name: StreetView Explorer
Theme URI: https://www.streetview.cz
Author: Antigravity AI
Description: A premium, modern WordPress theme designed specifically for StreetView enthusiasts and travel discovery.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sv-explorer
*/

:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #10b981;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(at 0% 0%, hsla(221,83%,93%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(160,84%,93%,1) 0, transparent 50%);
    background-attachment: fixed;
}

/* Layout */
#page {
    min-height: 100vh;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.home .container, .front-page .container {
    max-width: 98% !important;
    width: 98% !important;
    padding: 0;
}

/* Header */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title span {
    color: var(--text-main);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.2s;
    font-size: 1rem;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Content Area */
.content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}

#primary {
    flex: 1;
}

#secondary {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* Card Styling */
.post-card, .widget {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-discovery-widget {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border: 2px solid var(--primary-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.post-title a {
    color: var(--text-main);
    text-decoration: none;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sidebar Widgets */
.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 10px;
}

.widget a {
    color: var(--text-main);
    text-decoration: none;
    transition: padding-left 0.2s;
}

.widget a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Premium Buttons */
.sv-btn, button, input[type="button"], input[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    text-decoration: none;
}

.sv-btn:hover, button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(59, 130, 246, 0.3);
    filter: brightness(1.1);
}

.sv-btn:active, button:active {
    transform: translateY(0);
}

.sv-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.sv-btn-secondary:hover {
    background: var(--bg-light);
}

/* Inputs */
input[type="text"], input[type="email"], textarea {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
    width: 100%;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0;
    margin-top: auto;
    text-align: center;
}

.sv-map {
	width: 100%; height: 600px; background-color: rgb(227, 227, 227); position: relative; overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}
.sv-panorama {
	width: 100%; height: 900px; margin-top: 20px; border: 1px solid rgb(204, 204, 204); position: relative; overflow: hidden;
    border-radius: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    #secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation ul {
        gap: 15px;
        font-size: 0.9rem;
    }
}

/* Custom StreetView specific elements */
.sv-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 0;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sv-banner .site-branding {
    margin-bottom: 10px;
}

.sv-banner .site-title {
    color: white;
    font-size: 2.2rem;
}

.sv-banner .site-title span {
    color: rgba(255, 255, 255, 0.8);
}

.sv-banner h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    opacity: 0.95;
}

.sv-banner p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

/* Hide front page title */
.front-page .entry-title {
    display: none;
}
