/* 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;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    color: #2c3e50;
}

/* Main Navigation */
.main-nav {
    flex: 1;
    margin: 0 2rem;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

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

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
}

.button-group {
    display: flex;
    gap: 10px;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.nav-btn i {
    font-size: 1rem;
}

/* Sign In Button */
.signin-btn {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.signin-btn:hover {
    background-color: #e9ecef;
}

/* Sign Up Button */
.signup-btn {
    background-color: #3498db;
    color: white;
}

.signup-btn:hover {
    background-color: #2980b9;
}

/* Profile Button */
.profile-btn {
    background-color: transparent;
    color: #2c3e50;
    font-size: 1.2rem;
    padding: 0.3rem;
}

.profile-btn:hover {
    color: #3498db;
}

/* Sign Out Button */
.signout-btn {
    background-color: #f8f9fa;
    color: #e74c3c;
}

.signout-btn:hover {
    background-color: #e74c3c;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Registration Info Section */
.registration-info {
    padding: 2rem 0;
    background-color: #f9f9f9;
}

#user-info {
    text-align: center;
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Video Container */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.adventure-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* When video is playing */
.adventure-video:playing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
    border-radius: 0;
}

.adventure-video:playing ~ .hero-content {
    display: none;
}

.adventure-video:playing ~ .cta-button {
    display: none;
}

.adventure-video:playing ~ .video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    margin: 0;
    border-radius: 0;
    max-width: none;
}

/* Video Modal */
.video-modal {
    background-color: #000;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    margin: 5% auto;
}

.video-modal .close {
    position: absolute;
    right: -30px;
    top: -30px;
    color: white;
    font-size: 2rem;
    z-index: 1002;
}

.video-modal .adventure-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    position: relative;
    top: 0;
    left: 0;
}

/* Custom video controls styling */
.adventure-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
}

.adventure-video::-webkit-media-controls-play-button,
.adventure-video::-webkit-media-controls-timeline,
.adventure-video::-webkit-media-controls-current-time-display,
.adventure-video::-webkit-media-controls-time-remaining-display,
.adventure-video::-webkit-media-controls-mute-button,
.adventure-video::-webkit-media-controls-volume-slider-container,
.adventure-video::-webkit-media-controls-volume-slider,
.adventure-video::-webkit-media-controls-seek-back-button,
.adventure-video::-webkit-media-controls-seek-forward-button,
.adventure-video::-webkit-media-controls-fullscreen-button {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .navbar .container {
        justify-content: space-between;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Sign Up Button */
.signup-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-btn:hover {
    background-color: #2980b9;
}

/* Sign Up Modal */
.signup-modal {
    max-width: 500px;
    width: 90%;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 5% auto;
    position: relative;
}

.signup-modal h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.required {
    color: #e74c3c;
    margin-left: 0.2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #27ae60;
}

.submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Add smooth scrolling to the modal */
.signup-modal::-webkit-scrollbar {
    width: 8px;
}

.signup-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.signup-modal::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.signup-modal::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Sign In Modal */
.signin-modal {
    max-width: 400px;
    width: 90%;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 5% auto;
    position: relative;
}

.signin-content {
    text-align: center;
    padding: 2rem 0;
}

.signin-content p {
    margin-bottom: 2rem;
    color: #666;
}

#simpleLoginBtn {
    width: auto;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#simpleLoginBtn i {
    font-size: 1.2rem;
}

/* Profile Modal */
.profile-modal {
    max-width: 500px;
    width: 90%;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 5% auto;
    position: relative;
}

.profile-content {
    text-align: center;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-icon {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.profile-info {
    margin-bottom: 2rem;
}

.profile-info p {
    color: #666;
    margin-bottom: 2rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.action-btn i {
    font-size: 1.2rem;
}

.action-btn:hover {
    background-color: #e9ecef;
}

#viewInfoBtn:hover {
    background-color: #3498db;
    color: white;
}

#editProfileBtn:hover {
    background-color: #2ecc71;
    color: white;
}

/* Content Sections */
.content-section {
    display: none;
    padding: 6rem 0;
    min-height: calc(100vh - 60px);
    position: relative;
    z-index: 1;
}

/* Home Section (Hero) */
#home {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
#services {
    background-color: #f9f9f9;
}

/* Videos Section */
#videos {
    background-color: #fff;
}

/* Shopping Section */
#shopping {
    background-color: #f9f9f9;
}

/* About Section */
#about {
    background-color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

/* Lists */
.service-list, .about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.service-list li, .about-list li {
    font-size: 1.2rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Shopping Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card .price {
    color: #3498db;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-card .description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.select-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.select-btn:hover {
    background-color: #2980b9;
}

.cart-summary {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.cart-summary h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

#selected-services {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

#selected-services li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #27ae60;
}

/* Video Section Styles */
.video-container {
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.drone-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive video sizing */
@media (max-width: 768px) {
    .video-container {
        margin: 1rem auto;
    }
}

/* Admin Modal Styles */
.admin-modal {
    max-width: 90%;
    width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-content {
    padding: 20px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background-color: #0056b3;
}

.analytics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.analytics-card h3 {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.analytics-card p {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

/* Admin button in navbar */
.admin-btn {
    background-color: #28a745;
}

.admin-btn:hover {
    background-color: #218838;
}

/* Edit and Delete buttons in tables */
.edit-btn, .delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

.edit-btn {
    background-color: #ffc107;
    color: #000;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.edit-btn:hover {
    background-color: #e0a800;
}

.delete-btn:hover {
    background-color: #c82333;
} 