/* 
   İHH Adana Arama Kurtarma - Main Stylesheet 
   Color Scheme: Red and White
*/

:root {
    --primary: #e62020;
    --primary-dark: #c61616;
    --primary-light: #ff5050;
    --secondary: #263238;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --transition-speed: 0.3s;
}

/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

main {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    color: var(--secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.btn-danger:hover, .btn-danger:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

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

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.volunteer-btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.volunteer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Slider */
#main-slider {
    height: calc(100vh - 80px);
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#main-slider .carousel {
    height: 100%;
    margin: 0;
    padding: 0;
}

#main-slider .carousel-inner {
    height: 100%;
    margin: 0;
    padding: 0;
}

#main-slider .carousel-item {
    height: 100%;
    margin: 0;
    padding: 0;
}

#main-slider .carousel-item img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    filter: brightness(0.7) blur(3px);
}

#main-slider .carousel-caption {
    bottom: 20%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

#main-slider .carousel-caption h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#main-slider .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 100vh; /* isteğe göre değiştir */
    object-fit: cover;
}

.carousel-inner {
    background-color: #000; /* beyaz flaşı engeller */
}
#carouselExampleCaptions .carousel-inner {
    overflow: hidden;             /* Beyaz boşlukları engeller */
    background: #000;             /* Beyaz patlamayı bastırır */
}

#carouselExampleCaptions .carousel-item {
    position: absolute;           /* Aynı sahnede iki slayt */
    top: 0;
    left: 0;
    width: 100%;
    transition: transform .8s ease-in-out;
}

#carouselExampleCaptions .carousel-item.active {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100vh;                /* istediğin gibi ayarlayabilirsin */
    object-fit: cover;
}

/* Responsive slider adjustments */
@media (max-width: 768px) {
    /* Mobilde navbar'ı overlay yap */
    .navbar {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
    }
    
    /* Mobilde slider tam ekran */
    #main-slider {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        margin-top: 0;
        position: relative;
    }
    
    #main-slider .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    #main-slider .carousel-caption p {
        font-size: 1rem;
    }
    
    #main-slider .carousel-caption {
        bottom: 15%;
        padding: 1rem;
    }
    
    /* Mobilde carousel item'ların da tam yükseklikte olmasını sağla */
    #main-slider .carousel-item {
        height: 100vh !important;
    }
    
    #main-slider .carousel-item img {
        height: 100vh !important;
    }
}

/* About Section */
.about-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-title {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Events Section */
.event-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
}

/* Volunteer Section */
.volunteer-benefits {
    list-style: none;
    padding-left: 0;
}

.volunteer-benefits li {
    margin-bottom: 10px;
}

.volunteer-benefits i {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary);
}

footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links a:hover i {
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #main-slider .carousel-caption h2 {
        font-size: 2.2rem;
    }
    
    #main-slider .carousel-caption p {
        font-size: 1rem;
    }
    
    .volunteer-btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    #main-slider .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Login Pages */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.login-container h2 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

/* Admin Panel */
.admin-sidebar {
    background-color: var(--secondary);
    color: var(--white);
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
}

.admin-content {
    padding: 20px;
}

.admin-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 20px;
}

.admin-card .card-header {
    background-color: var(--light);
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
}

/* Event Details Page */
.event-detail-image {
    height: 400px;
    object-fit: cover;
}

.event-sidebar {
    background-color: var(--light);
    padding: 20px;
    border-radius: 5px;
}

.event-meta {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.event-meta i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

/* IHH Adana Arama Kurtarma Ekibi - Custom CSS */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform var(--transition-speed);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

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

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

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    min-height: 500px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
}
.hero-section .text-center {
    margin-bottom: 80px; /* ne kadar yukarı istiyorsan artırıp azaltabilirsin */
}

/* Cards */
.card {
    border: none;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.card-img-top {
    transition: opacity var(--transition-speed);
}

.card:hover .card-img-top {
    opacity: 0.9;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

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

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Events Page */
.event-item {
    transition: transform var(--transition-speed);
}

.event-item:hover {
    transform: translateY(-5px);
}

/* Team Page */
.team-member {
    transition: transform var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-5px);
}

/* Gallery */
.gallery-item .card {
    overflow: hidden;
}

.gallery-item img {
    transition: transform var(--transition-speed);
}

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

/* Form Elements */
.form-control:focus {
    border-color: rgba(220, 53, 69, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Testimonial */
.testimonial {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(220, 53, 69, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer a {
    transition: color var(--transition-speed);
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    transition: transform var(--transition-speed);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .nav-link::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 300px;
    }
    .hero-section .text-center {
        margin-top: 150px; /* ne kadar yukarı istiyorsan artırıp azaltabilirsin */
    }
    
} 