/*
Theme Name: Build My Website
Theme URI: https://buildmywebsite.com.ng/
Author: Adewale Adekunle
Author URI: https://buildmywebsite.com.ng/
Description: Premium WordPress theme for web design agency with modern design and full responsiveness
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buildmywebsite
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* CSS Variables for Premium Color Palette */
:root {
    --deep-navy: #0A0E17;
    --dark-charcoal: #1A1F2C;
    --slate-gray: #2A3142;
    --teal-accent: #419D78;
    --gold-accent: #E0A458;
    --light-teal: #5BBF95;
    --off-white: #F8F9FA;
    --text-light: #E2E8F0;
    --text-muted: #94A3B8;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--dark-charcoal) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 70px;
}

.site-logo a {
    display: block;
    height: 100%;
}

.site-logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 1.8rem;
    position: relative;
}

.main-navigation a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--teal-accent);
}

/* Services Dropdown */
.services-dropdown {
    position: relative;
}

.services-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 31, 44, 0.95);
    backdrop-filter: blur(10px);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.services-dropdown:hover .services-dropdown-content {
    display: block;
}

.services-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-dropdown-content a:last-child {
    border-bottom: none;
}

.services-dropdown-content a:hover {
    background: rgba(65, 157, 120, 0.2);
    color: var(--teal-accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
    padding: 5px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 52px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--light-teal) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(65, 157, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 157, 120, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Main Content */
.main-content {
    min-height: 60vh;
}

/* Page Header */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(26, 31, 44, 0.8) 100%);
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(65, 157, 120, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(224, 164, 88, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.global-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--teal-accent), var(--light-teal));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(65, 157, 120, 0.3);
}

.global-badge i {
    margin-right: 8px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--teal-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--teal-accent);
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--text-muted);
}

/* Content Box */
.content-box {
    background: rgba(26, 31, 44, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--teal-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Posts and Pages */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.entry-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 2rem 0 1rem;
    color: var(--text-light);
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-muted);
}

.entry-content a {
    color: var(--teal-accent);
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--deep-navy);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--teal-accent);
    border-radius: 2px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icons {
    display: flex;
    gap: 0.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.contact-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-value {
    font-weight: 500;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-link:hover {
    background: var(--teal-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* WordPress Specific Classes */
.aligncenter {
    display: block;
    margin: 1rem auto;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
    list-style: none;
    margin: 2rem 0;
}

.comment {
    background: rgba(26, 31, 44, 0.6);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 1rem;
}

.comment-metadata {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-reply-link {
    color: var(--teal-accent);
    text-decoration: none;
    font-weight: 500;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .content-box {
        padding: 2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-navigation ul.show {
        display: flex;
    }
    
    .main-navigation li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        justify-content: center;
    }
    
    .main-navigation a {
        padding: 12px 20px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .services-dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .entry-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        min-height: 40vh;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .site-logo {
        height: 60px;
    }
    
    .page-header-content {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
        max-width: 280px;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .content-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .entry-title {
        font-size: 1.6rem;
    }
}

/* Comments Responsive Styles */
.comments-area {
    margin-top: 3rem;
    padding: 2rem;
}

.comment-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.comment-body {
    background: rgba(42, 49, 66, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-meta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.comment-author-info {
    flex: 1;
}

.comment-author-name {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.comment-author-name a {
    color: var(--text-light);
    text-decoration: none;
}

.comment-author-name a:hover {
    color: var(--teal-accent);
}

.comment-metadata {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--teal-accent);
}

.edit-link {
    margin-left: 1rem;
}

.comment-content {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
}

.reply a {
    color: var(--teal-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.reply a:hover {
    text-decoration: underline;
}

.comment-awaiting-moderation {
    color: var(--gold-accent);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Comment Form Styles */
.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comment-notes {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.no-comments {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

/* Comment Navigation */
.comment-navigation {
    margin: 2rem 0;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    flex: 1;
}

.comment-navigation a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(42, 49, 66, 0.7);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-navigation a:hover {
    background: var(--teal-accent);
    color: white;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(42, 49, 66, 0.7);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background: var(--teal-accent);
    color: white;
    transform: translateY(-2px);
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-next a {
    justify-content: flex-end;
}

/* Post Tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-label {
    font-weight: 600;
    color: var(--text-light);
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background: rgba(65, 157, 120, 0.2);
    color: var(--teal-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    margin: 0.2rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--teal-accent);
    color: white;
    transform: translateY(-2px);
}

/* Featured Image */
.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Mobile Responsive Comments */
@media (max-width: 768px) {
    .comments-area {
        padding: 1.5rem;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comment-meta {
        flex-direction: column;
        text-align: center;
    }
    
    .comment-author .avatar {
        margin: 0 auto;
    }
    
    .comment-author-info {
        text-align: center;
    }
    
    .comment-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }
    
    .post-navigation .nav-next a {
        justify-content: flex-start;
    }
    
    .comment-body {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .comments-area {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .comment-body {
        padding: 1rem;
    }
    
    .comment-author .avatar {
        width: 50px;
        height: 50px;
    }
}