/* Wedding Planner CRM - Elegant Styles */
:root {
    --primary: #d4a574;
    --primary-dark: #b8935f;
    --secondary: #f8e1e4;
    --accent: #9b6b6b;
    --gold: #c9a961;
    --rose: #e8b4b8;
    --success: #7cb342;
    --warning: #ffa726;
    --danger: #e57373;
    --gray-50: #faf9f7;
    --gray-100: #f5f3f0;
    --gray-200: #e8e4e0;
    --gray-300: #d4cec8;
    --gray-400: #a89f97;
    --gray-500: #8a817c;
    --gray-600: #6b655f;
    --gray-700: #4a4540;
    --gray-800: #2d2a26;
    --gray-900: #1a1816;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: white;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
    position: relative;
}

.navbar-nav a:hover {
    color: var(--primary);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.navbar-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #faf9f7 0%, #f8e1e4 50%, #faf9f7 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
    position: relative;
}

.hero::before {
    content: '❦';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    color: var(--primary);
    opacity: 0.3;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--gray-900);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.4em;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-gold {
    background: var(--gold);
    color: white;
}

/* Sections */
.section {
    padding: 100px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8em;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-200);
}

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

.service-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.8em;
    color: var(--primary);
    font-weight: 700;
}

/* Features */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2em;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--gray-600);
}

/* Testimonials */
.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5em;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 100px 60px;
}

.cta h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta .btn {
    background: white;
    color: var(--primary);
    font-size: 1.2em;
    padding: 18px 50px;
}

.cta .btn:hover {
    background: var(--gray-100);
}

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

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer p {
    color: var(--gray-400);
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Admin Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--gray-200);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-header {
    padding: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.admin-sidebar-header h2 {
    color: var(--primary);
    font-size: 1.5em;
}

.admin-sidebar-header p {
    color: var(--gray-500);
    font-size: 0.9em;
    margin-top: 5px;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav-section {
    margin-bottom: 20px;
}

.admin-nav-title {
    padding: 10px 30px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-weight: 700;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1em;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--secondary);
    color: var(--accent);
}

.admin-nav a.active {
    border-left: 3px solid var(--primary);
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: var(--gray-50);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 2em;
    color: var(--gray-900);
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.card-header h3 {
    font-size: 1.3em;
    color: var(--gray-900);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

th {
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-100);
}

tr:hover td {
    background: var(--gray-50);
}

/* Status badges */
.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-new { background: #e3f2fd; color: #1976d2; }
.badge-contacted { background: #fff3e0; color: #f57c00; }
.badge-proposal { background: #f3e5f5; color: #7b1fa2; }
.badge-won { background: #e8f5e9; color: #388e3c; }
.badge-lost { background: #ffebee; color: #d32f2f; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-container {
        flex-direction: column;
    }
}

/* Print */
@media print {
    .navbar, .admin-sidebar, .btn {
        display: none;
    }
}
