/* ============================================
   KOPANJEBUNARA.RS - Main Stylesheet
   Modern, clean, responsive landing page
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.text-accent {
    color: #1a73e8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.35);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.logo span {
    color: #1a73e8;
}

/* Navigation */
.nav ul {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #1a73e8;
    background: rgba(26,115,232,0.06);
}

/* Phone CTA */
.phone-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(26,115,232,0.08);
    color: #1a73e8;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.phone-cta:hover {
    background: #1a73e8;
    color: #fff;
}

.phone-cta strong {
    font-weight: 700;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/naslovna.jpg') center center / cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.65) 40%, rgba(15,23,42,0.8) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(26,115,232,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 680px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

.hero-features svg {
    color: #4ade80;
    flex-shrink: 0;
}

.hero-note {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 16px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(26,115,232,0.1);
    color: #1a73e8;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col-reverse .col-image {
    order: 2;
}

.two-col-reverse .col-text {
    order: 1;
}

.col-text h2 {
    margin-bottom: 20px;
}

.col-text p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.col-text .btn {
    margin-top: 12px;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: rgba(255,255,255,0.7);
    padding: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.rounded-image {
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(26,115,232,0.12);
    line-height: 1;
    margin-bottom: 12px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   CHECK LIST
   ============================================ */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 1rem;
}

.check-list svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* ============================================
   LOCATIONS GRID
   ============================================ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.location-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.location-item svg {
    color: #1a73e8;
    margin-bottom: 12px;
}

.location-item h3 {
    margin-bottom: 8px;
}

.location-item p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   STEPS
   ============================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.step p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    font-family: inherit;
    transition: all 0.2s ease;
    gap: 16px;
}

.faq-question:hover {
    color: #1a73e8;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #94a3b8;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    display: inline-block;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(26,115,232,0.4);
}

/* ============================================
   COOKIE NOTICE
   ============================================ */
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: rgba(255,255,255,0.8);
    padding: 16px 24px;
    z-index: 2000;
    transition: all 0.4s ease;
}

#cookie-notice.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.9rem;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    background: #1a73e8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.cookie-btn:hover {
    background: #1557b0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .hero h1 { font-size: 2.75rem; }
    
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .two-col-reverse .col-image { order: 1; }
    .two-col-reverse .col-text { order: 2; }
    
    .image-placeholder { min-height: 300px; }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner { height: 64px; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav.open { right: 0; }
    
    .nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .menu-toggle { display: flex; }
    
    .phone-cta {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .phone-cta svg { width: 14px; height: 14px; }
    
    .hero
    {
        /* min-height: auto; */
        padding: 100px 0 60px;
    }
    
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    
    .cards-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    
    .footer-content { grid-template-columns: 1fr; }
    
    .image-placeholder { min-height: 240px; }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Custom style */

#peb-ecosystem-link
{
	transition: all 0.4s ease;
}

#peb-ecosystem-link:hover
{
	color: #ee4b2b !important;
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero h1 { font-size: 1.7rem; }
    
    .phone-cta span { display: none; }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
