:root {
    --bg-color: #fcf9f2;
    --text-main: #333333;
    --text-muted: #7a7a7a;
    --accent: #6cbb45; /* Green sa loga */
    --accent-orange: #f58220; /* Narandzasti sa loga */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.04);
    
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Yellowtail', cursive;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn.primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(108, 187, 69, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 187, 69, 0.4);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--accent);
    border-radius: 50px;
}

.btn.secondary:hover {
    background-color: var(--accent);
    color: var(--white);
}

.paw-btn {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

/* Topbar */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--accent-orange);
    color: #ffffff;
    padding: 10px 6%;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 101;
}

.topbar-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.phone-link:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    padding: 30px 6%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 100;
    background: transparent;
    border: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.paw-logo {
    width: 28px;
    height: 28px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn-container {
    justify-self: end;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20vh;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
}

.hero-content {
    text-align: center;
    z-index: 2;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.hero .title {
    font-family: var(--font-script);
    font-size: 6rem;
    font-weight: 400;
    color: var(--accent-orange);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.title-paws {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    pointer-events: none;
}

.paw-title {
    position: absolute;
    opacity: 0.5;
}

.paw-title.top-right {
    top: -5px;
    right: -25px;
    transform: rotate(20deg);
    width: 20px; 
    height: 20px;
}

.paw-title.bottom-right {
    bottom: 25px;
    right: -10px;
    transform: rotate(40deg);
    width: 28px; 
    height: 28px;
}

/* The 3D Parallax Depth Elements */
.hero-bg-text {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 18vw;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    line-height: 0.8;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero:hover .hero-bg-text {
    transform: translate(-50%, -51%) scale(1.01);
}

.hero-dog-container {
    position: absolute;
    bottom: -20px; 
    width: 100%;
    max-width: 900px;
    height: 65vh;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-dog {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
    transform-origin: bottom center;
}

.blend-multiply {
    mix-blend-mode: multiply;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    box-shadow: 0 25px 60px rgba(108, 187, 69, 0.2);
    border-color: var(--accent);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 30px;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-img {
    height: 110%; /* Exaggerated for parallax */
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(245, 130, 32, 0.3);
}

.experience-badge .number { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); }
.experience-badge .label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Why Us / Stats */
.bg-white-rounded {
    background: var(--white);
    border-radius: 40px;
    padding: 60px;
    box-shadow: var(--shadow-soft);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 250px;
    background: #eaeaea; /* boja dok se ucitavaju slike */
}

.gallery-item .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform 0.4s ease;
    animation: crossFade 12s ease-in-out infinite;
}

/* Animations for Column 1 */
.gallery-item:not(.offset-1):not(.offset-2) .slide:nth-child(1) { animation-delay: 0s; }
.gallery-item:not(.offset-1):not(.offset-2) .slide:nth-child(2) { animation-delay: 4s; }
.gallery-item:not(.offset-1):not(.offset-2) .slide:nth-child(3) { animation-delay: 8s; }

/* Animations for Column 2 */
.offset-1 .slide:nth-child(1) { animation-delay: 1.5s; }
.offset-1 .slide:nth-child(2) { animation-delay: 5.5s; }
.offset-1 .slide:nth-child(3) { animation-delay: 9.5s; }

/* Animations for Column 3 */
.offset-2 .slide:nth-child(1) { animation-delay: 3s; }
.offset-2 .slide:nth-child(2) { animation-delay: 7s; }
.offset-2 .slide:nth-child(3) { animation-delay: 11s; }

@keyframes crossFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

.gallery-item:hover .slide {
    transform: scale(1.05);
}

/* CTA & Contact */
.cta {
    text-align: center;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-left {
    text-align: left;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.contact-card h3 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-card ul {
    list-style: none;
}

.contact-card ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-card ul li strong {
    color: var(--text-main);
}

.phone-link-card {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}
.phone-link-card:hover {
    color: #d6982b;
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-main);
    outline: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(108, 187, 69, 0.2);
}

.pulse-btn {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(108, 187, 69, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(108, 187, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 187, 69, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 168, 37, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(244, 168, 37, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 168, 37, 0); }
}

.bg-paw {
    position: absolute;
    font-size: 20vw;
    opacity: 0.03;
    z-index: 0;
}

.paw-1 { top: -10%; left: -5%; transform: rotate(-20deg); }
.paw-2 { bottom: -20%; right: -5%; transform: rotate(15deg); }

/* Footer */
footer {
    background: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Scroll Paws Animation */
.scroll-paw {
    position: fixed;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    animation: pawFadeOut 1.5s ease-out forwards;
}

@keyframes pawFadeOut {
    0% { opacity: 0.8; transform: translateY(0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translateY(-30px) scale(1.2) rotate(15deg); }
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-flex { flex-direction: column; }
    .about-image-wrapper { width: 100%; height: 400px; }
    .hero .title { font-size: 3rem; }
    .nav-links { display: none; }
    .topbar-info { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .navbar { top: auto; position: relative; }
    .hero { padding-top: 10vh; }
}
