/* Mediterranean Theme - Warm terracotta colors, curved elements, sun-inspired */

:root {
    /* Primary Colors */
    --primary-color: #C75B39;
    --primary-dark: #A64830;
    --primary-light: #E88968;
    --primary-rgb: 199, 91, 57;

    /* Secondary Colors */
    --secondary-color: #2E86AB;
    --secondary-dark: #246A88;
    --secondary-light: #4BA3C7;

    /* Accent Colors */
    --accent-color: #F4A259;
    --accent-light: #F7C896;

    /* Background Colors */
    --bg-color: #FDF8F3;
    --bg-secondary: #F5EDE5;
    --card-bg: #FFFFFF;

    /* Text Colors */
    --text-color: #3D2C29;
    --text-muted: #7A6560;
    --heading-color: #2D1F1C;

    /* Links */
    --link-color: #C75B39;
    --link-hover-color: #A64830;

    /* Navigation */
    --nav-bg: #FFFFFF;
    --nav-link-color: #3D2C29;

    /* Footer */
    --footer-bg: #2D1F1C;
    --footer-text: #F5EDE5;
    --footer-link: #F4A259;
    --footer-heading: #FFFFFF;

    /* Borders */
    --border-color: #E5D5CA;
    --border-radius: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(61, 44, 41, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 44, 41, 0.12);
    --shadow-lg: 0 8px 32px rgba(61, 44, 41, 0.16);
}

/* Mediterranean-specific styles */

/* Curved decorative elements */
.theme-mediterranean .hero {
    background: linear-gradient(135deg, #C75B39 0%, #E88968 50%, #F4A259 100%);
    position: relative;
}

.theme-mediterranean .hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.theme-mediterranean .hero::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

/* Section titles with decorative underline */
.theme-mediterranean .section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Cards with warm styling */
.theme-mediterranean .card {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.theme-mediterranean .card:hover {
    box-shadow: var(--shadow-md);
}

.theme-mediterranean .card-img {
    border-radius: 16px 16px 0 0;
}

/* Buttons with rounded corners */
.theme-mediterranean .btn {
    border-radius: 25px;
    font-weight: 600;
}

.theme-mediterranean .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 4px 12px rgba(199, 91, 57, 0.3);
}

.theme-mediterranean .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 6px 16px rgba(199, 91, 57, 0.4);
}

/* Navigation with warm accents */
.theme-mediterranean .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.theme-mediterranean .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.theme-mediterranean .nav-link:hover::after,
.theme-mediterranean .nav-link.active::after {
    width: 100%;
}

/* Footer with Mediterranean feel */
.theme-mediterranean .footer {
    background: linear-gradient(180deg, #3D2C29 0%, #2D1F1C 100%);
    position: relative;
}

.theme-mediterranean .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

/* Form elements */
.theme-mediterranean .form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.theme-mediterranean .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(199, 91, 57, 0.1);
}

/* Gallery with rounded corners */
.theme-mediterranean .gallery-item {
    border-radius: 16px;
}

/* Pagination */
.theme-mediterranean .page-link {
    border-radius: 20px;
}

/* Sun decoration for special sections */
.theme-mediterranean .hero-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 162, 89, 0.6) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Warm hover effects */
.theme-mediterranean a:not(.btn):hover {
    color: var(--accent-color);
}

/* Quote styling */
.theme-mediterranean blockquote {
    border-left: 4px solid var(--accent-color);
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

/* Lists with custom markers */
.theme-mediterranean .rich-content ul li::marker {
    color: var(--primary-color);
}

/* Stats cards */
.theme-mediterranean .stat-card {
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

/* Alert styling */
.theme-mediterranean .alert {
    border-radius: 12px;
    border-left: 4px solid;
}

.theme-mediterranean .alert-success {
    border-left-color: #28a745;
}

.theme-mediterranean .alert-error {
    border-left-color: #dc3545;
}
