/* Pegazus Section Manager - Frontend Styles */

/* Main Container */
.psm-sections-container {
    width: 100%;
}

/* Individual Section */
.psm-section {
    padding: 60px 0;
    width: 100%;
}

.psm-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.psm-section-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    padding: 100px 0;
}

.psm-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.psm-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.psm-hero-subtitle {
    font-size: 1.25rem;
    color: #7f8c8d;
    margin-bottom: 0;
    font-weight: 300;
}

/* Regular Sections */
.psm-section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.psm-section-image {
    flex: 1;
    min-width: 300px;
}

.psm-section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.psm-section-text {
    flex: 1;
    min-width: 300px;
}

.psm-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.psm-section-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.3;
}

.psm-section-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.psm-section-description p {
    margin-bottom: 15px;
}

.psm-section-description p:last-child {
    margin-bottom: 0;
}

/* Alternating Layout */
.psm-section:nth-child(even) .psm-section-content {
    flex-direction: row-reverse;
}

/* Navigation Menu */
.psm-navigation-menu {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.psm-navigation-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.psm-navigation-menu li {
    margin: 0;
}

.psm-navigation-menu a {
    display: block;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.psm-navigation-menu a:hover,
.psm-navigation-menu a:focus {
    background: #f8f9fa;
    border-bottom-color: #3498db;
    color: #3498db;
}

/* Section-specific styles */
.psm-section-about {
    background: #f8f9fa;
}

.psm-section-services {
    background: #fff;
}

.psm-section-gallery {
    background: #f8f9fa;
}

.psm-section-contact {
    background: #2c3e50;
    color: #fff;
}

.psm-section-contact .psm-section-title,
.psm-section-contact .psm-section-subtitle {
    color: #fff;
}

.psm-section-contact .psm-section-description {
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .psm-hero-title {
        font-size: 2rem;
    }
    
    .psm-hero-subtitle {
        font-size: 1rem;
    }
    
    .psm-section-title {
        font-size: 1.75rem;
    }
    
    .psm-section-subtitle {
        font-size: 1.25rem;
    }
    
    .psm-section-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .psm-section:nth-child(even) .psm-section-content {
        flex-direction: column;
    }
    
    .psm-section-image,
    .psm-section-text {
        min-width: auto;
    }
    
    .psm-navigation-menu ul {
        flex-direction: column;
    }
    
    .psm-navigation-menu a {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .psm-section {
        padding: 40px 0;
    }
    
    .psm-section-hero {
        padding: 60px 0;
    }
    
    .psm-section-container {
        padding: 0 15px;
    }
}

/* Google Maps Styles */
.psm-google-map {
    margin: 20px 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.psm-google-map iframe {
    border-radius: 8px;
    display: block;
    width: 100%;
}

.psm-map-error {
    border: 1px solid #e74c3c !important;
    background: #fdf2f2 !important;
    color: #e74c3c !important;
    padding: 15px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 15px 0;
}

.psm-map-error strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Responsive Maps */
@media (max-width: 768px) {
    .psm-google-map {
        margin: 15px 0;
    }
    
    .psm-google-map iframe {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .psm-google-map iframe {
        height: 250px !important;
    }
}