/* Reset and base styles */
/* 2 fonts used: Lora and Barlow Condensed */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Coffee-with-milk color palette */
:root {
    --nav-active: #2c2c2c;
    --nav-color: #2c2c2c;
    --coffee-100: #f7f2ec;
    /* lightest */
    --coffee-200: #efe6dd;
    /* light */
    --coffee-300: #e8ddd2;
    /* slightly deeper */
    --divider: #d7ccc2;
    /* subtle divider line */
}

html,
body {
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: var(--coffee-100);
    background-image: url('r-landscape.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;    
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}


/* Unified paragraph styles - Desktop */
p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-family: inherit;
    text-align: justify;
}

/* Hero specific styles */
.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    text-align: justify;
}

.hero-title {
    font-family: 'Arya', sans-serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

/* Unified h3 styles */
h3 {
    font-family: 'Lora', serif;
    /* same as body text */
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #6b5b73;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #6b5b73;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #6b5b73;
}

footer {
    background: rgba(250, 249, 247, 0.2);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 1rem;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(107, 91, 115, 0.2);
}

footer p {
    font-size: 0.8rem;
    color: #2c2c2c;   
}

footer .footer-text {
    text-align: center;
}
footer .popup-link {
    text-decoration: underline;
    cursor: pointer;
}

footer .popup {
    display: none;
    background: rgba(250, 249, 247, 0.5);
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(107, 91, 115, 0.2);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #2c2c2c;
    text-align: left;
}

/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(107, 91, 115, 0.2);
}

.nav-logo a {
    display: inline-block;
    color: var(--nav-color);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--nav-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    font-family: inherit;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--nav-active);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--nav-active);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c2c2c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    /* minimal overlay so the background is clearly visible */
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
    color: #2c2c2c;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Signature styling */
.signature {
    text-align: center;
    margin-top: 0.5rem;
}

.signature-img {
    max-width: 100px;
    height: auto;
    background: transparent;
    opacity: 1;
    mix-blend-mode: multiply;
}

/* Content Sections */
.content-section {
    background-color: transparent;
    /* show global background image fully */
    padding: 8rem 2rem;
}

.content-section:nth-child(even) {
    background-color: transparent;
}

/* Divider line between sections */
.section+.section {
    border-top: 1px solid var(--divider);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Wider layout specifically for the contact section */
/* Cloud boxes for psihoterapija section */
.clouds-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cloud-box {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cloud-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cloud-box h3 {
    color: #6b5b73;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.cloud-box p {
    color: #2c2c2c;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

#kontakt .content-container {
    max-width: 1100px;
}

/* Shift contact text to the right (desktop/tablet) */
#kontakt .contact-info {
    margin-left: clamp(3rem, 8vw, 9rem);
}

.content-grid {
    margin-bottom: 3rem;
}


/* Pricing Section */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #6b5b73;
}

.price {
    font-size: 3rem;
    font-weight: 600;
    color: #6b5b73;
    margin-bottom: 0.5rem;
}

.price-description {
    color: #888;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #2c2c2c;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6b5b73;
    font-weight: bold;
}

.payment-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.payment-info p {
    margin-bottom: 1rem;
    color: #2c2c2c;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

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

.portrait-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text p:first-of-type {
    margin-top: 0;
    /* remove extra space after image */
}

.portrait-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* widen text column a bit */
    gap: 3rem;
    align-items: start;
}

.contact-title {
    color: #2c2c2c !important;
    /* match body text color */
    margin-bottom: 2rem;
    font-style: normal;
    /* match body text style */
}

/* Tighter spacing for phone/email lines */
.contact-item .contact-title {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    color: #6b5b73;
    font-weight: 500;
}

.contact-item span {
    color: #2c2c2c;
}

.contact-icon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6b5b73;
}

.submit-btn {
    background: #6b5b73;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #5a4a62;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {

    /* Mobile portrait background */
    html,
    body {
        background-image: url('r-portrait.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    /* Reset contact text shift on mobile */
    #kontakt .contact-info {
        margin-left: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(250, 249, 247, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    /* Mobile paragraph styles */
    p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .portrait-img {
        max-width: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

    .clouds-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cloud-box {
        padding: 1.5rem;
    }

    .section {
        padding: 1rem;
    }

    .content-section {
        padding: 4rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Small mobile paragraph styles */
    p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}


/* Smooth scrolling animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Remove section-specific backgrounds to keep unified palette */
#psihoterapija,
#o-meni {
    background: none;
}





/* POPRAVKI PETER DRAGAR */
/* NAVBAR "RD" logo skrajno levo*/
.nav-rebekadragar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
    background-image: url('rd.png?v=2');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;
    opacity: 0.9;
}
@media (max-width: 1340px) {
    .nav-rebekadragar {
        display: none;
    }
}

/* POPRAVKI PETER DRAGAR */
/* BARVE NASLOVOV NAJ BODO TEMNO SIVE*/
h1,h2,h3 {
    color: #2c2c2c;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}


/* POPRAVKI PETER DRAGAR */
/* VELIKI "RD" ZA OZADJE v DOMOV SEKCIJI, kateri se skriva ko se skrola */
#domov {
    background-image: url('rd7.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* MOBILE #domov */
@media (max-width: 1100px) {
    #domov {
        background-image: url('rd7-2.png');
        background-size: 200%;
    }
}

#psihoterapija {  }

#svetovanje {
    background: #673ab710; /* rahla podlaga za svetovanje */
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.1) 10%, rgba(103, 58, 183, 0.1) 50%, rgba(255, 255, 255, 0.1) 90%);
}

#o-meni {

}

#cenik {
    background-color: rgba(58, 183, 79, 0.1); /* rahla podlaga za cenik */
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.1) 10%, rgba(103, 58, 183, 0.1) 50%, rgba(255, 255, 255, 0.1) 90%);
}

#kontakt {

}