/*
 * Custom CSS for Casa Dossica
 * Colors:
 * - Dark Background: #1a1a1a
 * - Gold Accent: #c4a668
 * - Text: #f8f9fa (light gray)
 * Fonts:
 * - Headings: 'Playfair Display', serif
 * - Body: 'Roboto', sans-serif
 */

:root {
    --primary-color: #c4a668; /* Gold */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --secondary-font: 'Playfair Display', serif;
    --primary-font: 'Roboto', sans-serif;
}

body {
    font-family: var(--primary-font);
    background-color: #fff;
    color: #333;
}

/* --- Typography & General Styles --- */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--secondary-font);
}

.section-title {
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title-small {
     font-family: var(--secondary-font);
}

/* --- Navbar --- */
.navbar {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-link {
    color: var(--light-color) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* --- Hero & Page Headers --- */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x1080/1a1a1a/333333?text=') no-repeat center center;
    background-size: cover;
}

.page-header {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x500/1a1a1a/333333?text=') no-repeat center center;
    background-size: cover;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #b39554;
    border-color: #b39554;
    box-shadow: 0 0 15px rgba(196, 166, 104, 0.5);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Forms --- */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(196, 166, 104, 0.25);
}

/* --- Cards --- */
.card {
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.border-gold {
    border: 1px solid var(--primary-color) !important;
}

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

/* --- Gallery --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-info h5 {
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

/* --- Footer --- */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .fab, footer .fas {
    font-size: 1.2rem;
}
