/* Responsive Styles for Padott Website */


/* Global Enhancements */

body {
    font-family: 'Nunito', sans-serif;
    color: #555;
    line-height: 1.6;
    background-color: #f0f2f5;
    /* Soft blue-gray background that's easier on the eyes */
}


/* Content containers with white background need to be toned down too */

.container,
.container-fluid {
    background-color: #f0f2f5;
}


/* Card and box backgrounds */

.card,
.feature-item,
.support-item,
.activity-item,
.price-item,
.team-card {
    background-color: #f9fafb !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}


/* Special styling for content boxes */

.mission-statement,
.about-intro,
.support-intro,
.pricing-intro,
.bank-info {
    background-color: rgba(255, 111, 97, 0.05) !important;
    border-left: 4px solid #FF6F61 !important;
    border-radius: 10px !important;
}


/* Add subtle texture to the background */

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}


/* For white backgrounds that need to remain light but not pure white */

.bg-white,
.bg-light {
    background-color: #f9fafb !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-primary {
    color: #FF6F61 !important;
}

.btn-primary {
    background-color: #FF6F61;
    border-color: #FF6F61;
}

.btn-primary:hover {
    background-color: #e5625a;
    border-color: #e5625a;
}

.bg-dark {
    background-color: #343a40 !important;
}


/* Content containers with light background */

.content-container {
    background-color: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}


/* Enhanced Animations */

.team-card,
.btn,
.back-to-top {
    transition: all 0.3s ease-in-out !important;
}

.back-to-top {
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Image Enhancements */

.img-fluid {
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 111, 97, 0.2);
}

.img-fluid:hover {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 111, 97, 0.2);
    border: 1px solid rgba(255, 111, 97, 0.3);
}


/* Carousel image size reduction and caption styling */

.carousel-item img {
    height: 46.8vh;
    /* Increased by 30% from 36vh */
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-caption h1,
.carousel-caption h3,
.carousel-caption h5 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}


/* Header Enhancements */

.topbar-container {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f2f5 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid rgba(255, 111, 97, 0.2);
}

.topbar-info-item {
    transition: all 0.3s ease;
}

.topbar-info-item:hover {
    transform: translateY(-3px);
}

.topbar-info-icon {
    color: #FF6F61;
    font-size: 1.2rem;
    margin-right: 8px;
}

.topbar-info-title {
    font-weight: 700;
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.topbar-info-content {
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}


/* Navbar Enhancements */

.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #FF6F61;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: #FF6F61;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0 0.2rem;
}


/* General Responsive Adjustments */

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}


/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {
    h1.display-4 {
        font-size: 2.5rem;
    }
    h1.display-3 {
        font-size: 3.5rem;
    }
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
}


/* Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {
    /* Topbar adjustments */
    .d-inline-flex.flex-column {
        padding: 0 10px !important;
    }
    /* Carousel text adjustments */
    .carousel-caption h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem !important;
    }
    h1.display-3 {
        font-size: 3rem;
        margin-bottom: 0.5rem !important;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
    /* About section adjustments */
    .col-lg-7 h1.display-4 {
        font-size: 2.2rem;
    }
    .col-lg-7 h5.text-muted {
        font-size: 1rem;
    }
    /* Features section adjustments */
    .col-6 h5 {
        font-size: 0.9rem;
    }
    /* Footer adjustments */
    .container-fluid.bg-dark h1.display-5 {
        font-size: 1.8rem;
    }
}


/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {
    /* Topbar adjustments */
    .d-inline-flex.flex-column {
        padding: 0 5px !important;
    }
    .d-inline-flex.flex-column h6 {
        font-size: 0.8rem;
    }
    .d-inline-flex.flex-column p {
        font-size: 0.75rem;
    }
    /* Carousel text adjustments */
    .carousel-caption {
        padding-bottom: 20px;
    }
    .carousel-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem !important;
    }
    h1.display-3 {
        font-size: 2.5rem;
    }
    /* About section adjustments */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .col-lg-7 h1.display-4 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    /* Features section adjustments */
    .col-6 {
        margin-bottom: 15px;
    }
    /* Team section adjustments */
    .team-card {
        margin-bottom: 20px;
    }
    /* Footer adjustments */
    .container-fluid.bg-dark .row.pt-5 {
        padding-top: 2rem !important;
    }
}


/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    /* Topbar adjustments */
    .row.py-3 {
        padding: 10px 0 !important;
    }
    .d-inline-flex.align-items-center {
        flex-wrap: wrap;
        justify-content: center;
    }
    .d-inline-flex.flex-column {
        margin-bottom: 10px;
        border-right: none !important;
        width: 100%;
        text-align: center;
    }
    /* Carousel text adjustments */
    .carousel-caption {
        padding: 10px;
    }
    .carousel-caption h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem !important;
    }
    h1.display-3 {
        font-size: 2rem;
    }
    .carousel-caption h5 {
        font-size: 0.8rem;
    }
    .p-3 {
        padding: 0.5rem !important;
    }
    /* About section adjustments */
    .col-lg-7 h1.display-4 {
        font-size: 1.8rem;
    }
    .col-lg-7 h5.text-muted {
        font-size: 0.9rem;
    }
    /* Features section adjustments */
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-6 h5 {
        font-size: 1rem;
    }
    /* Footer adjustments */
    .container-fluid.bg-dark h1.display-5 {
        font-size: 1.5rem;
    }
    .container-fluid.bg-dark p.m-0 {
        font-size: 0.9rem;
    }
    .col-md-4.mb-5 h5 {
        font-size: 1.1rem;
    }
    .col-md-4.mb-5 p {
        font-size: 0.9rem;
    }
}


/* Custom adjustments for specific elements */

@media (max-width: 767.98px) {
    /* Make images responsive */
    .img-fluid {
        margin-bottom: 15px;
    }
    /* Adjust spacing for better mobile view */
    .pb-5 {
        padding-bottom: 2rem !important;
    }
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    /* Improve button visibility */
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
    /* Adjust navbar padding */
    .navbar {
        padding: 10px 15px;
    }
}


/* Fix for navbar on mobile */

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 10px 0;
    }
    .nav-item {
        padding: 5px 0;
    }
}


/* Fix for "Destek Ol" button in navbar */

@media (min-width: 992px) {
    .navbar .btn-lg {
        margin-left: 15px;
    }
}


/* Improve carousel controls visibility */

@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    .btn.btn-primary.rounded {
        width: 35px !important;
        height: 35px !important;
    }
}


/* Fix for team cards on mobile */

@media (max-width: 575.98px) {
    .team-card {
        max-width: 80%;
        margin: 0 auto 20px;
    }
}


/* Ensure proper spacing in footer on mobile */

@media (max-width: 767.98px) {
    .container-fluid.bg-dark .col-lg-4,
    .container-fluid.bg-dark .col-md-4 {
        margin-bottom: 1.5rem;
    }
}