@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('mobile-nav.css');

:root {
    /* Color Palette */
    --primary-color: #1a3a5f;
    --primary-dark: #122a45;
    --secondary-color: #c0392b;
    --secondary-light: #e74c3c;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #2ecc71;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Navbar */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.login-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.login-btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.login-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(26, 58, 95, 0.3);
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(192, 57, 43, 0.4);
}

/* Slider Section */
.slider-container {
    position: relative;
    overflow: hidden;
    height: 600px;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.current {
    opacity: 1;
    z-index: 1;
}

/* Slide Backgrounds */
.slide:nth-child(1) {
    background: url('../images/slider/01.jpg') no-repeat center center/cover;
}

.slide:nth-child(2) {
    background: url('../images/slider/02.jpg') no-repeat center center/cover;
}

.slide:nth-child(3) {
    background: url('../images/slider/03.jpg') no-repeat center center/cover;
}

.slide:nth-child(4) {
    background: url('../images/slider/04.jpg') no-repeat center center/cover;
}

.slide .content {
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
}

.slide.current .content {
    opacity: 1;
    transform: translateY(0);
}

.slide h1,
.slide h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.slide h3 {
    font-size: 2.5rem;
}

.slide p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Buttons */
.buttons button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.buttons button#prev {
    left: 20px;
}

.buttons button#next {
    right: 20px;
}

.buttons button:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Dots */
.dots {
    position: absolute;
    bottom: 60px;
    /* Adjusted due to clip-path */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dots .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slide h1 {
        font-size: 2.2rem;
    }

    .slide h3 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .slider-container {
        height: 500px;
    }
}

/* Cards */
.quick-actions {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 5px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top: 5px solid var(--secondary-color);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: rgba(26, 58, 95, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: var(--transition);
}

.card:hover i {
    background: var(--primary-color);
    color: var(--white);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(26, 58, 95, 0.2);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.2;
}

.about-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    flex: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.center h2::after {
    margin: 10px auto 0;
}

/* Management Section */
.member-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.member-card h4 {
    margin: 10px 0 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.member-card span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Founders */
.founder-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.founder-item {
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px;
    border-radius: 8px;
    background: var(--bg-light);
    text-align: center;
    transition: var(--transition);
}

.founder-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.footer-col h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Dilekceler Page Specific */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 80px 5%;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 40px;
}

.dilekce-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--secondary-color);
}

.dilekce-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.download-btn {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #eee;
}

.download-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Giris Page Specific */
.auth-body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2c3e50 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.auth-card {
    background: var(--white);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 5px;
    border-radius: 50px;
}

.tab {
    flex: 1;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 50px;
    transition: var(--transition);
}

.tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--bg-light);
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: var(--white);
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(26, 58, 95, 0.3);
}

.auth-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
}

.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-home:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {

    /* Mobile menu simplified for now */
    .about-flex {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}