:root {
    --primary-color: #FF69B4;
    --secondary-color: #E68FAC;
    --accent-color: #FFC0CB;
    --background-color: #FFF0F5;
    --text-color: #4A4A4A;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-color) 0%, #fff 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(255, 105, 180, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(255, 192, 203, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.1);
    border-bottom: 3px solid var(--accent-color);
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('proizvodi1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 8rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* About Section */
.about-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-section h2 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-section h2::after {
    content: '❀';
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.about-content {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: var(--accent-color);
}

.full-story {
    margin-top: 2rem;
}

.full-story h1 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.full-story h1::after {
    content: '❀';
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.gallery-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1000px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    aspect-ratio: 3/4;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-grid-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .gallery-item:last-child {
        grid-column: span 2;
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-item {
        max-width: 90%;
        margin: 0 auto;
    }
    .gallery-item:last-child {
        grid-column: auto;
        max-width: 90%;
    }
}

/* Photo Gallery */
.photo-gallery {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.photo-gallery h2 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.photo-gallery h2::after {
    content: '❀';
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    aspect-ratio: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
    background-color: var(--white);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--background-color), var(--white));
}

.featured-products h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.featured-products h2::after {
    content: '❀';
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.featured-products .product-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.featured-products .product-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
}

.featured-products .product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-products .product-info {
    padding: 1.5rem;
    text-align: justify;
    background: linear-gradient(to bottom, var(--white) 0%, var(--background-color) 100%);
}

.featured-products .product-info h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.featured-products .product-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    text-align: justify;
}

@media (max-width: 1200px) {
    .featured-products .product-grid {
        justify-content: center;
    }
    
    .featured-products .product-card {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .featured-products .product-card {
        flex: 0 1 100%;
        max-width: 500px;
    }
    
    .featured-products .product-card img {
        height: 350px;
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
    padding: 0 1rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.2);
}

.product-info {
    background: linear-gradient(to bottom, var(--white), var(--background-color));
    padding: 1.2rem;
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.product-card p {
    color: var(--text-color);
    text-align: center;
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
    padding: 0 0.5rem;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-card h3 {
        font-size: 1rem;
    }
    
    .product-card p {
        font-size: 0.85rem;
    }
}

/* Gallery Page Specific Styles */
.gallery-page {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--white) 100%);
}

.gallery-page h1 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Dancing Script', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product-category {
    margin-bottom: 4rem;
    padding: 0 2rem;
    max-width: 1600px;
    margin: 0 auto 4rem;
}

.product-category h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.product-category h2::after {
    content: '❀';
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.gallery-page .product-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
}

.gallery-page .product-card {
    flex: 0 1 350px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.15);
    transition: all 0.4s ease;
}

.gallery-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.25);
}

.gallery-page .product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-bottom: 3px solid var(--accent-color);
}

.gallery-page .product-card:hover img {
    transform: scale(1.05);
}

.gallery-page .product-info {
    padding: 1.5rem;
    background: linear-gradient(to bottom, var(--white) 0%, var(--background-color) 100%);
    text-align: center;
}

.gallery-page .product-info h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.gallery-page .product-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    padding: 0 1rem;
    margin: 0;
    font-weight: 300;
}

@media (max-width: 1200px) {
    .gallery-page .product-grid {
        flex-wrap: wrap;
    }
    
    .product-category {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 3rem 1rem;
    }
    
    .gallery-page .product-grid {
        gap: 1.5rem;
    }
    
    .gallery-page .product-card {
        flex: 0 1 100%;
        max-width: 400px;
    }
    
    .gallery-page .product-card img {
        height: 250px;
    }
    
    .product-category h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .product-category {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    position: relative;
}

.contact-info {
    max-width: 500px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.store-description {
    margin-top: 1.2rem;
    line-height: 1.6;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.8rem;
    transition: color 0.3s;
}

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

.map-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 2rem auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info i {
        margin-right: 0.5rem;
    }

    .map-container {
        margin: 0 1rem 2rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
}

/* Add decorative elements */
.section-divider {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0;
}

.section-divider::before,
.section-divider::after {
    content: '✿';
    margin: 0 1rem;
}

/* Form styling */
input, textarea {
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
    outline: none;
}

button, .btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

button:hover, .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
}
