/*
Theme Name: AyooCloud Blog
Theme URI: https://ayoocloud.com.br
Author: Antigravity
Description: Tema de blog customizado para AyooCloud.
Version: 1.0
Text Domain: ayoocloud
*/

:root {
    --primary-blue: #19a1dc;
    --dark-grey: #1a1c1e;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 25px;
}

.main-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu-list > li {
    position: relative;
    margin-left: 30px;
}

.main-menu-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 10px 0;
    display: block;
}

.main-menu-list a:hover {
    color: var(--primary-blue);
}

.main-menu-list a i {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border-radius: 8px;
    border-top: 3px solid var(--primary-blue);
}

.has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0 20px;
}

.sub-menu a {
    padding: 8px 0;
    font-size: 13px;
    color: #555;
    text-transform: none;
    border-bottom: 1px solid #f5f5f5;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

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

/* New Search Bar Design */
.search-bar-section {
    background: #fdfdfd;
    padding: 60px 20px;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: var(--white);
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(25, 161, 220, 0.15);
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: var(--text-color);
}

.search-submit {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-submit:hover {
    background: #1589bc;
    transform: scale(1.02);
}

.search-submit i {
    font-size: 16px;
}

/* Main Layout */
.content-area {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* Post Cards */
.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-title {
    margin: 0 0 15px;
    font-size: 24px;
    color: var(--dark-grey);
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-read-more:hover {
    background: #1589bc;
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    border-left: 4px solid var(--primary-blue);
    padding-left: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.latest-posts-list, .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-posts-list li, .categories-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.latest-posts-list li:last-child, .categories-list li:last-child {
    border-bottom: none;
}

.latest-posts-list a, .categories-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    transition: color 0.3s;
}

.latest-posts-list a:hover, .categories-list a:hover {
    color: var(--primary-blue);
}

@media (max-width: 992px) {
    .content-area {
        grid-template-columns: 1fr;
    }
}
