/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #c9a961;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #1e3a8a;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -50px;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 400px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #0c1e47 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Eğitimler Section
   =================================== */
.egitimler {
    background: var(--bg-light);
}

.egitim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.egitim-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-align: left;
    overflow: visible;
    cursor: pointer;
    position: relative;
    z-index: 1;
    height: auto;
    min-height: auto;
    align-self: start;
}

.egitim-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.egitim-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, var(--secondary-color), #b8944d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
}

.egitim-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.egitim-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.egitim-card:hover .egitim-content {
    max-height: 600px;
    opacity: 1;
    margin-top: 1rem;
}

.egitim-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.egitim-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    text-align: left;
}

.egitim-features {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 2;
    margin-top: 1rem;
    font-weight: 500;
    white-space: pre-line;
}

/* ===================================
   Hakkımızda Section
   =================================== */
.hakkimizda {
    background: var(--bg-white);
}

.hakkimizda-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hakkimizda-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hakkimizda-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hakkimizda-text .highlight {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.hakkimizda-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===================================
   Aile Şirketi Danışmanlığı Section
   =================================== */
.ailesirketi {
    background: var(--bg-white);
    padding: 5rem 0;
}

.ailesirketi-content {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.ailesirketi-block {
    margin-bottom: 3rem;
}

.ailesirketi-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ailesirketi-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.ailesirketi-block p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
}

.ailesirketi-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.timeline-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.timeline-month {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    display: block;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===================================
   Eğitmenler Section
   =================================== */
.egitmenler {
    background: var(--bg-light);
}

.egitmen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.egitmen-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.egitmen-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.egitmen-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.egitmen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.egitmen-card:hover .egitmen-image img {
    transform: scale(1.1);
}

.egitmen-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 1rem 0.5rem;
    color: var(--primary-color);
}

.egitmen-title {
    color: var(--text-light);
    padding: 0 1rem 1.5rem;
    font-size: 0.95rem;
}

/* ===================================
   SSS Section
   =================================== */
.sss {
    background: var(--bg-white);
}

.accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-white);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: var(--bg-white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header i {
    transition: var(--transition);
    color: var(--primary-color);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--text-white);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 120px;
    width: auto;
    max-width: 500px;
    filter: brightness(0) invert(1);
    background-color: transparent;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hakkimizda-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0.5rem 10px;
    }
    
    .logo {
        margin-left: 10px;
    }
    
    .logo img {
        height: 80px;
        max-width: 250px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .egitim-grid,
    .egitmen-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hakkimizda-buttons {
        flex-direction: column;
    }
    
    .ailesirketi-timeline {
        grid-template-columns: 1fr;
    }
    
    .ailesirketi-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .nav-container {
        padding: 0.5rem 5px;
    }
    
    .logo {
        margin-left: 5px;
    }
    
    .logo img {
        height: 65px;
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===================================
   Team Modal Styles
   =================================== */
.team-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.team-modal.active {
    display: block;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.4s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
}

.modal-title-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.modal-body {
    padding: 2rem;
    max-height: 500px;
    overflow-y: auto;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.egitmen-card {
    cursor: pointer;
    transition: var(--transition);
}

.egitmen-card:hover {
    transform: translateY(-15px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-image {
        width: 120px;
        height: 120px;
    }
    
    .modal-title-section h2 {
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 400px;
    }
}

