*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #000000; 
    color: #ffffff;
    font-family: "Playfair Display", serif;
}

a{
    color : white;
    text-decoration: none;
}
.container {
    max-width: 1530px;
    margin: auto;
    padding: 0 10px;
}

header img{
    width: 190px;
    height: 50px;
}

header{
    padding: 50px 0;
    animation: slide-down 1s;
}

 .main-navigation{
    display: flex;
    justify-content: space-between;
}

.main-navigation nav{
    display: flex;
    gap: 40px;
    border: 1px solid #1c1c1c;
    padding: 15px 50px;
    border-radius: 50px;
}

.main-navigation nav a{
    transition: color 0.3s;
}

.main-navigation nav a:hover{
    color: #bfb7a8;
}

.secondary-cta-button{
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid #1c1c1c;
  transition: 0.3s ;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.secondary-cta-button:hover{
  border-color: #bfb7a8;
}

.secondary-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}
.secondary-cta-button:hover::before{
    background: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(191, 183, 168, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}   

.cta-button:hover .black-btn-bg{
    animation: puls-shadow 3s infinite;
}

.cta-button{
    display: inline-block;
    background: linear-gradient(90deg,rgba(191, 183, 168, 1) 0%, rgba(0, 0, 0, 0) 80%);
    padding: 2px;
    border-radius: 50px;

}

.cta-button .black-btn-bg{
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #000000;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 0 20px 0 rgba(191, 183, 168, 0.7);
    transition: 0.3s;
}
.cta-button:hover{
    background: linear-gradient(90deg,rgba(191, 183, 168, 1) 0%, rgba(191, 183, 168, 0.5) 100%);
}

.button-arrow-wrapper{
    overflow: hidden;
    width: 18px;
    height: 18px;
}

.button-arrow-wrapper img{
    width: 18px;
    height: 18px;
    transform:translate(0, 0) rotate(-45deg);
}

a:hover .button-arrow-wrapper img{
     animation: arrow-moving 0.3s linear;
}

.hero{
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    z-index: 2;
}

.hero video{
    padding: 5px 5px;
    text-align: center;
}

.hero .video-wrapper{
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    
}
.video-wrapper video{
    width: 1530px;
    max-width: 100%;
    border-radius: 2px;
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: -1;
}
 
.hero .hero-content{
    position: relative;
    z-index: 3 ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.hero .hero-content h1{
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg,rgba(150, 141, 123, 1) 0%, rgba(191, 183, 168, 1) 50%, rgba(150, 141, 123, 1) 100%);
    color: transparent;
    background-clip: text;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hero .hero-content p{
    font-size: 1.5rem;
    color: #bfb7a8;
    font-weight: 300;
    max-width: 880px;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero .video-wrapper .video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}
.contact-section {
    padding: 120px 0;
    text-align: center;
}

.contact-section h1 {
    font-size: 4rem;
    margin-bottom: 60px;
    background: linear-gradient(90deg,rgba(150,141,123,1) 0%, rgba(191,183,168,1) 50%, rgba(150,141,123,1) 100%);
    color: transparent;
    background-clip: text;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 25px;
    background: #111;
    border: 1px solid #1c1c1c;
    border-radius: 12px;
    color: white;
    font-family: "DM Serif Text", serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #bfb7a8;
}

.contact-form button {
    padding: 18px;
    border-radius: 50px;
    border: 1px solid #1c1c1c;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-family: "DM Serif Text", serif;
}

.contact-form button:hover {
    border-color: #bfb7a8;
}
.social-links {
    margin-top: 80px;
    text-align: center;
}

.social-links h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #bfb7a8;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-buttons a {
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #1c1c1c;
    transition: 0.3s;
}

.social-buttons a:hover {
    border-color: #bfb7a8;
}

.social-links {
    margin-top: 120px;
    margin-bottom: 100px;
}
.contact-section {
    padding: 60px 0 120px 0;
}

.social-links {
    margin-top: 10px;
    margin-bottom: 80px;
}

/* ===== SERVICES ===== */

.services-section {
    padding: 120px 0;
    text-align: center;
}

.services-section h1 {
    font-size: 4rem;
    margin-bottom: 80px;
    background: linear-gradient(90deg,rgba(150,141,123,1) 0%, rgba(191,183,168,1) 50%, rgba(150,141,123,1) 100%);
    color: transparent;
    background-clip: text;
}

.services-grid {
    display: flex;
    justify-content: center;
}

.service-card {
    max-width: 500px;
    background: #111;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid #1c1c1c;
    transition: 0.3s;
}

.service-card:hover {
    border-color: #bfb7a8;
    transform: translateY(-5px);
}

.service-card h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.service-card p {
    color: #bfb7a8;
    margin-bottom: 35px;
    line-height: 1.6;
}

.service-card a {
    border-bottom: 1px solid #1c1c1c;
    padding-bottom: 3px;
    transition: 0.3s;
}

.service-card a:hover {
    border-color: #bfb7a8;
    color: #bfb7a8;
}

.custom-note {
    margin-top: 80px;
}

.custom-note p {
    color: #bfb7a8;
    max-width: 650px;
    margin: auto;
    line-height: 1.6;
}
/* ===== PORTFOLIO ===== */

.portfolio-section {
    padding: 120px 0;
    text-align: center;
}

.portfolio-section h1 {
    font-size: 4rem;
    margin-bottom: 80px;
    background: linear-gradient(90deg,rgba(150,141,123,1) 0%, rgba(191,183,168,1) 50%, rgba(150,141,123,1) 100%);
    color: transparent;
    background-clip: text;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    aspect-ratio: 1 / 1; /* SVE ISTE VISINE */
    border-radius: 15px;
    border: 1px solid #1c1c1c;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* malo prostora oko slike */
    transition: 0.3s;
}

.portfolio-item img {
     max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* vidi se cela slika */
    display: block;
    transition: 0.4s;
}

.portfolio-item:hover {
    border-color: #bfb7a8;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}
.portfolio-info {
    padding: 15px;
    background: #111;
    text-align: left;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #bfb7a8;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.category-card {
    padding: 80px 20px;
    background: #111;
    border-radius: 20px;
    border: 1px solid #1c1c1c;
    text-align: center;
    transition: 0.3s;
}

.category-card h2 {
    font-size: 1.5rem;
}

.category-card:hover {
    border-color: #bfb7a8;
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===== PRODUCT PAGE ===== */

.product-section {
    padding: 120px 0;
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #1c1c1c;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.product-info p {
    color: #bfb7a8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-info ul {
    margin-bottom: 40px;
    color: #bfb7a8;
    line-height: 1.8;
}

.product-info ul li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr;
    }
}
.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* OGRANIČI GALERIJU */
.product-gallery {
    width: 100%;
}

/* GLAVNA SLIKA */
.main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid #1c1c1c;
}

/* THUMBNAILS */
.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

.thumb.active {
    opacity: 1;
    border-color: #bfb7a8;
}

/* STRELICE */
.slider {
    position: relative;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.left { left: 10px; }
.right { right: 10px; }
.category-hero {
    padding: 120px 0;
    text-align: center;
}

.category-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.category-hero p {
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: #bfb7a8;
    line-height: 1.6;
}

.category-benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.benefit h3 {
    margin-bottom: 15px;
}

.benefit p {
    color: #bfb7a8;
}

.category-products {
    padding: 100px 0;
    text-align: center;
}

.category-products h2 {
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.category-cta {
    padding: 120px 0;
    text-align: center;
    background: #111;
}

.category-cta h2 {
    margin-bottom: 25px;
}

.category-cta p {
    color: #bfb7a8;
    margin-bottom: 40px;
}
.portfolio-item {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #1c1c1c;
    background: #111;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-item img {
    width: 100%;
    height: 280px; /* uniformna visina */
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.03);
}

.portfolio-info {
    padding: 15px;
    text-align: center;
}

.portfolio-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #fff;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #bfb7a8;
}
.category-hero {
    padding: 160px 0 140px 0;
    text-align: center;
}

.category-hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 35px;
}

.category-hero p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 55px auto;
    color: #bfb7a8;
    line-height: 1.7;
}

.category-hero .cta-button {
    transform: scale(1.05);
}
.category-hero {
    background: linear-gradient(to bottom, #000 0%, #0a0a0a 100%);
}
.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}
.contact-hero {
    padding: 140px 0 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
}

.contact-hero p {
    max-width: 750px;
    margin: 0 auto;
    color: #bfb7a8;
    font-size: 1.3rem;
    line-height: 1.7;
}

.contact-trust {
    margin-top: 40px;
    text-align: center;
    color: #888;
    font-size: 1rem;
}
