/* General Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    color: #35424a;
    margin: 0;
    font-weight: 300;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #008080;
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 50px;
    background: linear-gradient(to right, #35424a, #1f2a31);
    position: relative;
    z-index: 100;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0px;
    margin-left: 26px;
    z-index: 1001;
    mix-blend-mode: screen;
}

.logo img {
    height: 150px;
    width: auto;
    margin: 0;
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
    text-align: left;
}

.nav-links.left-links li {
    margin-right: 43px;
}

.nav-links.right-links li {
    margin-left: 19px;
}

.nav-links a {
    font-size: 10px;
    padding: 15px;
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.nav-links a:hover {
    color: #008080;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links .dropdown-menu a {
    color: #333;
    padding: 10px 20px;
    background: none;
}

.nav-links .dropdown-menu a:hover {
    color: #008080;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background: #fff !important;
    border-radius: 2px;
    transition: 0.3s;
}

/* Slide-in animation */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Desktop only: show nav links, hide hamburger/dropdown */
@media (min-width: 1025px) {
    .hamburger-menu,
    .nav-dropdown {
        display: none !important;
    }
    .nav-links {
        display: flex !important;
    }
}

/* Mobile: Only show hamburger and dropdown, hide logo and nav-links */
@media (max-width: 900px) {
  .nav-links,
  .logo {
    display: none !important;
  }
  .hamburger-menu {
    display: flex !important;
  }
  .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    z-index: 1200;
  }
  .nav-dropdown.show {
    display: block;
  }
  /* Force dropdown submenus to navy on mobile */
  .nav-dropdown .dropdown-menu {
    background: #35424a !important;
    color: #fff !important;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
  }
  .nav-dropdown .dropdown-menu a {
    color: #fff !important;
    background: none !important;
  }
  .nav-dropdown .dropdown-menu a:hover {
    color: #008080 !important;
    background: rgba(255,255,255,0.05) !important;
  }
}

/* Hide hamburger and dropdown on desktop */
@media (min-width: 901px) {
  .hamburger-menu,
  .nav-dropdown {
    display: none !important;
  }
  .nav-links,
  .logo {
    display: flex !important;
  }
}

/* Slideshow */
.full-width-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slideshow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: bold;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.slideshow-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}

.slideshow-text p {
    font-size: 1rem;
    text-align: center;
    color: #ffffff;
}

.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    color: #35424a;
    margin: 20px 0;
}

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sell-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 40px;
    margin-bottom: 40px;
}

.sell-section h2 {
    color: #35424a;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.sell-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sell-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #35424a;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #008080;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #008080;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #006666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px;
    text-align: center;
}

.feature-card h3 {
    color: #35424a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #32ffbe;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* Footer Section */
footer {
    background-color: #0015ff;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
    position: relative;
}

.footer-image {
    text-align: left;
    padding: 15px 10px 0px 20px;
    max-width: 1200px;
    margin: 0;
}

.footer-image img {
    max-height: 120px;
    width: auto;
    margin-left: 0;
    mix-blend-mode: screen;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #32ffbe;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
}

.footer-section ul li a:hover {
    color: #008080;
}

.footer-section p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-section p a {
    color: #ffffff;
}

.footer-section p a:hover {
    color: #008080;
}

/* PSRA Number */
.footer-psra-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: #d3d3d3;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow-container {
        height: 280px;
    }
    
    .slideshow-text h2 {
        font-size: 1.8rem;
    }
    
    .slideshow-text p {
        font-size: 0.9rem;
    }
    
    .sell-section {
        padding: 30px 20px;
    }
    
    .sell-form {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .navbar {
        min-height: 120px;
        padding: 32px 10px;
    }
    
    .logo img {
        height: 110px;
        max-width: 200px;
    }
    
    .sell-section h2 {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 20px 10px;
    }
}
