* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.8rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    color: #555;
}
 strong, h4{
    font-size: large;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A0522D, #CD853F);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-secondary:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

.carousel-inner img {
  height: 500px;
  object-fit: cover;
}
.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  max-height: 500px;
}

.carousel {
  position: relative;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
}

.carousel-control-prev {
  left: 24px;
}

.carousel-control-next {
  right: 24px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1);
  background-color: transparent !important;
}
.carousel-caption {
  position: center;
  transform: translate(-15%, -200%);
  text-align: center;
  color: white;
  width: 100%;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 2.5rem; /* prilagodite po želji */
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}



.navbar {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    color: #8B4513;
    margin: 0;
    font-size: 1.8rem;
}

.nav-logo span {
    font-size: 0.9rem;
    color: #A0522D;
    font-style: italic;
}
.nav-menu {
    display: flex;
    text-align: right;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}



.nav-link:hover,
.nav-link.active {
    color: #8B4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}
.aboutus-image {
  max-width: 400px;  /* primer maksimalne širine */
  max-height: 300px; /* primer maksimalne visine */
  overflow: hidden;  /* da ne bi prelazila okvir */
  border-radius: 20px 20px 20px 20px;
}

.aboutus-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}


.placeholder-image {
    background: linear-gradient(135deg, #ddd, #bbb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    min-height: 200px;
    width: 100%;
}

.hero-image .placeholder-image {
    min-height: 300px;
    max-width: 500px;
}

.hero-image img {
    width: 600px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #8B4513;
    margin-top: 0.5rem;
}


.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


.dogs {
    padding: 80px 0;
    background: #f8f9fa;
}

.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.dog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dog-image img {
    width: 100%;
    height: 300px;         /* ili neka druga vrijednost po želji */
    object-fit: cover;     /* slika se reže i popunjava prostor */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: block;
}


.dog-info {
    padding: 1.5rem;
}

.dog-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.breed {
    color: #8B4513;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dog-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}


.puppies-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.puppies-info h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.puppies-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}


.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-btn {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-btn:hover,
.gallery-btn.active {
    background: #8B4513;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 350px;           /* prilagodi po želji */
    object-fit: cover;       /* popuni prostor, zadrži omjer */
    display: block;
    border-radius: 10px;     /* zaobljeni rubovi kao kartica */
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.07);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}
.lined-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.lined-text::before,
.lined-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #8B4513; /* smeđa linija */
  max-width: 50px; /* kontrola duljine crte */
}





.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: #8B4513;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #A0522D;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}


.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    color: white;
    margin: 0;
}

.footer-logo span {
    color: #bdc3c7;
    font-style: italic;
}


@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dogs-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-categories {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .dogs, .about, .gallery, .contact {
        padding: 60px 0;
    }
}


html {
    scroll-behavior: smooth;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.litter-section {
  padding: 60px 20px;
}

.litter-content {
  display: flex;
  flex-wrap: wrap;
  display: flex;
  gap: 60px;
  margin: 15px 0 25px;
  font-size: 24px;
  justify-content: center; 
  align-items: center;    
  text-align: center; 
}

.litter-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.litter-text {
  max-width: 600px;
  flex: 1;
}

.litter-text h3 {
  margin-top: 0;
  color: #333;
  font-size: 22px;
}

/*.parents {
 display: flex;
  gap: 60px;
  margin: 15px 0 25px;
  font-size: 16px;
  justify-content: center; 
  align-items: center;    
  text-align: center; 
}*/

.parents div {
  line-height: 1.6;
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  #lightbox .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 15px #000;
  }
  #lightbox .close, #lightbox .prev, #lightbox .next {
    position: absolute;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
  }
  #lightbox .close {
    top: 20px;
    right: 30px;
  }
  #lightbox .prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
  }
  #lightbox .next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
  }
