/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Hamburger Menu Styles */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--primary-blue);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-close {
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-search-input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

/* Hamburger is visible on all screen sizes */

/* ============================================
   TABLET STYLES (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Header */
    .header {
        padding: 0 40px;
        height: 100px;
    }

    .logo img {
        width: 180px;
        height: 100px;
    }

    .nav-link {
        font-size: 16px;
    }

    /* Hide navigation links on tablet */
    .nav-menu .nav-link {
        display: none;
    }

    /* Slider */
    .slider-content {
        flex-direction: column !important;
        padding: 40px 40px;
        gap: 40px;
        display: flex !important;
    }

    .slider-left {
        align-items: center;
        text-align: center;
        order: 2 !important;
    }

    .slider-right {
        order: 1 !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .slider-title {
        font-size: 42px;
    }

    .slider-subtitle {
        font-size: 20px;
    }

    .slider-image {
        width: 100%;
        max-width: 600px;
        height: 400px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Bottom Boxes */
    .bottom-boxes {
        padding: 0 40px 40px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .box {
        width: calc(50% - 10px);
        min-width: 280px;
    }

    /* News Section */
    .news-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px;
    }

    .news-image-container,
    .news-content-container2 {
        width: 100%;
    }

    .news-image-container {
        min-height: 400px;
    }

    .news-description {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .news-main-content {
        border-bottom: none !important;
    }

    .news-read-more-btn {
        margin: 0 auto !important;
        display: flex !important;
    }

    /* Projects and Announcements */
    .projects-announcements-section {
        flex-direction: column;
        padding: 40px;
        gap: 30px;
    }

    .projects-box,
    .announcements-box {
        width: 100%;
    }

    /* Event Section */
    .event-section {
        padding: 40px !important;
        display: flex !important;
        background: var(--back-grey, #EDF0F4) !important;
    }

    .event-container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .event-box {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .event-info {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        padding: 30px !important;
        padding-left: 30px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .event-right {
        width: 100% !important;
        flex: none !important;
        padding: 30px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .calendar-legend {
        flex-direction: row !important;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
    }

    .selected-date-container {
        flex-direction: row !important;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    .selected-date-box {
        width: auto !important;
        height: auto !important;
        padding: 10px 15px !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .selected-date-text {
        font-size: 14px;
        white-space: nowrap;
    }

    .event-title-text {
        font-size: 15px;
        flex: 1;
    }

    /* Magazine Section */
    .doka-magazine-section {
        display: flex !important;
        padding: 40px !important;
        background: var(--back-grey) !important;
    }

    .magazine-container {
        flex-direction: column !important;
        padding: 30px !important;
        gap: 30px;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .magazine-content {
        width: 100% !important;
        order: 1 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .magazine-image {
        width: 100% !important;
        order: 2 !important;
        max-width: 400px;
        margin: 0 auto;
        box-sizing: border-box !important;
    }

    .magazine-image img {
        display: block;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }

    .footer-left,
    .footer-middle {
        width: 100%;
    }

    .footer-middle {
        flex-wrap: wrap;
    }

    .footer-column {
        width: calc(50% - 15px);
        margin-bottom: 30px;
    }

    /* Logos Section */
    .logos-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px;
        gap: 20px;
    }

    /* Discovery Section */
    .discovery-section {
        height: auto !important;
        padding: 40px;
    }

    .discovery-section .background {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        transform: none !important;
        left: 0 !important;
    }

    .discovery-section .title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .discovery-section .map-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1434 / 529;
        overflow: hidden !important;
        margin: 15px 0;
        box-sizing: border-box;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    /* General */
    body {
        font-size: 14px;
    }

    /* Header */
    .header {
        padding: 0 20px;
        height: 80px;
    }

    .logo img {
        width: 140px;
        height: 75px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu .nav-link {
        display: none;
    }

    .search-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Hero Section */
    .hero-section {
        min-height: auto;
    }

    /* Slider */
    .slider-content {
        padding: 30px 20px;
        gap: 25px;
        flex-direction: column !important;
        display: flex !important;
    }

    .slider-left {
        gap: 20px;
        order: 2 !important;
    }

    .slider-right {
        order: 1 !important;
        width: 100% !important;
    }

    .slider-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .slider-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .slider-button {
        width: 110px;
        height: 38px;
        font-size: 15px;
        margin-bottom: 25px;
    }

    .slider-controls {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .slide-numbers {
        gap: 12px;
    }

    .slide-number {
        font-size: 14px;
    }

    .slide-number.active {
        font-size: 20px;
        height: 28px;
    }

    .slider-image {
        width: 100%;
        max-width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Bottom Boxes */
    .bottom-boxes {
        padding: 0 20px 30px;
        flex-direction: column;
        gap: 12px;
    }

    .box {
        width: 100%;
        height: 75px;
        padding: 15px;
        gap: 15px;
    }

    .box-text {
        font-size: 16px;
    }

    .box-icon svg {
        width: 28px;
        height: 28px;
    }

    /* News Section */
    .news-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .news-image-container {
        min-height: 300px;
        border-radius: 10px;
    }

    .news-content-container2 {
        padding: 20px;
    }

    .news-header2 {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .news-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .news-description {
        font-size: 14px;
        line-height: 1.5;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 20px !important;
    }

    .news-main-content {
        border-bottom: none !important;
    }

    .news-read-more-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin: 0 auto !important;
        display: flex !important;
    }

    /* Projects and Announcements */
    .projects-announcements-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .projects-box {
        min-height: 350px;
    }

    .projects-image {
        height: 200px;
    }

    .projects-title {
        font-size: 22px;
    }

    .projects-all-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Announcements/Tenders */
    .tab-navigation {
        gap: 10px;
    }

    .tab-item {
        font-size: 16px;
        padding: 12px 20px;
    }

    .announcement-list {
        max-height: 350px;
    }

    .announcement-item {
        padding: 15px;
        gap: 15px;
    }

    .announcement-date {
        width: 50px;
        height: 50px;
    }

    .date-number {
        font-size: 20px;
    }

    .date-month {
        font-size: 11px;
    }

    .announcement-title {
        font-size: 14px;
    }

    .all-announcements-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Discovery Section */
    .discovery-section {
        padding: 30px 20px;
        height: auto !important;
    }

    .discovery-section .background {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        transform: none !important;
        left: 0 !important;
    }

    .discovery-section .title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        font-size: 28px;
        margin-bottom: 15px;
        padding: 10px 0;
    }

    .discovery-section .map-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1434 / 529;
        overflow: hidden !important;
        margin: 10px 0;
        box-sizing: border-box;
    }

    .discovery-section .city-label {
        font-size: 14px;
        white-space: nowrap;
    }

    .discovery-image {
        border-radius: 10px;
    }

    /* Event Section */
    .event-section {
        padding: 40px 20px !important;
        display: flex !important;
        overflow: visible !important;
        background: var(--back-grey, #EDF0F4) !important;
    }

    .event-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .event-box {
        flex-direction: column !important;
        border-radius: 15px;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .event-info {
        width: 100% !important;
        height: auto !important;
        min-height: 180px;
        padding: 25px !important;
        padding-left: 25px !important;
        border-radius: 15px 15px 0 0;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .event-label {
        font-size: 18px;
    }

    .event-date {
        font-size: 20px;
    }

    .event-day {
        font-size: 16px;
    }

    .event-title-left {
        font-size: 14px;
        margin-top: 8px;
    }

    .event-right {
        width: 100% !important;
        padding: 25px !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .calendar-header {
        margin-bottom: 20px;
    }

    .month-year-container {
        gap: 8px;
    }

    .month-text {
        font-size: 16px;
    }

    .year-text {
        font-size: 16px;
    }

    .calendar-legend {
        flex-direction: row !important;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
    }

    .legend-text {
        font-size: 12px;
    }

    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        width: 100%;
    }

    .calendar-day {
        height: 38px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .selected-date-container {
        flex-direction: row !important;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    .selected-date-box {
        width: auto !important;
        height: auto !important;
        padding: 8px 12px !important;
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .selected-date-text {
        font-size: 13px;
        white-space: nowrap;
    }

    .event-title-text {
        font-size: 14px;
        flex: 1;
    }

    /* Magazine Section */
    .doka-magazine-section {
        padding: 40px 20px !important;
        display: flex !important;
        background: var(--back-grey) !important;
    }

    .magazine-container {
        flex-direction: column !important;
        gap: 25px;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .magazine-content {
        padding: 0 !important;
        text-align: center;
        order: 1 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .magazine-header {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .magazine-title-doka {
        font-size: 28px;
    }

    .magazine-title-dergi {
        font-size: 28px;
    }

    .magazine-main-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .magazine-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .magazine-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .magazine-all-link {
        justify-content: center;
        margin-top: 20px;
    }

    .magazine-image {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
        order: 2 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .magazine-image img {
        border-radius: 10px;
        width: 100%;
        height: auto;
        display: block;
    }

    /* Logos Section */
    .logos-section {
        padding: 30px 20px;
    }

    .logos-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
    }

    .logo-box {
        padding: 15px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-box img {
        max-width: 120px;
        max-height: 60px;
        width: auto;
        height: auto;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0 0;
        height: auto !important;
    }

    .footer-container {
        padding: 20px;
        gap: 30px;
        height: auto !important;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-address,
    .footer-contact {
        font-size: 13px;
    }

    .footer-phone {
        font-size: 20px;
    }

    .form-title {
        font-size: 16px;
    }

    .form-text {
        font-size: 12px;
    }

    .footer-middle {
        flex-direction: column;
        gap: 25px;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 0;
    }

    .footer-column h5 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .social-media {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .footer-copyright p {
        font-size: 11px;
        text-align: center;
    }

    .footer-bottom img {
        width: 100%;
        height: auto;
    }
}

/* ============================================
   SMALL MOBILE STYLES (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    /* Header */
    .header {
        padding: 0 15px;
        height: 70px;
    }

    .logo img {
        width: 120px;
        height: 65px;
    }

    .search-icon svg {
        width: 20px;
        height: 20px;
    }

    .hamburger-menu svg {
        width: 22px;
        height: 22px;
    }

    /* Slider */
    .slider-content {
        padding: 20px 15px;
        gap: 20px;
        flex-direction: column !important;
        display: flex !important;
    }

    .slider-left {
        order: 2 !important;
    }

    .slider-right {
        order: 1 !important;
        width: 100% !important;
    }

    .slider-title {
        font-size: 26px;
    }

    .slider-subtitle {
        font-size: 16px;
    }

    .slider-button {
        width: 100px;
        height: 36px;
        font-size: 14px;
    }

    .slider-image {
        height: 220px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Bottom Boxes */
    .bottom-boxes {
        padding: 0 15px 25px;
        gap: 10px;
    }

    .box {
        height: 70px;
        padding: 12px;
        gap: 12px;
    }

    .box-text {
        font-size: 14px;
    }

    .box-icon svg {
        width: 24px;
        height: 24px;
    }

    /* News Section */
    .news-section {
        padding: 15px;
    }

    .news-image-container {
        min-height: 250px;
    }

    .news-content-container2 {
        padding: 15px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-description {
        font-size: 13px;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 15px !important;
    }

    .news-main-content {
        border-bottom: none !important;
    }

    .news-read-more-btn {
        margin: 0 auto !important;
        display: flex !important;
    }

    /* Projects and Announcements */
    .projects-announcements-section {
        padding: 15px;
    }

    .projects-image {
        height: 180px;
    }

    .projects-title {
        font-size: 20px;
    }

    .tab-item {
        font-size: 14px;
        padding: 10px 15px;
    }

    .announcement-item {
        padding: 12px;
        gap: 12px;
    }

    .announcement-date {
        width: 45px;
        height: 45px;
    }

    .date-number {
        font-size: 18px;
    }

    .announcement-title {
        font-size: 13px;
    }

    /* Discovery Section */
    .discovery-section {
        padding: 25px 15px;
        height: auto !important;
    }

    .discovery-section .background {
        width: 100% !important;
        height: auto !important;
    }

    .discovery-section .title {
        font-size: 24px;
        padding: 8px 0;
        margin-bottom: 10px;
    }

    .discovery-section .map-container {
        margin: 8px 0;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .discovery-section .city-label {
        font-size: 12px;
    }

    /* Event Section */
    .event-section {
        padding: 30px 15px !important;
        display: flex !important;
        background: var(--back-grey, #EDF0F4) !important;
    }

    .event-container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .event-box {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .event-info {
        min-height: 160px;
        padding: 20px !important;
        padding-left: 20px !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .event-label {
        font-size: 16px;
    }

    .event-date {
        font-size: 18px;
    }

    .event-title-left {
        font-size: 13px;
        margin-top: 6px;
    }

    .event-right {
        padding: 20px !important;
        width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .calendar-legend {
        flex-direction: row !important;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
    }

    .calendar-grid {
        gap: 5px;
        width: 100%;
    }

    .calendar-day {
        height: 35px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .selected-date-container {
        flex-direction: row !important;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    .selected-date-box {
        width: auto !important;
        height: auto !important;
        padding: 6px 10px !important;
        display: flex !important;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .selected-date-text {
        font-size: 12px;
        white-space: nowrap;
    }

    .event-title-text {
        font-size: 13px;
        flex: 1;
    }

    /* Magazine Section */
    .doka-magazine-section {
        padding: 30px 15px !important;
        display: flex !important;
        background: var(--back-grey) !important;
    }

    .magazine-container {
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .magazine-content {
        order: 1 !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .magazine-image {
        order: 2 !important;
        width: 100% !important;
        max-width: 280px;
        box-sizing: border-box !important;
        margin: 0 auto;
    }

    .magazine-image img {
        display: block;
    }

    .magazine-title-doka,
    .magazine-title-dergi {
        font-size: 24px;
    }

    .magazine-main-title {
        font-size: 20px;
    }

    .magazine-description {
        font-size: 13px;
    }

    /* Logos Section */
    .logos-section {
        padding: 25px 15px;
    }

    .logos-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    .logo-box {
        padding: 12px;
        height: auto;
    }

    .logo-box img {
        max-width: 100px;
        max-height: 50px;
    }

    /* Footer */
    .footer-container {
        padding: 15px;
    }

    .footer-logo img {
        width: 130px;
    }

    .footer-phone {
        font-size: 18px;
    }

    .form-title {
        font-size: 15px;
    }
}

/* ============================================
   DETAIL PAGES MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* Genel overflow kontrolü */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* News Detail / Page Detail */
    .news-header-section {
        min-height: 200px;
        padding: 20px;
    }

    .news-header-container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .news-header-title {
        font-size: 24px;
    }

    .news-header-right {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        width: 100%;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        width: 35px;
        height: 35px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }

    /* News Content */
    .news-content-section {
        padding: 30px 20px;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .news-content-container {
        flex-direction: column-reverse !important;
        gap: 30px;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .recent-news-sidebar,
    .recent-announcements-sidebar,
    .recent-tenders-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-article {
        width: 100% !important;
    }

    .news-article-header {
        flex-direction: column;
        gap: 20px;
    }

    .news-article-title {
        font-size: 22px;
    }

    .news-article-image {
        width: 100%;
        max-height: 250px;
    }

    .news-article-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .news-date-badge {
        font-size: 13px;
        padding: 8px 15px;
    }

    /* Gallery */
    .news-gallery {
        gap: 15px;
        padding: 15px 20px;
        margin: 0 -20px;
        max-width: 100vw !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .gallery-item {
        width: 250px !important;
        height: 250px !important;
        flex-shrink: 0 !important;
    }

    /* Files Section */
    .files-section {
        padding: 40px 20px;
    }

    .files-container {
        padding: 0;
    }

    .files-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .file-card {
        padding: 15px;
        gap: 12px;
    }

    .file-icon {
        width: 45px;
        height: 45px;
    }

    .file-name {
        font-size: 14px;
    }

    .file-meta {
        font-size: 11px;
    }

    .file-download {
        width: 35px;
        height: 35px;
    }

    /* Kurumsal Detay */
    .kurumsal-detay-content-section {
        padding: 30px 20px;
    }

    .kurumsal-detay-container {
        padding: 0;
    }

    .kurumsal-detay-text {
        padding: 0;
    }

    .kurumsal-detay-paragraph {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* Projects Page */
    .projects-content-section {
        padding: 30px 20px;
    }

    .projects-container {
        padding: 0;
    }

    .projects-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .project-tab {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        max-width: 100%;
    }

    .project-card-image {
        height: 200px;
    }

    .project-card-title {
        font-size: 16px;
    }

    /* Project Popup */
    .project-popup-content {
        width: 95%;
        max-width: 95%;
        max-height: 90vh;
        padding: 20px;
        border-radius: 10px;
    }

    .project-popup-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }

    .project-popup-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-right: 30px;
    }

    .project-popup-video iframe {
        height: 200px;
    }

    .project-popup-text {
        font-size: 13px;
        line-height: 1.6;
    }

    /* destek-detay.php responsive */
    .destek-detay-section {
        padding: 30px 15px;
    }

    .destek-detay-main {
        padding: 20px;
    }

    .destek-detay-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .destek-detay-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .destek-detay-dates {
        gap: 15px;
        padding: 15px;
    }

    /* Table responsive */
    .destek-detay-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .destek-detay-content table td {
        padding: 10px;
        font-size: 13px;
    }

    .destek-files-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-header-title {
        font-size: 20px;
    }

    .news-article-title {
        font-size: 19px;
    }

    .gallery-item {
        width: 200px;
        height: 200px;
    }

    .project-popup-title {
        font-size: 18px;
    }

    .project-popup-video iframe {
        height: 180px;
    }
}
