/* 
Color Palette:
#B5C18E - Sage Green (Soft/Natural)
#F7DCB9 - Peach Cream (Warm/Elegant)
#DEAC80 - Sand/Gold (Premium)
#B99470 - Taupe Brown (Earthy/Stable)
*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #3a3a3a;
    background-color: #fdfbf7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background-color: #B99470;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Veci logo */
nav .logo-img {
    height: 95px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    color: #fdfbf7;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #DEAC80;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 80%;
}

nav ul li a:hover {
    color: #DEAC80;
}

/* Hero Section - sada koristi placeholder sliku zida sa ramovima kao pozadinu */
.hero {
    position: relative;
    color: #fdfbf7;
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(135deg, #B5C18E 0%, #DEAC80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 2rem;
}

/* Kada se placeholder zameni pravom slikom (<img> tag umesto div-a) */
img.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 1;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(185, 148, 112, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.98;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-style: italic;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.35);
}

.hero .notice {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    max-width: 750px;
    margin: 2rem auto;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero .notice p {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    font-style: normal;
    text-shadow: none;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

section.light {
    background-color: #fdfbf7;
}

section.dark {
    background-color: #F7DCB9;
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: #B99470;
    font-weight: 400;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: #6d6d6d;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    line-height: 1.8;
}

/* Team Section - O Nama (sa fotografijom na vrhu kartice) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #F7DCB9;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(185, 148, 112, 0.25);
}

.team-photo {
    width: 100%;
    height: 240px;
}

.team-member-content {
    padding: 2.5rem;
}

.team-member .years {
    color: #DEAC80;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.team-member h3 {
    color: #B99470;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.team-member p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* History Section */
.history-content {
    background: white;
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    line-height: 2;
    font-size: 1.15rem;
    border-left: 5px solid #DEAC80;
}

.history-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Spaces Grid - Prostori */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.space-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(185, 148, 112, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.space-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(185, 148, 112, 0.3);
}

.space-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    cursor: zoom-in;
    transition: filter 0.3s ease;
}

.space-card img:hover {
    filter: brightness(0.92);
}

/* Lightbox - prikaz slike preko cele stranice */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 15, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeInLightbox 0.25s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    animation: zoomInLightbox 0.25s ease;
}

@keyframes zoomInLightbox {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: -0.5rem;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #DEAC80;
    border-color: #DEAC80;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -3rem;
        right: 0;
    }
}

.space-card .space-info {
    padding: 2.5rem;
}

.space-card h3 {
    margin-bottom: 1rem;
    color: #B99470;
    font-size: 1.7rem;
    font-weight: 400;
}

.space-card p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Materials List */
.materials-list {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    margin-top: 2rem;
}

.materials-list h3 {
    color: #B99470;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.materials-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.materials-list li {
    padding: 1.5rem;
    background: #F7DCB9;
    border-radius: 10px;
    font-size: 1.05rem;
    color: #555;
    font-weight: 500;
    line-height: 1.6;
}

.materials-list li strong {
    display: block;
    color: #B99470;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.materials-note {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: #B99470;
    font-size: 1.05rem;
    padding: 1.5rem;
    border-top: 2px dashed #DEAC80;
}

/* Exhibitions */
.exhibitions-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.exhibition-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    border-left: 6px solid #B5C18E;
    transition: all 0.3s ease;
}

.exhibition-card:hover {
    transform: translateX(15px);
    box-shadow: 0 10px 30px rgba(185, 148, 112, 0.25);
}

.exhibition-card h3 {
    color: #B99470;
    margin-bottom: 1rem;
    font-size: 1.9rem;
    font-weight: 400;
}

.exhibition-card .date {
    color: #DEAC80;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.exhibition-card p {
    color: #555;
    line-height: 2;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.exhibition-card .location {
    margin-top: 1.5rem;
    font-weight: 600;
    color: #B5C18E;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #F7DCB9;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: #DEAC80;
}

.contact-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: #B99470;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 400;
}

.contact-card p {
    color: #555;
    line-height: 2;
    font-size: 1.1rem;
}

.contact-card a {
    color: #DEAC80;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    color: #B5C18E;
    text-decoration: underline;
}

/* Shop Exterior Photo - Slideshow */
.shop-photo-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(185, 148, 112, 0.2);
}

.shop-photo-container img,
.shop-photo-container .placeholder-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.shop-slideshow {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(185, 148, 112, 0.2);
}

.shop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.shop-slide.active {
    opacity: 1;
    z-index: 1;
}

.shop-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: white;
    padding: 2rem 1.5rem 1.2rem;
    font-size: 1.1rem;
    text-align: center;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(185, 148, 112, 0.75);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slide-arrow:hover {
    background: rgba(222, 172, 128, 0.95);
}

.slide-arrow.prev {
    left: 1.5rem;
}

.slide-arrow.next {
    right: 1.5rem;
}

.slide-dots {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid white;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.slide-dot.active {
    background: white;
}

@media (max-width: 480px) {
    .shop-slideshow {
        height: 280px;
    }

    .slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: #B99470;
    font-weight: 600;
    font-size: 1.15rem;
    border: 2px solid #F7DCB9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 148, 112, 0.15);
}

.social-link:hover {
    background: #DEAC80;
    color: white;
    border-color: #DEAC80;
    transform: translateY(-4px);
}

.social-link .social-icon {
    font-size: 1.6rem;
}

/* Important Notice Box */
.important-notice {
    background: linear-gradient(135deg, #DEAC80 0%, #B99470 100%);
    padding: 3rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(185, 148, 112, 0.3);
}

.important-notice h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.important-notice p {
    font-size: 1.4rem;
    line-height: 1.8;
}

/* Map Container */
.map-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    margin-top: 3rem;
}

.map-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #B99470;
    font-size: 2rem;
    font-weight: 400;
}

/* Working Hours Box */
.hours-box {
    background: white;
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(185, 148, 112, 0.15);
    margin-top: 3rem;
    border: 2px solid #F7DCB9;
}

.hours-box h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #B99470;
    font-size: 2rem;
    font-weight: 400;
}

.hours-box p {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    color: #555;
}

.holiday-note {
    margin-top: 2rem;
    text-align: center;
    color: #B99470;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem;
    background: #F7DCB9;
    border-radius: 10px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #B5C18E 0%, #DEAC80 100%);
    padding: 4.5rem;
    border-radius: 15px;
    color: #fdfbf7;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(185, 148, 112, 0.3);
}

.cta-box h3 {
    color: #fdfbf7;
    margin-bottom: 1.5rem;
    font-size: 2.3rem;
    font-weight: 400;
}

.cta-box p {
    margin-bottom: 3rem;
    font-size: 1.3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.btn-primary {
    background: #fdfbf7;
    color: #B99470;
}

.btn-primary:hover {
    background: #F7DCB9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fdfbf7;
    border: 2px solid #fdfbf7;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #B99470;
    color: #fdfbf7;
    text-align: center;
    padding: 3rem 0;
    margin-top: 6rem;
}

footer p {
    font-size: 1.1rem;
}

/* Placeholder Image */
.placeholder-image {
    background: linear-gradient(135deg, #B5C18E 0%, #DEAC80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    padding: 2rem;
}

/* Quote/Slogan Styles */
.quote-box {
    background: linear-gradient(135deg, rgba(181, 193, 142, 0.1) 0%, rgba(222, 172, 128, 0.1) 100%);
    padding: 3rem;
    border-radius: 15px;
    border-left: 5px solid #DEAC80;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.4rem;
    color: #555;
    text-align: center;
    line-height: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav .logo-img {
        height: 75px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav ul li a {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .spaces-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .history-content {
        padding: 2.5rem;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .important-notice h3 {
        font-size: 1.8rem;
    }

    .important-notice p {
        font-size: 1.1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .team-member-content,
    .space-card .space-info,
    .exhibition-card,
    .contact-card {
        padding: 2rem;
    }
}