/* ========================================
   MAIN.CSS - ARISE Landing Page
   Warm, organic, light brown theme
   ======================================== */

/* ========================================
   DESIGN TOKENS - OVERRIDES
   ======================================== */

:root {
    --color-text: #4a3520;
    --color-text-muted: #8b7355;
    --color-bg: #f5f0e8;
    --color-bg-secondary: #e8dcc8;

    --color-primary: #c4984a;
    --color-primary-hover: #a67d3d;

    --color-success: oklch(0.66 0.1 90);
    --color-success-hover: oklch(0.56 0.1 90);
    --color-danger: oklch(0.7 0.12 20);
    --color-danger-hover: oklch(0.6 0.12 20);
    --color-warning: oklch(0.72 0.12 70);
    --color-warning-hover: oklch(0.62 0.12 70);
    --color-info: oklch(0.68 0.1 250);
    --color-info-hover: oklch(0.58 0.1 250);

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Dancing Script', cursive;
}

/* ========================================
   OSNOVNO
   ======================================== */

html {
    color: var(--color-text);
    background-color: var(--color-bg);
}

::selection {
    background: var(--color-primary);
    color: #fff;
}

/* ========================================
   POSTAVITEV
   ======================================== */

footer,
section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 var(--space-4);
}

.wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.wrap-full {
    width: 100%;
    padding: 0;
}

section:has(.wrap-full) {
    padding: 0;
}

/* ========================================
   INTERAKTIVNI ELEMENTI
   ======================================== */

a {
    font-weight: 500;
}

a:hover {
    color: var(--color-primary);
}

/* Gumbi */
button,
.btn {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 500;
}

button:has(i.icon),
.btn {
    display: flex;
    align-items: center;
    line-height: 1.5rem;
    gap: var(--space-1);
}

button i.icon,
.btn i.icon {
    font-size: var(--font-4);
}

a.btn:hover {
    color: #fff;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-primary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Outline button - subtle, elegant */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: var(--font-2);
    transition: all var(--transition-base);
    cursor: pointer;
    background: none;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Gold button - soft, inviting */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--font-3);
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-gold:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ========================================
   OBRAZCI
   ======================================== */

input,
textarea,
select {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background-color: var(--color-bg-secondary);
    border: 1px solid #d4c5a0;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

/* ========================================
   MEDIJSKI ELEMENTI
   ======================================== */

img {
    border-radius: var(--radius-sm);
}

/* ========================================
   TABELE
   ======================================== */

table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: var(--space-1) var(--space-2);
    border: 1px solid var(--color-text-muted);
    text-align: left;
}

th {
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: var(--color-bg-secondary);
}

tbody tr {
    transition: background-color var(--transition-fast);
}

tbody tr:hover {
    background-color: var(--color-primary);
}

/* ========================================
   IKONE
   ======================================== */

i.icon {
    font-size: var(--font-5);
}

/* ========================================
   OZADJE
   ======================================== */

.main-back {
    background-color: var(--color-bg);
}

.sec-back {
    background-color: var(--color-bg-secondary);
}

/* ========================================
   PIŠKOTKI
   ======================================== */

#cookie {
    padding: var(--space-4);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-xl);
    background: var(--color-bg);
    font-size: var(--font-2);
    gap: var(--space-4);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   ARISE - HERO
   ======================================== */

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(40, 25, 10, 0.3) 0%,
        rgba(40, 25, 10, 0.5) 50%,
        rgba(40, 25, 10, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    text-align: center;
    color: #fff;
    padding: var(--space-4);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #e8c864;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.hero-by {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: var(--space-2);
    opacity: 0.9;
}

.hero-brand {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.85;
    margin-top: var(--space-1);
}

/* ========================================
   ARISE - SECTION STYLES
   ======================================== */

.font-display {
    font-family: var(--font-display);
}

.font-script {
    font-family: var(--font-script);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

.section-subtitle {
    font-size: var(--font-5);
    color: var(--color-text-muted);
    max-width: 60ch;
}

/* Gold accent line */
.accent-line {
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    border: none;
}

/* ========================================
   ARISE - ABOUT SECTION
   ======================================== */

.about-img {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ========================================
   ARISE - INVESTMENT IMAGES
   ======================================== */

.invest-img {
    width: 280px;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    flex-shrink: 0;
}

.invest-img-sm {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* ========================================
   ARISE - JOIN IMAGE
   ======================================== */

.join-img {
    max-width: 300px;
    max-height: 500px;
    object-fit: contain;
    border-radius: 0;
}

/* ========================================
   ARISE - MAP IMAGE
   ======================================== */

.map-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    opacity: 0.4;
    border-radius: 0;
}

/* ========================================
   ARISE - INCLUDED LIST
   ======================================== */

.included-list {
    list-style: none;
    padding-left: 0;
}

.included-list li {
    position: relative;
    padding-left: 1.8em;
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
    font-size: var(--font-4);
}

.included-list li::before {
    content: "\EB7B";
    font-family: 'RemixIcon';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* ========================================
   ARISE - PRICING BADGE
   ======================================== */

.price-tag {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1;
}

.price-label {
    font-size: var(--font-2);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   ARISE - DARK SECTION (Location)
   ======================================== */

.sec-dark {
    background-color: #4a3520;
    color: #f5f0e8;
}

.sec-dark .text-muted,
.sec-dark .section-subtitle {
    color: #c4b69a;
}

.sec-dark .accent-line {
    background: #c4984a;
}

/* ========================================
   ARISE - CONTACT LINKS
   ======================================== */

.row a:has(i.icon) {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

/* ========================================
   ARISE - HERO LOGOS
   ======================================== */

.hero-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

/* ========================================
   ARISE - PANORAMA IMAGE
   ======================================== */

.panorama-img {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
}

/* ========================================
   ARISE - FOOTER
   ======================================== */

.footer-hero {
    position: relative;
    overflow: hidden;
    min-height: 50svh;
}

.footer-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(40, 25, 10, 0.2) 0%,
        rgba(40, 25, 10, 0.6) 100%
    );
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
}

/* ========================================
   ARISE - SCROLL ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ARISE - FOOTER LOGOS
   ======================================== */

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

/* ========================================
   ODZIVNI RAZREDI
   ======================================== */

@media (min-width: 768px) {
    .hero-logo {
        height: 85px;
    }

    .footer-logo {
        height: 65px;
    }

    .invest-img {
        width: 300px;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    #m-menu:popover-open {
        width: auto;
    }
}

@media (min-width: 1280px) {}

@media (min-width: 1568px) {
    html {
        font-size: 20px;
    }
}
