/* ================================
   ARCHTELIER INTERIORS - Main CSS
   Stiluri comune pentru toate paginile
   ================================ */

/* CSS Variables */
:root {
    --bg-color: #121212;
    --text-color: rgba(255, 255, 255, 0.92);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --gold-primary: #D4AF37;
    --gold-secondary: #E4C56B;
    --gold-tertiary: #B8941F;
    --glow-color: rgba(212, 175, 55, 0.6);
    --button-bg: rgba(20, 20, 20, 0.8);
    --button-hover-bg: rgba(40, 40, 40, 0.9);
    --card-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(212, 175, 55, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-headings: 'Playfair Display', serif;
    --shadow-glow: 0 0 30px var(--glow-color);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--gold-primary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gold-secondary);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold-secondary);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--gold-secondary);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.header-nav.scrolled {
    background: rgba(12, 12, 12, 0.98);
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

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

.logo {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-primary);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.logo:hover {
    text-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Language Switcher */
.language-switcher {
    background: var(--button-bg);
    border-radius: 25px;
    padding: 8px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 18px;
    font-weight: bold;
    font-size: 0.9rem;
}

.lang-btn.active {
    background-color: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.lang-btn:hover:not(.active) {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--gold-secondary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

/* Page Layout */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
}

.page-header .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cards & Components */
.card {
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold-primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--gold-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    margin: 40px 0;
    padding: 80px 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .container, .nav-container {
        padding: 0 15px;
    }
    
    .grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(12, 12, 12, 0.98);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .page-header {
        padding: 40px 0;
        margin-bottom: 60px;
    }

    .section {
        padding: 60px 0;
    }

    .section-alt {
        padding: 60px 20px;
    }

    .grid {
        gap: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container, .nav-container {
        padding: 0 10px;
    }

    .page-header {
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .section {
        padding: 40px 0;
    }

    .section-alt {
        padding: 40px 15px;
        margin: 20px 0;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section h3 {
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* --- COMPONENTE CHEIE DIN INDEX.HTML --- */
.spiral-header {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}
.fibonacci-container {
    width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.fibonacci-svg {
    width: 100%;
    height: 100%;
    display: block;
}
.spiral-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--glow-color));
    animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-3px) scale(1.05); opacity: 0.9; }
}
.fibonacci-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0.7;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fibonacci-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}
.fibonacci-center-text .number {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.fibonacci-center-text .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.main-logo {
    font-family: var(--font-headings);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 0 30px var(--glow-color);
}
.tagline {
    font-family: var(--font-headings);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-color);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 40px;
    max-width: 500px;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}
.ai-quick-access {
    margin-top: 30px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.ai-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.ai-input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
}
.ai-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}
.ai-generate-btn {
    padding: 10px 16px;
    background: var(--gold-primary);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.ai-generate-btn:hover {
    background: var(--gold-secondary);
    transform: translateY(-1px);
}
.ai-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ai-action-link {
    padding: 8px 14px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}
.ai-action-link:hover {
    border-color: var(--gold-primary);
    color: var(--gold-secondary);
}
.auth-section {
    display: flex;
    gap: 10px;
    align-items: center;
}
.auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(40, 40, 40, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: pointer;
}
.auth-btn:hover {
    background: rgba(40, 40, 40, 0.9);
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px var(--glow-color);
    color: var(--gold-secondary);
}
.auth-btn.premium {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    border-color: var(--gold-primary);
}
.auth-btn.premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--glow-color);
}
.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    margin: 0 5px;
}
.social-icon:hover {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--glow-color);
}
.nav-button {
    padding: 12px 24px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 5px;
}
.nav-button:hover {
    background: rgba(40, 40, 40, 0.9);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-color);
    color: var(--gold-secondary);
}
.nav-button.active {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
}