/*
 * ALKESTE CAPITAL PARTNERS - Joomla Template Styles
 * (C) 2002 ALKESTE CAPITAL PARTNERS LIMITED
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #0a1929 0%, #1a3a52 100%);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-nav ul,
.site-nav .nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.site-nav ul li a,
.site-nav .nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.site-nav ul li a:hover,
.site-nav .nav a:hover { color: #64b5f6; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(10, 25, 41, 0.85), rgba(10, 25, 41, 0.85)),
                url('../images/hero-bg.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
    margin-top: 80px;
}

.hero-content { max-width: 900px; }

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

/* Main Content */
.site-main {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0a1929;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #0a1929;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, #0a1929 0%, #1a3a52 100%);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #64b5f6;
}

.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* Contact */
.contact-section {
    background: white;
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0a1929;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details { margin-top: 2rem; }
.contact-details p { margin-bottom: 0.8rem; }
.contact-details a { color: #1976d2; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* Error page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    margin-top: 80px;
}

.error-code {
    font-size: 6rem;
    color: #1976d2;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    color: #0a1929;
    margin-bottom: 1rem;
}

.error-message {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: #0a1929;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.site-footer p { opacity: 0.8; }

/* Joomla Module Styles */
.moduletable { margin-bottom: 2rem; }
.moduletable h3 {
    font-size: 1.8rem;
    color: #0a1929;
    margin-bottom: 1rem;
}

/* Joomla system messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .logo { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .site-nav ul,
    .site-nav .nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .site-nav ul.mobile-active,
    .site-nav .nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a1929;
        padding: 1rem 2rem;
    }
    .error-code { font-size: 4rem; }
}