/* navbar och foter */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    color: white;
}

h3 {
    color: white;
}

p {
    color: white;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #111;
    color: white;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    font-size: 20px;
    color: #aaa;
    transition: 0.3s;
}

.cart-icon:hover {
    color: white;
}

footer {
    background: #0a0a0a;
    padding: 60px 80px;
    color: #aaa;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 10px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
}

.footer-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-icons i {
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-icons i:hover {
    color: white;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    background: #111;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-content p {
    margin: 20px 0;
    color: #aaa;
    font-size: 18px;
}

.hero-button {
    background: white;
    color: black;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.hero-button:hover {
    background: #ddd;
}

.hero-image img {
    width: 450px;
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* bästsällers */

.bestsellers {
    padding: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.product-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    margin-top: 15px;
    font-size: 18px;
}

.product-card p {
    color: #aaa;
    margin: 5px 0;
}

.product-card button {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    border: none;
    background: white;
    color: black;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.product-card button:hover {
    background: #ccc;
}

/* kontakt */

.kontakt {
    padding: 100px 20px;
    text-align: center;
}

.kontakt-button {
    border: 1px solid white;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.kontakt-button:hover {
    background: white;
    color: black;
}


/* produktsidan */
#product-list {
    width: 100%;
}

/* kontaktsida */
.contact-page {
    padding: 60px 20px;
    background: #111;
    color: #eee;
    font-family: Arial, sans-serif;
}

.contact-container {
    max-width: 800px;
    margin: auto;
}

.contact-info-left h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info-left p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-info-left h1 {
    border-bottom: 2px solid #444;
    display: inline-block;
    padding-bottom: 5px;
}

/* FAQ */ 

#FAQ {
    text-align: center;
    padding: 40px 0;
    font-family: 'Times New Roman', Times, serif;
}

#FAQH1 {
    font-size: 40px;
    margin-bottom: 20px;
}

details {
    width: 65%;
    margin: 15px auto;
    padding: 15px;
    border-radius: 20px;
    background: #2a2a2a;
    color: white;
    font-size: 20px;
}

summary {
    font-weight: bold;
    cursor: pointer;
}

details p {
    font-size: 16px;
    margin-top: 10px;
}

/* Kassa */ 
.checkout-container {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
    color: #f0f0f0;
}

.checkout-box {
    flex: 1;
    min-width: 300px;
    background: #141414;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.checkout-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 6px;
}

.checkout-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #f0f0f0;
    font-size: 15px;
}

.checkout-box button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #f5f5f5;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.checkout-box button:hover {
    background: #e0e0e0;
}


.checkout-box select,
.checkout-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #f0f0f0;
    font-size: 15px;
}

/* jämförelsesidan */

.compare-page {
  text-align: center;
  padding: 40px;
}

.compare-page h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.compare-select {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.compare-select div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

select {
  padding: 10px;
  border-radius: 8px;
  min-width: 180px;
}

.compare-btn {
  background: black;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.compare-btn:hover {
  background: #444;
}

.compare-result {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.compare-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  transition: 0.3s;
}

.compare-box:hover {
  transform: translateY(-5px);
}

.compare-box img {
  width: 100%;
  border-radius: 10px;
}

.compare-box h2 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.compare-box p {
  font-weight: bold;
  color: #333;
}

/* tacksidan */
.tack {
    align-items: center;
    text-align: center;
    padding: 100px;
    font-family: 'Arial', sans-serif;
    color: #f0f0f0;
}

.product-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #f5f5f5;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: 0;
}


/* RWD  för Företag.html */

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar {
        padding: 10px 30px;
    }
}
