/* templates/template-elegan-grey.css */
:root {
    --primary-color: #6B7280;
    --primary-light: #9CA3AF;
    --primary-dark: #4B5563;
    --accent-color: #D4AF37;
    --bg-color: #F3F4F6;
    --text-color: #1F2937;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --border-radius: 16px;
    --font-family: 'Georgia', 'Times New Roman', serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.hero-content .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content .main-title {
    font-size: 3.5rem;
    font-family: var(--font-family);
    color: var(--text-color);
    margin: 15px 0;
    line-height: 1.2;
}

.hero-content .divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto;
}

.hero-content .event-date {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* Section Styles */
.section-title {
    font-family: var(--font-family);
    color: var(--text-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* Story Cards */
.story-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.story-card .story-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.story-card h4 {
    color: var(--text-color);
    font-weight: 600;
}

.story-card .story-date {
    color: var(--primary-light);
    font-size: 0.9rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

/* Venue Card */
.venue-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.venue-card .venue-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.venue-card h4 {
    color: var(--text-color);
    font-weight: 600;
}

.venue-card .venue-address {
    color: var(--primary-light);
    margin: 15px 0;
}

/* RSVP Card */
.rsvp-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.rsvp-card .form-control {
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.rsvp-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.rsvp-card .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rsvp-card .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Messages */
.message-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.message-item .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-item .message-header strong {
    color: var(--text-color);
}

.message-item .message-text {
    color: var(--primary-dark);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .hero-content .main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}