@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:wght@400;700;900&display=swap');

:root {
    /* Premium Color Palette */
    --primary-color: #1a365d;
    /* Deep Navy */
    --secondary-color: #2c5282;
    /* Rich Blue */
    --accent-color: #e53e3e;
    /* Vibrant Red/Coral */
    --accent-hover: #c53030;

    --text-main: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;

    --bg-body: #f7fafc;
    --bg-white: #ffffff;
    --bg-light: #edf2f7;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 70px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    margin-top: 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation Bar */
nav {
    background-color: var(--primary-color);
    color: var(--text-white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.logo {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    max-width: 900px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn,
.read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover,
.read-more:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn.secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Preview Section & Cards */
.previews {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.preview-card,
.blog-card,
.video-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.preview-card:hover,
.blog-card:hover,
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.preview-card img,
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.preview-card h3,
.blog-card h3,
.video-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0;
}

.preview-card p,
.blog-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Previews Specific Layout */
.previews .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 60px 0 30px;
    text-align: center;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

footer a {
    color: var(--text-white);
    text-decoration: underline;
}

footer .social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

footer .social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* About Page */
.about-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.profile-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    font-family: 'Merriweather', serif;
    font-style: italic;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-main);
}

blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 40px 0;
    padding: 20px 30px;
    background: var(--bg-light);
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.professional-links {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    box-shadow: var(--shadow-lg);
}

.professional-links h2 {
    color: var(--text-white);
}

.professional-links p {
    color: rgba(255, 255, 255, 0.9);
}

.website-link {
    background-color: var(--accent-color);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    box-shadow: var(--shadow-md);
}

.website-link:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.expertise-list li {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Blog Page */
.blog-content {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 20px;
}

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

.blog-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-info .date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.read-more {
    align-self: flex-start;
    margin-top: auto;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.read-more:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Videos Page */
.videos-content {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 20px;
}

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

.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* Video Facade (Placeholder) */
.video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-facade:hover img {
    opacity: 0.6;
}

.play-button {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-facade:hover .play-button {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post img {
        min-height: 300px;
    }

    .featured-text {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        color: var(--text-white);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 60px 0;
    }

    .professional-links {
        padding: 30px 20px;
    }
}