/* Grundstil */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

/* Underline-hover-effekt */
nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #f4c542;
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #f4c542;
}

/* Mobilmeny */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Responsiv */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: #1a1a1a;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 20px;
        border-radius: 8px;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero-sektion */
.hero {
    background: url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
}

/* Sektioner */
section {
    padding: 40px 0;
}

/* Kort */
.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
    transition: transform 0.3s;
}

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

/* Tjänster/galleri */
.services, .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services .card, .gallery .card {
    flex: 0 0 48%;
}

/* Formulär */
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

form button {
    background-color: #f4c542;
    color: #1a1a1a;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #e6b800;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

footer a {
    color: #f4c542;
    text-decoration: none;
}

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

.social {
    position: relative;
    text-decoration: none;
    color: #f4c542;
    transition: color 0.3s;
}

.social:hover {
    color: #fff;
}

/* Tooltip-effekt */
.social::after {
    content: attr(data-text);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.social:hover::after {
    opacity: 1;
    bottom: 180%;
}

/* Extra stil för priser */
.card h3 {
    color: #1a1a1a;
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 10px;
}

.card ul {
    list-style: "🍴 ";
    margin-left: 20px;
}

/* ===== Uppdaterad team-layout (Använd denna, ersätt gamla .team-* regler) ===== */

.team-section {
    text-align: center;
    margin-top: 60px;
}

/* Grid: två kolumner på desktop, en på mobil */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
    box-sizing: border-box;
}

/* Varje kort */
.team-member {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 22px;
    width: calc(50% - 30px); /* två kort bredvid varandra med gap */
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;   /* säkerställer bild över text */
    align-items: center;      /* centrerar bilden och rubriken */
    text-align: center;       /* centrerad text inuti kortet */
}

/* Hover-effekt */
.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Bild: mindre, rund, ram och centrerad */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;         /* beskär snyggt */
    display: block;            /* viktigt så bilden inte flyter */
    margin: 0 0 14px 0;        /* centrerad tack vare flex + align-items */
    border: 4px solid #f4c542; /* ram */
    padding: 3px;
    background: #fff;
}

/* Rubrik & text */
.team-member h3 {
    margin: 6px 0 8px 0;
    font-size: 20px;
    color: #222;
}

.team-member p {
    margin: 0;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

/* Mobil: gör dem fullbredd och staplade */
@media (max-width: 768px) {
    .team-member {
        width: 100%;
        padding: 20px;
    }
    .team-photo {
        width: 110px;
        height: 110px;
    }
}

