:root {
  --primary-color: #007bff;
  --dark-blue: #0A142D;
  --light-blue: #1C2E4A;
  --white: #ffffff;
  --gray: #ccc;
  --text-color: #f0f0f0;
  --live-red: #E74C3C;
  --fair-green: #2ECC71;
  --border-radius: 8px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
body,div,h1,p {
    direction: rtl;
    text-align: right;
}
body {
    font-family: 'Heebo' !important;
    padding-top: 56px;
}


@media only screen and (max-width: 992px) {
  nav a {
    margin-right: 0 !important;
  }

  ul.navbar-nav {
    padding: 0;
  }

  ul li.nav-item {
    border-bottom: 1px solid #fff;
  }
  img.card-image {
    height: 250px;
    }
}

a.navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
	margin-right: 0;
}

nav .container {
    padding-right: 0;
}

header {
    padding: 10px 10px 5px 0 !important;
    height: 157px;
}
header.jumbotron.my-4 {
    margin: 20px 0 !important;
}

iframe {
    height: 370px;
    width:100%;
}

.rishon iframe {
    width: 678px !important;
}

.display-3 {
    font-size:3rem !important;
}

.lead {
    font-size: 1.5rem !important;
}

.cams-container{
    position: relative;
    top: 20px;
    margin-bottom: 10px;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 16.5px 25px 0 rgba(0,0,0,.15);
    border-radius: 35px 35px 0 0 !important;
}

.ads-container {
    position: relative;
    top: 20px;
    margin-bottom: 10px;
}

.ads-container .card img {
    width: 100%;
    border-radius: 35px 35px 0 0;
    height: 250px;
}

.ads-container a {
    text-decoration: none !important;
    color: #000 !important;
    display: inline-block;
}
.card-img-top {
    height: 200px;
}

.card-title {
    margin-top: 10px !important;
    font-size: 22px;
    text-align: center;
}
.card-text {
    margin-right: 5px;
    text-align: center;
}
footer.bg-dark {
    padding: 15px 0;
}

footer p {
    font-size:1.2rem;
}
footer ul {
    text-align: center;
    padding: 0;
    margin: 0;
}

footer ul li {
    list-style-type: none;
    display: inline-block;
    font-size: 1.1rem;
    margin-left: 20px;
}
footer ul li  a {
   color: #fff;
}
footer ul li  a:hover {
    color: #fff;
}



a.cameraPageLink { 
    color: #000;
    cursor: pointer;
    text-decoration: none;
}
a.cameraPageLink:hover { 
    color: #000;
    text-decoration: none;
}

a.cameraPageLink:active { 
    text-decoration: none;
    color: lightgray;
}

a.cameraPageLink .card-body {
    height: 43px;
}

.bg-404, .error-image {   
    text-align: center;
    margin: 80px 0 40px 0;
}

.bg-404 .error-image img {
    margin-top: 20px;
}

section#error-page {
    margin-bottom: 20px;
}
.card-img, .card-image {
    padding: 0 !important;
}

img.card-image , .card-img img{
    width: 100%;
}
img.card-image  {
    height: 400px;
}


.card-img img#sdotYam {
    height: 392px;
}

a#sdot-yam {
    display: inline-block;
    margin: 20px 7px 25px 0;
}

a.camLink {
    display: inline-block;
    margin: 7px;
    color: #000;
}
a.camLink:hover{
    color: #000;
    text-decoration: none;;
}
.card-body {
    padding: 0 !important;
}

nav, footer {
    box-shadow: 0 16.5px 25px 0 rgba(0,0,0,.15);
    background-color: #0A142D !important;
    padding:20px 0;
}
.rishon {
    overflow: hidden;
}
.rishon iframe {
    width: 905px !important;
}


a.nav-link {
    font-size: 16px;
    color: #fff !important;
    font-weight: 500;   
}

.ad-banner {
    text-align: center; /* Center the ad */
    background-color: #f8f9fa; /* Optional: Light background for the banner */
    padding: 10px 0; /* Padding around the ad */
    border-bottom: 1px solid #ddd; /* Optional: Border to separate it from the navbar */
  }
  
  .ad-banner img {
    max-width: 100%; /* Ensure the image scales for smaller screens */
    height: auto;
  }

.card .desc {
    margin-right: 15px;
}

.navbar {
  background-color: var(--dark-blue) !important;
  border-bottom: 1px solid var(--light-blue);
}

.navbar-brand {
	margin-right: 0;
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  text-align: right;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}


        /* Custom styles for surf products page */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8fafc;
            /* Add top padding for fixed navbar */
            padding-top: 80px;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 123, 191, 0.8), rgba(0, 123, 191, 0.8)),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23007bbf" width="1200" height="600"/><path fill="%23ffffff" opacity="0.1" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
            background-size: cover;
            background-position: center;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
        }
		

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero-content p {
            font-size: 1.3rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Filter Section */
        .filters {
            padding: 2rem 0;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: #e2e8f0;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: #007bbf;
            color: white;
            transform: translateY(-2px);
        }

        /* Products Grid */
        .products-section {
            padding: 4rem 0 0 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #2d3748;
        }

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

        /* Product Cards */
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            height: 100%;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
            text-decoration: none;
            color: inherit;
        }

        .product-image {
            height: 300px;
            background: linear-gradient(45deg, #007bbf, #00a8e8);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image::before {
            font-size: 4rem;
            opacity: 0.7;
        }

        .product-image img {
          height: 290px;
        }

        .product-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
        }

        .product-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #2d3748;
        }

        .product-description {
            color: #718096;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            flex-grow: 1;
        }

        .product-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: #007bbf;
            margin-bottom: 1rem;
        }

        .product-badge {
            background: #48bb78;
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            display: inline-block;
            align-self: flex-start;
        }

        /* Category Sections */
        .category-section {
            margin: 4rem 0;
        }

        .category-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: #2d3748;
            border-bottom: 3px solid #007bbf;
            padding-bottom: 0.5rem;
        }

        /* CTA Section */
        .cta-section {
            background: #007bbf;
            color: white;
            text-align: center;
            padding: 4rem 0;
        }

        .cta-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .cta-description {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

        .cta-button {
            background: white;
            color: #007bbf;
            padding: 1rem 2rem;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        footer {
            background-color: #343a40;
            padding: 2rem 0;
            margin-top: 1rem;
        }

        footer ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1rem;
        }

        footer ul li a {
            color: white;
            text-decoration: none;
        }

        footer ul li a:hover {
            color: #007bbf;
        }

        @media (max-width: 768px) {
            .col-xs-12 {
                padding:0 !important;
            }
            body {
                padding-top: 70px;
            }

            .hero {
                height: 300px;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .hero-content p {
                font-size: 1.1rem;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .filter-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        .navbar-nav .nav-item.active .nav-link {
            color: #007bbf !important;
        }


        body {
  font-family: 'Heebo', sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
}

main.container-fluid {
  max-width: 1200px;
  margin: 90px auto 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}

h1, h2 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid #aa7700;
  padding-bottom: 8px;
}

section {
  margin-bottom: 40px;
}

#faq {
  background-color: #f7f2e7;
  padding: 20px 25px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.07);
  text-align: right;
}

#faq dt {
  font-weight: 600;
  margin-top: 18px;
  cursor: pointer;
  color: #aa7700;
}

#faq dd {
  margin-right: 10px;
  margin-top: 6px;
  color: #555;
}

/*footer {
  background-color: #2c3e50;
  padding: 25px 15px;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #f5c518;
  text-decoration: none;
  margin: 0 10px;
}*/

footer a:hover {
  text-decoration: underline;
}
