/* --- CSS Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Source';
    /* Go up two levels: out of css/, out of assets/, then into fonts/ */
    src: url('../fonts/SourceSans3-ExtraBold.ttf') format('truetype'); 
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SourceL';
    /* Go up two levels: out of css/, out of assets/, then into fonts/ */
    src: url('../fonts/SourceSans3-Light.ttf') format('truetype'); 
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SourceSB';
    /* Go up two levels: out of css/, out of assets/, then into fonts/ */
    src: url('../fonts/SourceSans3-SemiBold.ttf') format('truetype'); 
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #1e1a17;       /* Dark background base color */
    --text-light: #ffffff;
    --text-muted: #a39b96;
    --accent-gold: #c5b49e;   /* Light beam/text gold tint */
    --font-main: "Source", Arial;
}

body {
    background-color: #21201d; /* A dark tone that matches your image edges */
    margin: 0;
    padding: 30px;
    min-height: 100vh;
    display: flex;
    justify-content: center; /* Centers the 1920px box on 2K screens */
    align-items: center;
}

/* The wrapper holds the actual website and the images */
.wrapper {
    width: 100%;
    max-width: 1600px;
    min-height: 100vh; /* Or set a fixed height if you want a perfect box */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    
    /* Move the backgrounds here so they stay contained within the 1920px space */
    background-image: 
        url('../images/lamp.png'), 
        url('../images/bg.png');
    background-position: right 5% top 0%, center center;
    background-size: contain, cover;
    background-repeat: no-repeat, no-repeat;
    
    /* Optional: Soft inner shadow or subtle border to separate it from the 2K void */
    
}

/* --- Header --- */
.site-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 8%;
    width: 100%;
    z-index: 10;
    background: transparent;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6e5f53;
	padding-right:40px;
	font-family: 'SourceSB', Arial;
}

.logo span span {
    color: #787570;
	font-family: SourceL, Arial;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
	font-family: SourceSB, Arial;
}

.main-nav a:hover, 
.main-nav a.active {
    color: var(--text-light);
}

/* --- Hero Section --- */
.hero-section {
    width: 100%;
    flex: 1; /* Takes up the remaining vertical space between header and footer */
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: transparent; /* Ensures it doesn't block the body background */
}

.hero-content {
    max-width: 750px;
    z-index: 5;
}

.hero-title {
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 40px;
	font-family: Source, Arial;
	letter-spacing: -5.5px; 
	background-image: linear-gradient(
	to right,
	#685749 0,
       	#68594d 22%, 
	#726255 45%,
	#726255 50%,
	#68594d 55%,
	#685749 78%,
	#685749 100%
	);
   color:transparent;
   -webkit-background-clip:text;	
}

.hero-title .highlight {
	background-image: linear-gradient(
	to right,
	#737373 0,
       	#8a8683 22%, 
	#8f8c88 45%,
	#918d8a 50%,
	#8f8c88 55%,
	#8a8683 78%,
	#737373 100%
	);
   color:transparent;
   -webkit-background-clip:text;	
}

/* Catalog Banner/Button */
.catalog-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px  0px 0px 25px;
    text-decoration: none;
    max-width: 628px;
	height: 122px;
    transition: all 0.3s ease;
    overflow: hidden;
	background-position: right;
	background-image: 
        url('../images/katalog.png');	
}

.catalog-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
	background-position: top right;
	background-image: 
        url('../images/katalog_h.png');	
}

.card-text {
    display: flex;
    flex-direction: column;
	font-family: Source, Arial;
}

.card-subtitle {
    font-size: 1.2em;
    color: #7b7876;
    margin-bottom: 0px;
	font-family: SourceL, Arial;
	line-height:1.0rem;
}

.card-title {
    font-size: 3.7rem;
    font-weight: 700;
    color: var(--text-light);
	font-family: Source, Arial;
	background-image: linear-gradient(
	to right,
	#685749 0,
       	#68594d 22%, 
	#726255 45%,
	#726255 50%,
	#68594d 55%,
	#685749 78%,
	#685749 100%
	);
   color:transparent;
   -webkit-background-clip:text;
   line-height:4.0rem;
	letter-spacing: -3.5px;
	text-align: left;   
}

.card-image img {
    object-fit: cover;
    border-radius: 6px;
	background-image: url('../images/katalog.png');
}

/* Hero Lamp Image Placement */
.hero-image-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-55%);
    width: 50%;
    display: flex;
    justify-content: flex-end;
    pointer-events: none; /* Allows clicking through empty image space if needed */
}

.hero-lamp {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.site-footer {
    background-color: #2e2a27; 
    padding: 50px 0;
    font-family: 'Source', Arial;
}


.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; 
	position: relative;
}
.footer-logo {
    font-size: 26px;
    color: #5e5956; 
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.footer-logo2 {
    position: absolute;
    right: 40px; 
    top: 50%; 
    transform: translateY(-50%);
}
.footer-logo span {
    color: #5e5956; 
	font-family:'SourceL', Arial;
}


.footer-row {
    font-size: 15px; 
    color: #5e5956; 
    display: flex;
    flex-wrap: wrap;
    gap: 12px; 
    line-height: 1.4;
}


.footer-contact a {
    color: #5e5956;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: #baaf9b; 
}


.accent {
    color: #64584e; 
    font-weight: bold;
}


/* --- Responsive Layout (Mobile/Tablet) --- */
@media (max-width: 900px) {
    .footer-row {
        flex-direction: column; 
        gap: 4px;
    }
	
	.line {
		display: none;
	}	
	
	.logo {
		font-size: 1.7rem;
		font-weight: 700;
		letter-spacing: 0.8px;
		color: #6e5f53;
		padding-right:40px;
		font-family: 'SourceSB', Arial;
	}
	
    .hero-section {
        flex-direction: column-reverse;
        justify-content: start;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-image-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 80%;
        justify-content: center;
        margin-bottom: 30px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 5rem;
    }

    .site-header, .site-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav a {
        margin: 0 15px;
    }
   
	.catalog-card {
    width: 408px;
	height: 122px;
    transition: all 0.3s ease;
    overflow: hidden;
	background-image: 
        url('../images/katalog.png');	
	}   
	
    .footer-contact a {
        margin: 0 10px;
		
    }
	.footer-logo2 {
		position: static; /* Isključujemo apsolutno pozicioniranje na mobilnom */
		transform: none;
		margin-top: 15px; /* Smešta logo uredno ispod kontaktnih podataka na telefonu */
	}		
    .footer-container {
        padding: 0 20px;
        gap: 12px;
		padding: 0 20px;
		align-items: center; /* Centriraj tekst na mobilnom */
		text-align: center;	
		align-items: center;		
    }
    .footer-row {
        flex-direction: column; 
        gap: 4px;
    }
}

@media (max-width: 768px) {

    .spec-label {
        width: 40%;
    }
	
    .product-page-top {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Prikaži mobilni blok na vrhu stranice, a sakrij onaj u desnoj koloni */
    .mobile-product-title-block {
        display: block;
        margin-bottom: 20px;
    }
    .desktop-product-title-block {
        display: none;
    }

    /* Prilagođavanje elemenata na mobilnom da lepše sede */
    .product-info {
        width: 100%;
    }
    .product-price-box {
        padding: 10px 0;
        margin-bottom: 15px;
    }
    .spec-label {
        width: 40%;
    }
}
@media (max-width: 430px) {
 
	body {
		padding: 0px;
	}


    .hero-title {
        font-size: 4rem;
    }
    .main-nav a {
        margin: 0 5px;
    }	
    .catalog-card {
        width: 308px;
        height: 122px;
    }
}
