/* Import Google Fonts for elegant typography */
@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Kings&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Centra+no.2:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
}

.header-container {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Logo Styles */
.logo-section .logo {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* Title Styles */
.title-section .company-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fdf2f8;
    text-align: center;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* Login Button Styles */
.login-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Main Container */
.main-container {
    width: 100%;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    min-height: calc(100vh - 200px);
}

/* Left Sidebar Styles */
.left-sidebar {
    flex: 1;
    max-width: 32%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: fit-content;
}

/* Section Headings */
.left-sidebar h3 {
    font-family: 'Playfair Display', serif;
    color: #be185d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 3px solid #fce7f3;
    padding-bottom: 0.5rem;
}

/* Introduction Section */
.intro-section {
    margin-bottom: 2rem;
    text-align: center;
}

.intro-section p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Services Section */
.services-section h3 {
    margin-bottom: 1.5rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.15);
}

.service-item.featured {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(219, 39, 119, 0.05));
    border: 2px solid rgba(236, 72, 153, 0.2);
}

.service-item h4 {
    color: #be185d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: #ec4899;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(236, 72, 153, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    background: #ec4899;
    color: white;
}

.service-link.primary {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
}

.service-link.primary:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

/* Main Content Area */
.main-content {
    flex: 2.2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* News Section */
.news-section h2 {
    font-family: 'Playfair Display', serif;
    color: #be185d;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #fce7f3;
    padding-bottom: 1rem;
}

/* Featured Story */
.featured-story {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(219, 39, 119, 0.02));
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #ec4899;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.1);
}

.featured-story h3 {
    color: #be185d;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.story-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.date {
    color: #6b7280;
    font-weight: 500;
}

.category {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.featured-story p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: #ec4899;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #be185d;
    text-decoration: underline;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 1.2rem;
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899, #db2777, #be185d);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.15);
}

.news-item h4 {
    color: #ec4899;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.news-item h5 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-item p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-date {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
}

/* News Image Styles */
.news-image {
    width: 48%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* News Header Layout */
.news-header {
    display: flex;
    align-items: stretch;
    gap: 0.8rem;
    height: 220px;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-text {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.footer a {
    color: #ec4899;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.close {
    color: #6b7280;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ec4899;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    color: #be185d;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(236, 72, 153, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.login-info {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .left-sidebar,
    .main-content {
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}