/*
Theme Name: Cyber Law Department
Theme URI: http://example.com/cyber-law-theme/
Author: Your Name
Description: A modern, clean theme designed specifically for the Cyber Law Department
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyber-law
*/

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation */
.main-navigation {
    background: var(--white);
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-navigation li {
    margin: 0 1rem;
}

.main-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Content Styles */
.content-area {
    margin-top: 80px;
    padding: 2rem;
}

/* Subject Cards */
.subject-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

/* Professor Profile */
.professor-profile {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.professor-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/* Syllabus Section */
.syllabus-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.syllabus-topic {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* News/Blog Posts */
.news-post {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.news-post-content {
    padding: 1.5rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professor-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .professor-image {
        margin: 0 auto;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 0.5rem 0;
    }
}
