/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Admin Toggle Button */
.admin-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.admin-toggle:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.admin-toggle.active {
    background: #28a745;
}

/* Editable Elements in Edit Mode */
.editable {
    transition: all 0.3s ease;
}

.editable[contenteditable="true"] {
    outline: 2px dashed #007bff;
    outline-offset: 4px;
    background-color: rgba(0, 123, 255, 0.05);
    padding: 4px;
    border-radius: 3px;
}

.editable[contenteditable="true"]:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.editable[contenteditable="true"]:focus {
    outline: 2px solid #007bff;
    background-color: rgba(0, 123, 255, 0.15);
}

/* Upload Button Styles */
.upload-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.language-switcher label {
    white-space: nowrap;
}

.language-switcher select {
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.language-switcher select option {
    color: #333;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image-container {
    position: relative;
    max-width: 600px;
    margin: 40px auto 0;
}

.hero-image-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* CTA Button */
.cta-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #667eea;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #667eea;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
    color: #333;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 16px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #667eea;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 16px;
}

/* Payment Section */
.payment {
    padding: 80px 0;
    background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
}

.payment h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #667eea;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.payment-summary,
.payment-form-wrapper {
    background: white;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.12);
}

.payment-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.payment-summary h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #1f2a44;
}

.payment-summary p {
    color: #5f6b85;
    margin-bottom: 24px;
}

.summary-card {
    border: 1px solid #e6eaf5;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 24px;
    background: #fafbff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    color: #42506b;
    border-bottom: 1px solid #e9edf7;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #1f2a44;
}

.plan-options {
    display: grid;
    gap: 12px;
}

.plan-btn {
    border: 1px solid #d9e1f2;
    background: #fff;
    color: #33415c;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover,
.plan-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #33415c;
}

.payment-form input,
.payment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9e1f2;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.payment-form input:focus,
.payment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.payment-disclaimer {
    font-size: 14px;
    color: #6c7891;
    background: #f8faff;
    border-left: 4px solid #667eea;
    padding: 12px 14px;
    border-radius: 8px;
}

.payment-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.payment-submit:hover {
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.28);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #667eea;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #667eea;
}

.contact-item p {
    font-size: 16px;
    color: #666;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    width: 100%;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer p {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    .header-controls {
        width: 100%;
        flex-direction: column;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .language-switcher {
        justify-content: center;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content,
    .contact-content,
    .payment-content,
    .form-row,
    .form-row.three-columns {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .admin-toggle {
        top: 10px;
        right: 10px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Edit Mode Specific Styles */
body.edit-mode .upload-btn {
    display: block !important;
}

body.edit-mode .product-card,
body.edit-mode .about-image,
body.edit-mode .hero-image-container {
    position: relative;
}

/* Made with Bob */
