/*
Theme Name: Crowned Theme
Description: A beautiful WordPress theme featuring a majestic bird background, fully compatible with Elementor page builder.
Version: 1.0
Author: Manus
Text Domain: crowned-theme
*/

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/images/Crownedbackround.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: inline-block;
}

.site-title:hover {
    color: #3498db;
    transition: color 0.3s ease;
}

/* Navigation */
.main-navigation {
    float: right;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

/* Main Content */
.site-main {
    margin-top: 80px;
    padding: 2rem 0;
}

.content-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Footer */
.site-footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-navigation {
        float: none;
        margin-top: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .site-header {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .site-main {
        margin-top: 120px;
    }
    
    .content-area {
        padding: 2rem;
        margin: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    body {
        background-attachment: scroll;
    }
}

/* Elementor Compatibility */
.elementor-page .site-header,
.elementor-page .site-footer {
    display: none;
}

.elementor-page .site-main {
    margin-top: 0;
    padding: 0;
}

.elementor-page .content-area {
    background: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

/* Elementor Widgets Styling */
.elementor-widget-heading .elementor-heading-title {
    color: #2c3e50;
}

.elementor-widget-text-editor {
    color: #333;
}

/* Custom Elementor Section Backgrounds */
.elementor-section.crowned-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/images/Crownedbackround.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.elementor-section.crowned-bg .elementor-container {
    position: relative;
    z-index: 2;
}

.elementor-section.crowned-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

