/* Common CSS - Doctor's Office Photo Studio Website */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-mono: 'Courier Prime', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, button {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    border: none;
    transition: var(--transition-smooth);
}

button {
    cursor: pointer;
}

/* Base Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Consent Bar - Premium Glassmorphism */
#cookie-bar {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 2rem 0;
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-bar.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: #00f0ff;
    color: #0b0f19;
}

.cookie-btn-accept:hover {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(250, 250, 250, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 0;
    padding: 0.2rem 0;
}

.cookie-btn-settings:hover {
    color: #ffffff;
}

/* Detailed Cookie Settings Modal */
.cookie-settings {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00f0ff;
    cursor: pointer;
    margin-top: 0.2rem;
}

.cookie-option-label {
    display: flex;
    flex-direction: column;
}

.cookie-option-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-option-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Form inputs styling */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    background: transparent;
    color: inherit;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Honeypot hidden field - must be invisible to humans but present in DOM for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -100;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
