/* Adventure in Sicily - Website Styles
   Colors extracted from YouTube channel logo */

:root {
    /* Logo colors - warm Sicilian earth tones */
    --primary: #48372f;           /* Dark brown from logo */
    --primary-light: #5d4a40;     /* Lighter brown */
    --accent: #C4713B;            /* Sicilian terracotta/orange */
    --accent-dark: #A85C2F;       /* Darker terracotta */
    --mediterranean: #2E86AB;     /* Mediterranean blue */
    --olive: #6B7B3C;             /* Sicilian olive green */

    --text: #333;
    --text-light: #666;
    --bg: #FBF9F7;                /* Warm off-white */
    --white: #FFFFFF;
    --cream: #F5F0EB;             /* Warm cream */

    --shadow: 0 2px 8px rgba(72, 55, 47, 0.1);
    --shadow-lg: 0 4px 20px rgba(72, 55, 47, 0.15);
}

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

body {
    font-family: 'Georgia', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-subscribe {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s !important;
}

.btn-subscribe:hover {
    background: var(--accent-dark) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-style: italic;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Video Grid */
.latest-videos {
    padding: 80px 20px;
    background: var(--cream);
}

.latest-videos h2,
.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
    font-weight: 400;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

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

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: var(--primary);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay::after {
    content: '';
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.video-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-info .date,
.video-info .views {
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.video-info .views {
    color: var(--accent);
    font-weight: 600;
}

.btn-secondary {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* About Preview */
.about-preview {
    background: var(--white);
    padding: 80px 20px;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 400;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Categories */
.categories {
    padding: 80px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--accent);
}

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

.category-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 20px 30px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--accent);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-domains {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.page-header p {
    opacity: 0.8;
    font-style: italic;
}

/* Episodes Page */
.episodes-section {
    padding: 60px 20px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-bar input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-bar input:focus {
    border-color: var(--accent);
}

/* Episode Detail */
.episode-page {
    padding: 40px 20px;
}

.episode-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-embed {
    position: relative;
    padding-top: 56.25%;
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.episode-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.episode-meta {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.episode-description {
    line-height: 1.8;
    margin-bottom: 30px;
}

.watch-youtube {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.watch-youtube:hover {
    background: var(--accent-dark);
}

/* About & Guide Pages */
.about-page,
.guide-page {
    padding: 60px 20px;
}

.about-container,
.guide-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-container h2,
.guide-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 400;
}

.about-container p,
.guide-container p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text);
}

/* Review Cards */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.review-content {
    padding: 20px;
}

.review-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.review-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.review-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-rating {
    margin-top: 10px;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }
}
