/* Global Styles for Agathos Properti */

:root {
    /* Color Variables */
    --primary-color: #164b92; /* Main brand blue */
    --secondary-color: #0f3a75; /* Darker blue */
    --primary-accent: #4a90e2; /* Accent blue */
    --text-color-light: #333333;
    --text-color-dark: #e0e0e0;
    --bg-light: #ffffff;
    --bg-dark: #121f3a; /* Dark Desaturated Blue */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    
    /* Shadow Variables */
    --shadow-color: rgba(0, 0, 0, 0.15);
    --shadow-hover-color: rgba(74, 144, 226, 0.3);
    
    /* Dark Mode Variables */
    --dark-text: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.85);
    --dark-primary-accent: #4a90e2;
    --dark-card-bg: #1e2a47;
    --dark-border: #2a3a57;
}

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

html, body {
    height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px; /* Space for fixed header */
}

html[data-theme="dark"] body {
    color: var(--text-color-dark);
    background-color: var(--bg-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-accent);
}

html[data-theme="dark"] a {
    color: var(--dark-primary-accent);
}

html[data-theme="dark"] a:hover {
    color: var(--dark-text);
}

/* Common Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Main Content Area */
main {
    flex: 1;
    padding: 30px 0;
}

/* Page Section Common Styles */
.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 15px;
}

/* Card Styles */
.card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

/* Helper Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 30px 0;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 60px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}
