/*
Theme Name: Honeymoon Club
Theme URI: https://heonimoon.com
Author: HEONIMUN
Author URI: https://heonimoon.com
Description: A minimalist landing page theme for Honeymoon Club - features a cute pink aesthetic with logo space and Etsy shop link. Supports custom HTML widgets.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honeymoon-club
*/

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

/* Base */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FDF8F4;
    font-family: 'Quicksand', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Card */
.card {
    background: white;
    border: 1px solid #e8d4d4;
    border-radius: 8px;
    padding: 50px 60px;
    text-align: center;
    position: relative;
    max-width: 380px;
    box-shadow: 0 4px 20px rgba(200, 168, 168, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#f0e0e0 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    border-radius: 8px;
    z-index: 0;
    opacity: 0.5;
}

.content {
    position: relative;
    z-index: 1;
}

/* Logo */
.logo-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8ece8 0%, #f5e5e0 100%);
    border: 3px solid #e8d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(232, 212, 212, 0.5);
    overflow: hidden;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.site-logo {
    max-width: 140px;
    max-height: 140px;
}

.logo-placeholder {
    color: #c9a8a8;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Brand Name */
.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #4A4A4A;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: lowercase;
}

/* Divider */
.divider {
    color: #c9a8a8;
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

/* Button */
.etsy-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #e8d4d4 0%, #d4b8b8 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: lowercase;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(200, 168, 168, 0.3);
}

.etsy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 168, 168, 0.4);
    background: linear-gradient(135deg, #d4b8b8 0%, #c9a8a8 100%);
}

/* Floating Hearts */
.floating-heart {
    position: absolute;
    font-size: 28px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
}

.heart-1 {
    top: -15px;
    right: 30px;
    animation-delay: 0s;
}

.heart-2 {
    bottom: -10px;
    left: 25px;
    animation-delay: 1s;
    font-size: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

/* Sparkles */
.sparkle {
    position: absolute;
    color: #e8d4d4;
    font-size: 14px;
    opacity: 0.7;
    pointer-events: none;
}

.sparkle-1 { top: 15px; left: 20px; }
.sparkle-2 { bottom: 20px; right: 25px; }
.sparkle-3 { top: 50%; right: 15px; font-size: 10px; }

/* Hide WordPress admin bar on frontend (optional) */
.logged-in .card {
    margin-top: 32px;
}

/* Customizer logo display */
.custom-logo-link {
    display: block;
}

.custom-logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================
   WIDGET AREAS
   ============================================ */

/* Custom HTML widget area - positioned above the button */
.widget-area-above {
    margin-bottom: 20px;
}

/* Custom HTML widget area - positioned below the button */
.widget-area-below {
    margin-top: 20px;
}

/* Widget container styling */
.widget {
    margin-bottom: 15px;
}

.widget:last-child {
    margin-bottom: 0;
}

/* Text widget styling */
.widget_text .textwidget,
.widget_custom_html .textwidget {
    font-size: 13px;
    color: #4A4A4A;
    line-height: 1.6;
}

.widget_custom_html .textwidget a {
    color: #B8878C;
    text-decoration: none;
}

.widget_custom_html .textwidget a:hover {
    color: #c9a8a8;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE / MOBILE STYLES
   ============================================ */

/* Tablets and small screens */
@media screen and (max-width: 768px) {
    .card {
        padding: 45px 50px;
        margin: 20px;
        max-width: 350px;
    }
    
    .brand-name {
        font-size: 24px;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .card {
        padding: 40px 35px;
        margin: 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .logo-container {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .site-logo,
    .custom-logo {
        width: 120px;
        height: 120px;
    }
    
    .brand-name {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
    
    .divider {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }
    
    .etsy-button {
        padding: 12px 35px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    .floating-heart {
        font-size: 22px;
    }
    
    .heart-1 {
        top: -12px;
        right: 20px;
    }
    
    .heart-2 {
        bottom: -8px;
        left: 15px;
        font-size: 16px;
    }
    
    .sparkle {
        font-size: 12px;
    }
    
    .sparkle-1 { top: 12px; left: 15px; }
    .sparkle-2 { bottom: 15px; right: 18px; }
    .sparkle-3 { right: 12px; font-size: 8px; }
    
    .logged-in .card {
        margin-top: 54px;
    }
    
    .widget_custom_html .textwidget {
        font-size: 12px;
    }
}

/* Very small phones */
@media screen and (max-width: 360px) {
    .card {
        padding: 35px 25px;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
    }
    
    .site-logo,
    .custom-logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .divider {
        font-size: 10px;
        margin-bottom: 18px;
    }
    
    .etsy-button {
        padding: 11px 28px;
        font-size: 11px;
    }
    
    .sparkle-3 {
        display: none;
    }
    
    .floating-heart {
        font-size: 18px;
    }
    
    .heart-2 {
        font-size: 14px;
    }
}

/* Landscape mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    body {
        padding: 10px;
    }
    
    .card {
        padding: 25px 40px;
        margin: 10px auto;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
    
    .site-logo,
    .custom-logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-name {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .divider {
        margin-bottom: 15px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .etsy-button {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .etsy-button:hover {
        transform: none;
    }
    
    .etsy-button:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(200, 168, 168, 0.3);
    }
}

/* High DPI / Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        border-width: 0.5px;
    }
    
    .logo-container {
        border-width: 1.5px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .floating-heart {
        animation: none;
    }
    
    .etsy-button {
        transition: none;
    }
    
    .etsy-button:hover {
        transform: none;
    }
}