/*
Theme Name: Studio Ruya
Description: A modern, lightweight WordPress theme optimized for Elementor page builder. Perfect for creative agencies, portfolios, and business websites.
Author: Prince Adil
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio-ruya
Tags: elementor, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, business
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

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

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #3498db;
}

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

/* Front Page Styles */
.welcome-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

.welcome-section .site-description {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.front-page-content {
    min-height: 50vh;
}

/* Blog Posts Container */
.posts-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Elementor Compatibility */
.elementor-page .site-main {
    padding: 0;
}

.elementor-page .site-header,
.elementor-page .site-footer {
    display: none;
}

.elementor-page.elementor-template-full-width .site-header,
.elementor-page.elementor-template-full-width .site-footer {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.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;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}