﻿:root {
    --gold: #d4af37;
    --cream: #f5f5dc;
    --sage: #87ae73;
    --section-light: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
}

/* Hero Section */
.news-hero {
    background: linear-gradient(135deg, var(--bottle-green) 0%, var(--hunter-green) 100%);
    color: var(--cream);
    padding: 150px 0 30px 0;
    text-align: center;
    margin-bottom: 3rem;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.news-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}
/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

/* News Item Card */
.news-item-card {
    background: var(--section-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    position: relative;
}

    .news-item-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(212, 175, 55, 0.2);
        border-color: rgba(212, 175, 55, 0.3);
    }

.news-item-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .news-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.news-item-card:hover .news-item-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--sage) 0%, #28a745 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.news-item-content {
    padding: 1.5rem;
}

.news-item-title {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-description {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
}

.news-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.news-item-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-item-read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

    .news-item-read-more:hover {
        color: var(--cream);
        text-decoration: none;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

    .empty-state i {
        font-size: 4rem;
        color: var(--gold);
        margin-bottom: 1.5rem;
        opacity: 0.7;
    }

    .empty-state h3 {
        color: var(--cream);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .empty-state p {
        font-size: 1.1rem;
        opacity: 0.8;
    }

/* Responsive */
@media (max-width: 768px) {
    .news-hero {
        padding: 60px 0 40px 0;
    }

    .news-title {
        font-size: 2.2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .news-item-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 50px 0 30px 0;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }

    .news-item-content {
        padding: 1rem;
    }

    .news-item-title {
        font-size: 1.1rem;
    }
}
/* DETAILS.CSHTML NEWS STYLES*/
:root {
    --gold: #d4af37;
    --cream: #f5f5dc;
    --sage: #87ae73;
    --section-light: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --white: #ffffff;
    --black: #000000;
}

/* Hero Section */
/* News Hero Section - IDENTIČNO KAO MENU */
.news-hero {
    background: linear-gradient(135deg, var(--bottle-green) 0%, var(--hunter-green) 100%);
    color: var(--cream);
    padding: 150px 0 30px 0;
    text-align: center;
    margin-bottom: 3rem;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.news-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Details Content */
.news-details-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.news-details-article {
    background: var(--section-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Slika */
.news-details-image-container {
    position: relative;
    overflow: hidden;
}

.news-details-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--cream);
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}

/* Header */
.news-details-header {
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.news-details-title {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-details-meta {
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Body */
.news-details-body {
    padding: 2.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

    .news-details-body h1,
    .news-details-body h2,
    .news-details-body h3 {
        color: var(--gold);
        margin: 2rem 0 1rem 0;
    }

    .news-details-body p {
        margin-bottom: 1.5rem;
    }

    .news-details-body ul,
    .news-details-body ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .news-details-body li {
        margin-bottom: 0.5rem;
    }

    .news-details-body blockquote {
        border-left: 4px solid var(--gold);
        padding-left: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: var(--cream);
    }

/* Akcije */
.news-details-actions {
    padding: 0 2.5rem 2.5rem 2.5rem;
}

/* Rezervacije - Normalizovano dugme */
.news-reservation-btn {
    background: linear-gradient(135deg, var(--sage) 0%, #28a745 100%);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 1rem;
    text-align: center;
}

    .news-reservation-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
        color: var(--white);
        text-decoration: none;
    }

.news-reservation-text {
    color: var(--text-muted);
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
    text-align: center;
}

/* Social sekcija */
.news-social-section {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
}

    .news-social-section h4 {
        color: var(--gold);
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }

.news-social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.instagram-btn {
    background: linear-gradient(45deg, #405DE6, #E1306C);
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: white;
    text-decoration: none;
    border-color: var(--gold);
}

/* Back dugme */
.news-back-section {
    text-align: center;
}

.news-back-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .news-back-btn:hover {
        background: var(--gold);
        color: var(--black);
        text-decoration: none;
    }

/* Responsive */
@media (max-width: 768px) {
    .news-hero {
        padding: 60px 0 40px 0;
    }

    .news-title {
        font-size: 2.2rem;
    }

    .news-details-content {
        padding: 2rem 0;
    }

    .news-details-image {
        height: 300px;
    }

    .news-details-header {
        padding: 2rem 1.5rem 1rem 1.5rem;
    }

    .news-details-title {
        font-size: 1.6rem;
    }

    .news-details-body {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .news-details-actions {
        padding: 0 1.5rem 2rem 1.5rem;
    }

    .news-social-section {
        padding: 1.5rem;
    }

    .news-social-buttons {
        flex-direction: column;
    }

    .social-btn {
        justify-content: center;
    }

    .news-reservation-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 50px 0 30px 0;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }

    .news-details-image {
        height: 250px;
    }

    .news-details-header {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .news-details-title {
        font-size: 1.4rem;
    }

    .news-details-body {
        padding: 1.5rem 1rem;
    }

    .news-details-actions {
        padding: 0 1rem 1.5rem 1rem;
    }

    .news-reservation-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}
