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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4A6B8C;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: #ffffff;
}

.hero-content {
    flex: 1;
    max-width: 100%;
    padding-top: 60px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #4A6B8C 0%, #2B4055 100%);
    padding: 4rem;
    border-radius: 20px;
    background-image: url(./images/camera_rental.jpg);
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Buttons */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Rental Equipment Section */
.rental-equipment {
    padding: 5rem 5%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: #ffffff;
}

.rental-equipment h2 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.product-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #703BF7;
    color: #ffffff;
    border-color: #703BF7;
}

.filter-btn:hover:not(.active) {
    border-color: #703BF7;
    color: #703BF7;
}

.equipment-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
    /* gap: 2rem;
    margin-bottom: 3rem; */
    grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; 
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 1.5rem;
}

.product-details h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.1rem;
    color: #464646;
    font-weight: 600;
}

.rent-btn {
    padding: 0.6rem 1.2rem;
    background: #FFF42C;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rent-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.unavailable {
    color: #ff4444;
    font-weight: 500;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #FFD700;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 5%;
}

.load-more-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    background-color: #703BF7;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: auto;
    min-width: 200px;
}

.load-more-btn:hover {
    background-color: #5c2fd0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    /* Load More Button Mobile Styles */
    .load-more-container {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .load-more-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        min-width: 160px;
        width: 30%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Load More Button Small Mobile Styles */
    .load-more-container {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .load-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        min-width: 140px;
        width: 40%;
    }
}

/* Specific Search Section */
.specific-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background-color:white;
}

.search-content {
    flex: 1;
    max-width: 500px;
}

.search-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
}

.contact-button i {
    font-size: 1.2rem;
}

.contact-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.search-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-image img {
    max-width: 480px;
    height: 384px;
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 5rem 5%;
    color: #666666;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.main-info h3 {
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.main-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666666;
    max-width: 600px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #000000;
}

.contact-item .icon {
    font-size: 1rem;
    min-width: 24px;
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
}

.footer-bottom .highlight {
    color: #FFF42C;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .main-info p {
        max-width: 100%;
    }

    footer {
        padding: 3rem 5%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        text-align: left;
        padding-top: 5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-links {
        display: none;
    }
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin: 2rem 0;
}

.mobile-menu-links a {
    color: #000000;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 1rem;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: #4A6B8C;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #000000;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1002;
}

@media (max-width: 768px) {
    /* Navigation */
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        padding: 1rem 5%;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: 0px;
    }

    .hero-container {
        padding: 1rem 5%;
        min-height: 40vh;
    }

    .hero-content {
        padding: 2rem;
        text-align: left;
        border-radius: 10px;
        background-image: url(./images/camera_rental.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: .7rem;
        margin-bottom: .5rem;
    }

    /* Rental Equipment Section */
    .rental-equipment {
        padding: 2rem 5%;
    }

    .rental-equipment h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-filter {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .equipment-grid {
        display: grid;
        gap: 15px;
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid * {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .product-card {
        background: none;
    }

    .product-card:focus,
    .product-card:active,
    .product-card:hover {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        background: none !important;
    }

    .product-image {
        height: 150px;
    }

    .product-details {
        padding: 1rem;
    }

    .product-details h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .product-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .rent-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.9rem;
        text-align: center;
    }

    /* Specific Search Section */
    .specific-search {
        padding: 2rem 5%;
        flex-direction: column;
        text-align: center;
    }

    .search-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .search-content h2 {
        font-size: 1.5rem;
    }

    .search-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .search-image img {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    /* Footer */
    footer {
        padding: 2rem 5%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-info h3 {
        font-size: 1.5rem;
    }

    .main-info p {
        font-size: 1rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.6rem;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .product-filter {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .search-image img {
        width: 280px;
        height: auto;
    }

    .rental-equipment {
        padding: 1rem 5%;
    }

    .rental-equipment h2 {
        font-size: 1.3rem;
    }
}

header {
    margin-bottom: 50px;
}