/* Layout Floral - Time Love */

/* Variáveis específicas do layout */
:root {
    --floral-primary: #EC4899;
    --floral-secondary: #F472B6;
    --floral-accent: #10B981;
    --floral-text: #374151;
    --floral-light: #FDF2F8;
    --floral-white: #FFFFFF;
    --floral-pink: #FCE7F3;
    --floral-green: #D1FAE5;
    --floral-shadow: rgba(236, 72, 153, 0.1);
    --floral-gradient: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #10B981 100%);
}

/* Layout Base */
.floral-layout {
    font-family: 'Dancing Script', cursive;
    background: var(--floral-light);
    color: var(--floral-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header Floral */
.floral-header {
    background: var(--floral-gradient);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.floral-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flowers" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="8" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="15" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="35" cy="35" r="4" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23flowers)"/></svg>');
    opacity: 0.3;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.couple-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.couple-names h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.floral-divider {
    font-size: 2.5rem;
    color: var(--floral-accent);
    animation: flowerRotate 4s infinite linear;
    filter: drop-shadow(0 0 10px var(--floral-accent));
}

@keyframes flowerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.relationship-date {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 500;
}

.relationship-date span {
    font-weight: 600;
    color: var(--floral-accent);
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.5);
}

/* Main Content */
.floral-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="petals" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="6" fill="rgba(236, 72, 153, 0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23petals)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--floral-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--floral-text);
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.floral-frame {
    position: relative;
    display: inline-block;
}

.floral-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: var(--floral-gradient);
    border-radius: 25px;
    z-index: -1;
    animation: frameGlow 3s ease-in-out infinite alternate;
}

@keyframes frameGlow {
    0% { box-shadow: 0 0 20px var(--floral-primary); }
    100% { box-shadow: 0 0 40px var(--floral-secondary); }
}

.floral-frame img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    border: 5px solid white;
    transition: transform 0.3s ease;
}

.floral-frame img:hover {
    transform: scale(1.05);
}

/* Time Counter */
.time-counter {
    padding: 4rem 0;
    text-align: center;
    background: var(--floral-white);
    border-radius: 25px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px var(--floral-shadow);
    border: 2px solid var(--floral-pink);
    position: relative;
    overflow: hidden;
}

.time-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--floral-gradient);
}

.counter-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--floral-primary);
    margin-bottom: 2rem;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--floral-pink);
    border-radius: 20px;
    border: 2px solid var(--floral-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--floral-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.counter-item:hover::before {
    opacity: 0.1;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--floral-shadow);
}

.counter-number {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--floral-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1rem;
    color: var(--floral-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Photo Gallery */
.photo-gallery {
    padding: 4rem 0;
}

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

.gallery-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--floral-primary);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--floral-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid var(--floral-pink);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px var(--floral-shadow);
}

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

.gallery-item:hover img {
    filter: brightness(1.1) saturate(1.2);
}

/* Love Message */
.love-message {
    padding: 4rem 0;
    background: var(--floral-gradient);
    color: white;
    border-radius: 25px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.love-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 30c-5-5-10-10-15-15 5-5 10-10 15-15 5 5 10 10 15 15-5 5-10 10-15 15z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.3;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.message-icon {
    font-size: 4rem;
    color: var(--floral-accent);
    margin-bottom: 1rem;
    animation: heartBeat 2s infinite;
    filter: drop-shadow(0 0 20px var(--floral-accent));
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.message-content blockquote {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1.5rem 0;
    line-height: 1.6;
    font-style: italic;
}

.message-author {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--floral-accent);
    font-weight: 600;
}

/* Footer */
.floral-footer {
    background: var(--floral-primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.floral-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--floral-gradient);
}

.footer-heart {
    font-size: 2.5rem;
    color: var(--floral-accent);
    margin-bottom: 1rem;
    animation: flowerRotate 4s infinite linear;
    filter: drop-shadow(0 0 15px var(--floral-accent));
}

.footer-content p {
    margin: 0;
    opacity: 0.8;
    font-weight: 500;
}

/* Music Player - usando estilos do music-player.css */
.floral-layout .music-player {
    background: rgba(236, 72, 153, 0.95);
    border: 2px solid var(--floral-accent);
    box-shadow: 0 15px 40px var(--floral-shadow);
}

/* Responsividade */
@media (max-width: 768px) {
    .couple-names {
        flex-direction: column;
        gap: 1rem;
    }
    
    .couple-names h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content,
    .counter-content,
    .message-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .floral-header {
        padding: 2rem 0;
    }
    
    .couple-names h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-item {
        padding: 1rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .message-content blockquote {
        font-size: 1.5rem;
    }
    
    .header-content,
    .floral-main {
        padding: 0 1rem;
    }
}
