/* General body with background image */
body {
    background-image: url("../images/saden_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: rgba(31, 31, 31, 0.9);
    padding: 20px;
    text-align: center;
}

.header .logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.header h1 {
    margin: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
}

.slogan {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.slogan h2 {
    display: inline-block;
    white-space: nowrap;
    font-size: 2em;
    color: #f0f0f0;
    animation: slideText 10s linear infinite;
}

/* Sliding text animation */
@keyframes slideText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Cards Container - 5 columns on large screens */
/* Cards Container - 5 columns, wider look */
.cards-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(260px, 1fr)); /* base width for chunkier cards */
    gap: 1%;                /* more spacing between cards */
    max-width: 1800px;        /* expand container width */
    width: 100%;
    margin-top: 20px;
}

/* Card styling */
.card {
    background-color: #1f1f1f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 10px;        /* keep same height */
    width: 100%;              /* no overflow, width handled by grid */
    padding: 2px;            /* optional inside spacing */
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}



/* Video inside card */
.card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fully visible video without cropping */
    border-radius: 12px 12px 0 0;
}

/* Button at bottom of card - dark theme */
.card-button {
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background-color: #333; /* dark gray */
    color: #f0f0f0; /* light text */
    font-weight: bold;
    cursor: pointer;
    width: 90%;
    text-align: center;
    transition: background-color 0.2s, transform 0.2s;
}

.card-button:hover {
    background-color: #555; /* slightly lighter gray on hover */
    transform: scale(1.05); /* subtle hover pop */
}


/* Footer */
.footer {
    background-color: rgba(31, 31, 31, 0.9);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 10px;
}

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

.footer-contact {
    margin-top: 15px;
}

.footer-contact p {
    margin: 5px 0;
}

/* Services Section */
.services {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #f0f0f0;
    font-weight: bold;
}

/* Services grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual service cards */
.service-card {
    background-color: rgba(31, 31, 31, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.service-card h3 {
    font-size: 1.8em;
    margin: 15px 0;
    color: #ffcc00;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.service-card ul li {
    font-size: 1.1em;
    margin: 10px 0;
    position: relative;
    padding-left: 20px;
    color: #f0f0f0;
}

.service-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffcc00;
}

.service-card p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-top: 10px;
}

/* Optional icon at top of card */
.service-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

/* Responsive layout */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
}

@media (max-width: 800px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

@media (max-width: 500px) {
    .cards-container {
        grid-template-columns: 1fr; /* 1 card per row */
    }
}
