/* --- Custom Nails Page - Premium Bespoke Artistry --- */

:root {
    --color-noir: #000000;
    --color-gold: #d4af37;
    --color-gold-light: #f9f295;
    --color-gold-dark: #8c6a42;
    --color-silk: #f8f5f2;
    --color-blush: #fcf6f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-nails-wrapper {
    background-color: #ffffff;
    color: #111111;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Floating Decorations --- */
.floating-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decor-item {
    position: absolute;
    color: var(--color-gold);
    opacity: 0.1;
    font-size: 60px;
    animation: floatAnim 12s infinite ease-in-out;
}

.decor-1 { top: 10%; left: 4%; animation-delay: 0s; font-size: 70px; }
.decor-2 { top: 35%; right: 4%; animation-delay: 2s; font-size: 80px; }
.decor-3 { top: 65%; left: 6%; animation-delay: 4s; font-size: 75px; }
.decor-4 { top: 85%; right: 8%; animation-delay: 6s; font-size: 90px; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

/* --- Hero Section --- */
.custom-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.custom-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.custom-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.custom-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.custom-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.custom-hero h1 {
    font-size: clamp(36px, 7vw, 72px);
    font-family: var(--font-heading);
    line-height: 1.15;
    margin-bottom: 15px;
    color: #ffffff;
}

.custom-hero h1 span {
    color: var(--color-gold);
}

.custom-hero p {
    font-size: clamp(15px, 1.8vw, 19px);
    color: rgba(255,255,255,0.85);
    font-weight: 300;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* --- Main Layout Grid --- */
.custom-main {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.custom-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- Form Panel --- */
.form-panel {
    background: #ffffff;
    border: 1px solid #f2ebe6;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.04);
    max-width: 680px;
    margin: 0 auto;
}

.form-panel h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 25px;
    color: #111111;
}

.premium-form .form-group {
    margin-bottom: 22px;
}

.premium-form label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.premium-form input, .premium-form textarea {
    width: 100%;
    background: #faf7f5;
    border: 1px solid #e8ded7;
    padding: 16px 20px;
    border-radius: 10px;
    color: #111111;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.premium-form input:focus, .premium-form textarea:focus {
    border-color: var(--color-gold);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.08);
}

/* --- File Upload Area --- */
.upload-zone {
    border: 2px dashed #d1c1b5;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #faf7f5;
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.03);
}

.upload-zone i {
    font-size: 32px;
    color: var(--color-gold-dark);
    margin-bottom: 12px;
}

.upload-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 4px;
}

.upload-sub {
    font-size: 11px;
    color: #888888;
}

.preview-container {
    margin-top: 15px;
    display: none;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    max-width: 150px;
    aspect-ratio: 1;
    border: 1px solid #dddddd;
    margin-left: auto;
    margin-right: auto;
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.85);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.remove-preview:hover {
    background: rgb(239, 68, 68);
    transform: scale(1.1);
}

/* --- Submit Button --- */
.btn-premium-submit {
    width: 100% !important;
    padding: 18px 24px !important;
    background-color: #d4af37 !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.15) !important;
    margin-top: 10px !important;
    display: block !important;
}

.btn-premium-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.3) !important;
    filter: brightness(1.05) !important;
}

/* --- Premium Feedback Alerts --- */
.alert-premium {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #27ae60;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
}

.invalid-feedback {
    display: block;
    color: #e74c3c;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}


@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .custom-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .custom-hero {
        height: 45vh;
    }
}

@media (max-width: 768px) {
    .custom-hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .custom-hero h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .custom-hero p {
        font-size: 14px;
    }

    .custom-badge {
        font-size: 10px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .custom-main {
        padding: 30px 0;
    }
    
    .custom-container {
        padding: 0 10px;
    }
    
    .sizing-panel, .form-panel {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .form-panel h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .premium-form .form-group {
        margin-bottom: 15px;
    }

    .premium-form input, .premium-form textarea {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .sizing-panel h2 {
        font-size: 24px;
    }

    .invalid-feedback {
        font-size: 11px;
    }
}


