/* 
 * Aksoy Üniversitesi - Main Stylesheet
 * aksoy.edu.pl
 */

/* Base Styles and Reset */
:root {
    --primary-color: #003366;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --text-color: #444;
    --border-color: #ddd;
    --success-color: #28a745;
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--primary-color);
    color: #fff;
}

.light {
    color: #fff;
}

.section-header.light h2 {
    color: #fff;
}

.section-header.light h2:after {
    background-color: var(--accent-color);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #004b8d;
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #c0392b;
    color: #fff;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 90px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Announcement */
#announcement {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.announcement-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.announcement-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.announcement-box h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.announcement-box p {
    flex: 1;
    margin: 0 20px 0 0;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

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

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

.icon-container i {
    color: var(--primary-color);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.stats li {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats .count {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stats .label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Faculties Section */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.faculty-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faculty-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.faculty-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.faculty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faculty-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Research Section */
.research-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

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

.research-text p {
    margin-bottom: 20px;
}

.research-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.research-highlights {
    margin-top: 30px;
}

.highlight-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Campus Section */
.campus-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover .icon-box {
    background-color: rgba(0, 51, 102, 0.2);
}

.icon-box i {
    color: var(--primary-color);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-weight: 500;
}

.campus-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Admissions Section */
.admission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.admission-info {
    flex: 1;
    min-width: 300px;
}

.admission-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.admission-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.date-item {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.date-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.admission-requirements {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admission-requirements h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.admission-requirements ul {
    list-style: disc;
    padding-left: 20px;
}

.admission-requirements ul li {
    margin-bottom: 10px;
}

.admission-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admission-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 2;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: #fff;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.social-media {
    flex: 1;
    min-width: 200px;
}

.social-media h4 {
    color: #fff;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #002244;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.logo-icon {
    margin-bottom: 15px;
    color: white;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.link-group ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #fff;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .announcement-box {
        flex-direction: column;
        text-align: center;
    }
    
    .announcement-box h3,
    .announcement-box p {
        margin: 0 0 15px 0;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}
