/* aria-label placeholder */
/* =========================================================================
   BASE STYLES & THEME VARIABLES
   ========================================================================= */

:root {
    /* DEFAULT THEME: PREMIUM (Elegante) */
    --bg-color: #0d0e15;
    --text-color: #f7f7f8;
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #1a1b26;
    --accent-color: #b58900;
    --card-bg: rgba(26, 27, 38, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --gradient-hero: linear-gradient(135deg, #0d0e15 0%, #1a1b26 100%);
    --gradient-text: linear-gradient(to right, #d4af37, #f3e5ab);
}

[data-theme="standard"] {
    --bg-color: #f8f9fa;
    --text-color: #343a40;
    --primary-color: #4a90e2; /* Blue */
    --secondary-color: #ffffff;
    --accent-color: #357abd;
    --card-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --gradient-hero: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    --gradient-text: linear-gradient(to right, #4a90e2, #2c3e50);
}

[data-theme="vibrant"] {
    --bg-color: #291244;
    --text-color: #ffffff;
    --primary-color: #ff3366; /* teal/Pink */
    --secondary-color: #4a154b;
    --accent-color: #ff9933; /* Orange */
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 51, 102, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow: 0 8px 32px rgba(255, 51, 102, 0.2);
    --gradient-hero: linear-gradient(135deg, #291244 0%, #ff3366 100%);
    --gradient-text: linear-gradient(to right, #ff9933, #ff3366);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* =========================================================================
   UTILITIES & COMPONENTS
   ========================================================================= */

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

[data-theme="premium"] .btn-primary { color: #0d0e15; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    opacity: 0.9;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}
[data-theme="premium"] .btn-outline:hover { color: #0d0e15; }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.highlight-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glassmorphism {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.theme-btn, .dashboard-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.theme-btn:hover, .dashboard-link:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* =========================================================================
   NAVBAR
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    opacity: 0.8;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

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

/* =========================================================================
   HERO SECTION
   ========================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
    mix-blend-mode: overlay;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--glass-border);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Portrait Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.portrait-container {
    position: relative;
    width: 400px;
    height: 500px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 2px solid var(--glass-border);
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-1 {
    top: 50px;
    left: -40px;
}

.card-2 {
    bottom: 50px;
    right: -40px;
    animation-delay: 2s;
}

/* =========================================================================
   MESSAGES SECTION
   ========================================================================= */

.messages-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.message-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.message-text {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.message-author {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */

.about {
    padding: 100px 0;
    background: var(--secondary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rounded-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-content h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list i {
    color: var(--primary-color);
}

/* =========================================================================
   SERVICES / SPECIALTIES
   ========================================================================= */

.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    opacity: 0.8;
}

/* =========================================================================
   CTA SECTION & FOOTER
   ========================================================================= */

.cta {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
}

.cta-container {
    max-width: 800px;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

[data-theme="standard"] footer {
    background: #2c3e50;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, color 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}
[data-theme="premium"] .footer-social a:hover { color: #0d0e15; }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* =========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================= */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}
.fade-in.active {
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .portrait-container {
        margin: 0 auto;
    }
    
    .nav-links {
        display: none; /* Mobile menu needed for real prod app */
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portrait-container {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4/5;
    }
    
    .floating-card {
        display: none;
    }
    
    .theme-switcher {
        top: auto;
        bottom: 20px;
        right: 20px;
        flex-direction: row;
        transform: none;
    }
}

/* =========================================================================
   VISITOR CARDS SECTION
   ========================================================================= */

.visitor-cards-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.visitor-form-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    border-radius: 20px;
}

.visitor-form-container h3 {
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-visitor input, .form-group-visitor textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}
[data-theme="standard"] .form-group-visitor input, [data-theme="standard"] .form-group-visitor textarea {
    background: #fff;
    border-color: #ddd;
}

.form-group-visitor textarea {
    margin-bottom: 20px;
}

.form-group-visitor input:focus, .form-group-visitor textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.visitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.visitor-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visitor-card-content {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.visitor-card-author {
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
    font-size: 0.95rem;
}

.visitor-city {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.alert {
    padding: 15px 20px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 500;
    text-align: center;
}

.alert.hidden {
    display: none;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
