/* Modern Stockholm Red Theme */

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.2;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem 0;
}

a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
    border: 1px solid #bdc3c7;
}

.btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    text-decoration: none;
}

/* Header */
.site-header {
    position: relative;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-image: url('/img/headers/header-01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(44, 62, 80, 0.8) 30%, 
        rgba(44, 62, 80, 0.4) 60%, 
        transparent 100%);
    z-index: 1;
}

.site-header .container {
    position: relative;
    z-index: 2;
}

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

.site-branding .site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-branding .site-title a {
    color: white;
}

.site-branding .site-title a:hover {
    color: #ecf0f1;
    text-decoration: none;
}

.site-description {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    color: #ecf0f1;
    font-weight: 300;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-link {
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.social-link.instagram:hover { background: #E4405F; }
.social-link.facebook:hover { background: #1877F2; }
.social-link.telegram:hover { background: #0088CC; }
.social-link.whatsapp:hover { background: #25D366; }
.social-link.youtube:hover { background: #FF0000; }

/* Main Content */
main {
    min-height: 60vh;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Tour Cards */
.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tour-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.tour-card-category-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tour-category-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tour-card-content {
    padding: 1.5rem;
}

.tour-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tour-card-subtitle {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 1rem;
}

.tour-card-category {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.tour-card-description {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.guide-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.tour-card-link {
    color: #e74c3c;
    font-weight: 500;
    text-decoration: none;
}

.tour-card-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Page Layout */
.page-container,
.tour-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content,
.tour-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.tour-content h1,
.tour-content h2,
.tour-content h3,
.tour-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.page-content h1:first-child,
.tour-content h1:first-child {
    margin-top: 0;
}

.page-content p,
.tour-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.page-content img,
.tour-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-content blockquote,
.tour-content blockquote {
    border-left: 4px solid #e74c3c;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.page-content ul,
.page-content ol,
.tour-content ul,
.tour-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li,
.tour-content li {
    margin-bottom: 0.5rem;
}

.page-content hr,
.tour-content hr {
    border: none;
    border-top: 2px solid #ecf0f1;
    margin: 2rem 0;
}

.page-content strong,
.tour-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.page-content em,
.tour-content em {
    color: #7f8c8d;
}

/* Media Content */
.page-content iframe,
.tour-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    box-shadow: none;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.image-gallery img {
    margin: 0;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
}

/* Content highlights */
.highlight-box {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    margin: 1.5rem 0;
}

.warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
    margin: 1.5rem 0;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #95a5a6;
    margin: 1.5rem 0;
}

.page-header,
.tour-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-subtitle,
.tour-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}

.tour-header {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.tour-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-info {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tour-info h1 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.tour-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.tour-category {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0;
}

.tour-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tour-guide {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.tour-content {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.tour-navigation {
    text-align: center;
    margin-top: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-content-bounded {
    position: relative;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    overflow: hidden;
}

.cta-content-bounded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/authors/contact-me.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.cta-content-bounded::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, 
        rgba(231, 76, 60, 1) 0%, 
        rgba(231, 76, 60, 0.9) 20%,
        rgba(231, 76, 60, 0.7) 40%,
        rgba(231, 76, 60, 0.4) 60%,
        rgba(231, 76, 60, 0.1) 80%,
        transparent 100%);
    z-index: 2;
}

.cta-content-bounded .page-header,
.cta-content-bounded .cta-buttons,
.cta-content-bounded p {
    position: relative;
    z-index: 3;
}

.cta-content h3,
.cta-content-bounded h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p,
.cta-content-bounded p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content-bounded .page-header h1,
.cta-content-bounded .page-header h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.cta-content-bounded .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: #e74c3c;
    font-weight: 600;
}

.cta-buttons .btn:hover {
    background: #ecf0f1;
    color: #c0392b;
}

/* Footer */
.site-footer {
    position: relative;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    overflow: hidden;
    background-image: url('/img/footers/footer-02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(44, 62, 80, 0.8) 30%, 
        rgba(44, 62, 80, 0.4) 60%, 
        transparent 100%);
    z-index: 1;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
}

.footer-section a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    .main-navigation.active {
        display: block;
        margin-top: 1rem;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .tour-header {
        text-align: left;
    }
    
    .tour-image {
        height: 250px;
    }
    
    .tour-meta {
        justify-content: flex-start;
    }
    
    .page-content,
    .tour-content {
        padding: 1.5rem;
        margin: 0 15px 2rem;
    }
    
    .page-content p,
    .tour-content p {
        text-align: left;
    }
    
    .page-container,
    .tour-container {
        padding: 0;
    }
    
    .tour-info {
        padding: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .tour-card-category-overlay,
    .tour-category-overlay {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
        border-radius: 15px;
    }
    
    .cta-content-bounded::before {
        background-image: url('/img/authors/contact-me-mobile.jpg');
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .page-container,
    .tour-container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}