/* Stiluri globale — extrase din index.html al site-ului static afdb.ro */

/* Variabile pentru culori și fonturi */
        :root {
            --primary-color: #1a3a63;
            --secondary-color: #8b0000;
            --accent-color: #d9b44a;
            --light-color: #f5f5f0;
            --dark-color: #333333;
            --overlay-color: rgba(26, 58, 99, 0.85);
            --font-heading: 'Georgia', 'Times New Roman', serif;
            --font-body: 'Helvetica', 'Arial', sans-serif;
        }

/* Resetare și stiluri de bază */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

body {
            font-family: var(--font-body);
            line-height: 1.6;
            color: var(--dark-color);
            background-color: var(--light-color);
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f5f5f0"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23e6e6d5" stroke-width="1"/></svg>');
        }

a {
            text-decoration: none;
            color: inherit;
        }

ul {
            list-style: none;
        }

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

.btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

.btn:hover {
            background-color: #a52a2a;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

/* Header și navigație */
        header {
            background-color: var(--primary-color);
            color: white;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

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

.logo {
            font-family: var(--font-heading);
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
        }

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

.nav-menu {
            display: flex;
        }

.nav-menu li {
            margin: 0 15px;
            position: relative;
        }

.nav-menu a {
            font-weight: 500;
            padding: 5px 0;
            transition: color 0.3s;
        }

.nav-menu a:hover {
            color: var(--accent-color);
        }

.nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s;
        }

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

.dropdown {
            position: relative;
        }

.dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 99;
        }

.dropdown-content a {
            color: var(--dark-color);
            padding: 12px 16px;
            display: block;
            border-bottom: 1px solid #eee;
        }

.dropdown-content a:hover {
            background-color: #f9f9f9;
            color: var(--primary-color);
        }

.dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

.mobile-menu-btn {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }

/* Hero Section cu background personalizat */
        .hero {
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
            position: relative;
        }

.hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

.hero h1 {
            font-family: var(--font-heading);
            font-size: 48px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

.hero p {
            font-size: 20px;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

/* Sectiuni generale */
        .section {
            padding: 80px 0;
        }

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

.section-title h2 {
            font-family: var(--font-heading);
            font-size: 36px;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

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

/* Despre noi */
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }

.about-text {
            flex: 1;
        }

.about-image {
            flex: 1;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border: 3px solid var(--primary-color);
        }

.about-image img {
            width: 100%;
            height: auto;
            display: block;
        }

/* Activități */
        .activities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

.activity-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-top: 4px solid var(--primary-color);
        }

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

.activity-icon {
            height: 120px;
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 40px;
        }

.activity-content {
            padding: 25px;
        }

.activity-content h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
        }

/* Proiecte */
        .projects-slider {
            display: flex;
            overflow-x: auto;
            gap: 30px;
            padding: 20px 0;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) #f1f1f1;
        }

.projects-slider::-webkit-scrollbar {
            height: 8px;
        }

.projects-slider::-webkit-scrollbar-thumb {
            background-color: var(--primary-color);
            border-radius: 4px;
        }

.project-card {
            flex: 0 0 350px;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

.project-image {
            height: 200px;
            overflow: hidden;
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

.project-info {
            padding: 20px;
        }

.project-info h3 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }

/* Contact */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

.contact-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

.contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

.contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            flex-shrink: 0;
        }

.contact-text h3 {
            color: var(--primary-color);
            margin-bottom: 5px;
        }

.contact-form {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

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

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

.form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: inherit;
            font-size: 16px;
        }

.form-control:focus {
            outline: none;
            border-color: var(--primary-color);
        }

textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

/* Footer */
        footer {
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 60px 0 30px;
        }

.footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

.footer-column h3 {
            font-family: var(--font-heading);
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

.footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--accent-color);
        }

.footer-links li {
            margin-bottom: 10px;
        }

.footer-links a {
            transition: color 0.3s;
        }

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

.social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

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

.social-links a:hover {
            background-color: var(--accent-color);
        }

.copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

/* Responsivitate */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .hero p {
                font-size: 18px;
            }
        }

@media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background-color: var(--primary-color);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 40px;
                transition: left 0.3s ease;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                margin: 15px 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .dropdown-content {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background-color: transparent;
                margin-top: 10px;
                margin-left: 20px;
                display: none;
            }
            
            .dropdown.active .dropdown-content {
                display: block;
            }
            
            .dropdown-content a {
                color: white;
                border-bottom: none;
            }
            
            .section {
                padding: 60px 0;
            }
        }

/* Stiluri specifice pentru paginile interne */
        .page-content {
            min-height: 60vh;
            padding: 40px 0;
        }

.timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

.timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--primary-color);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

.timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

.timeline-item:nth-child(odd) {
            left: 0;
        }

.timeline-item:nth-child(even) {
            left: 50%;
        }

.timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            background-color: white;
            border: 4px solid var(--secondary-color);
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }

.timeline-item:nth-child(odd)::after {
            right: -13px;
        }

.timeline-item:nth-child(even)::after {
            left: -13px;
        }

.timeline-content {
            padding: 20px;
            background-color: white;
            position: relative;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

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

.team-member {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-align: center;
        }

.team-img {
            width: 100%;
            height: 250px;
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 64px;
        }

.team-info {
            padding: 20px;
        }

.documents-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }

.document-item {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 15px;
        }

.document-icon {
            font-size: 24px;
            color: var(--primary-color);
        }

.gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }

.gallery-item {
            height: 200px;
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
        }

.gallery-item:hover {
            transform: scale(1.03);
        }

.history-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

.history-image {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

.history-image div {
            height: 300px;
            background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../img/deportati-baragan-1953.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }
