:root {
    --primary: #4f46e5;

    --bg: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
    --section-soft: #f3f4f6;
}

body {
	padding: 0;
	margin: 0;
    background: var(--bg);
    color: var(--text-main);
    scroll-behavior: smooth;
	font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ===== DARK MODE VARIABLES ===== */
body.dark {
    --bg: #0f172a;
    --card-bg: #111827;
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;
    --border-soft: #1e293b;
    --section-soft: #0b1220;
}


/* ===== NAVBAR ===== */
header {
    position: fixed;
	align-items: center;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav {
	width: 100%;
    padding: 1px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-weight: bold;
}

.logo {
	align-items: center;
	text-decoration: none;
	width: 20%;
}

.logo a{
	height: 0px;
}

.logo img {
    width: 65%;
}

nav{
	width: 57%;
}


nav ul {
    list-style: none;
    display: flex;
	padding-inline-start: 0px;
	font-size: 1rem;
}

nav ul li{
	width: 33%;
}


nav ul li a {
	text-decoration: none;
    color: var(--dark);
}

nav a:hover {
    color: var(--primary);
}

/* ===== SECTIONS ===== */
section {
    padding: 120px 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}


h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    color: var(--text-muted);
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}


/* ===== HERO ===== */
#home {
   background: linear-gradient(135deg, #eef2ff, #ffffff);
}

.responsive{
	width: 30%;
	height: auto;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 30px;
    background: var(--card-bg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.hero-btn:hover {
    opacity: 0.9;
}

#contact{
	padding-top: 20px;
}

#razmak{
	text-align: center;
}

/* ===== FOOTER ===== */
footer {
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.logo{
		height: 100%;
		width: 33%;
	}
	
    nav ul {
        
		font-size: 0.7rem;
    }

    h1 {
        font-size: 2rem;
    }
	
	
}
/* ===== SCROLL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.theme-switch {
    font-family: 'Segoe UI', system-ui, sans-serif;
    user-select: none;
	width: 15%;
	float: right;
}

.theme-switch input {
    display: none;
}

.theme-switch label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
}

.theme-switch label::after {
    content: "";
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f9d71c; 
    transition: left 0.3s ease, background-color 0.3s ease;
    box-shadow: none;
    z-index: 2;
}


/* Kad je toggle uključen (dark mode) */
.theme-switch input:checked + label::before {
    background-color: #1e3a8a; /* tamnoplava pozadina */
}

.theme-switch input:checked + label::after {
    left: 39px;
    background-color: #3b82f6; /* plavi mjesec */
}

.theme-switch input:checked + label .sun {
    opacity: 0;
}

.theme-switch input:checked + label .moon {
    opacity: 1;
}

/* Tekst pored */
.theme-switch .toggle-text {
    pointer-events: none;
    color: var(--dark);
}

body.dark .theme-switch .toggle-text {
    color: #e5e7eb;
}


/* ===== DARK MODE ===== */
body.dark {
    background: #0f172a;
    color: #e5e7eb;
}

body.dark header {
    background: #020617;
}

body.dark nav a {
    color: #e5e7eb;
}

body.dark nav a:hover {
    color: #818cf8;
}

body.dark #home {
    background: linear-gradient(135deg, #020617, #020617);
}

body.dark p {
    color: #cbd5f5;
}

body.dark input,
body.dark textarea {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1e293b;
}

body.dark footer {
    color: #9ca3af;
}
/* ===== SERVICES SECTION ===== */

#services {
	/*background: url('background.png') no-repeat center center fixed;*/
    background: var(--section-soft);   
}

#about{
	padding-top: 50px;
}

.services-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-card {
    background: var(--card-bg);
    padding: 70px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--border-soft);
}

.service-card:hover {
    transform: translateY(-4px);
}

.card-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card-accent {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin-bottom: 30px;
}

.card-intro {
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.card-intro2 {
    line-height: 1.8;
    color: var(--text-muted);
	display: inline-block;
	text-align: left;
}

.list-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.list-columns ul {
    padding-left: 20px;
    line-height: 1.9;
    color: var(--text-muted);
}

.list-columns2{
	color: #cbd5f5;
	display: inline-block;
	text-align: left;
	display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
	margin: auto;
	max-width: 700px;
	line-height: 1.8;
	list-style-position: inside;
}

.list-columns2 ul li{
	text-align: left;
	padding-left: 0;
}


.benefits-box {
    background: var(--section-soft);
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid var(--border-soft);
}

.benefits-box li {
    list-style: none;
    margin-bottom: 10px;
    color: var(--text-main);
}

.benefits-box li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
}

@media (min-width: 1400px){
	#about{
		padding-top: 80px;
	}
}

@media (max-width: 992px) {
    .list-columns {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 40px;
    }
}


