/* Gartcairn WFC Christmas Theme Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*opacity: 0.1;*/
	background: white;
}

body {
    font-family: 'Arial', sans-serif;
    background: transparent;
    color: skyblue;
    overflow-x: hidden;
}

/* Snowfall animation */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: skyblue;
    font-size: 1em;
    animation: fall linear infinite;
    pointer-events: none;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Header with Christmas lights This is where Welcome text is Gartcairn Women FC*/
header {
    background: linear-gradient(180deg, #0F92BE 0%, #0F92BA 100%);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(135, 206, 235, 0.5);
    border-bottom: 3px solid white;
    position: relative;
}

.christmas-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #0F92BE 0px, #0F92BE 20px,
        #00ff00 20px, #00ff00 40px,
        #ffff00 40px, #ffff00 60px,
        #0000ff 60px, #0000ff 80px
    );
    animation: lights 1s linear infinite;
}

@keyframes lights {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 20px rgba(15, 146, 190, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
}

h1 {
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.christmas-badge {
    background: white;
    color: #0F92BE;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    margin-left: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navigation */
nav {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

nav a:hover {
    background: #0F92BE;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('data:image/svg+xml,<svg xmlns="images/christmas-background-with-gifts-baubles.jpg"> viewBox="0 0 1200 600"><rect fill="%231a472a" width="1200" height="600"/></svg>');
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
	color: white;
}

.page-title {
    text-align: center;
    font-size: 2.5em;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-banner {
    background: linear-gradient(135deg, #0F92BE 0%, #0a6482 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #0F92BE;
}

.news-banner h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid white;
}

/* Match Section */
.match-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: linear-gradient(135deg, rgba(15, 146, 190, 0.9) 0%, rgba(10, 100, 130, 0.9) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #0F92BE;
}

.card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    border-bottom: 2px solid #0F92BE;
    padding-bottom: 10px;
}

.fixtures-table {
    width: 100%;
    margin-top: 15px;
}

.fixtures-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fixtures-table td {
    padding: 12px 8px;
    font-size: 0.95em;
}

.training-schedule td:first-child {
    font-weight: bold;
    color: white;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #0F92BE 0%, #0a6482 100%);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #0F92BE;
}

.about-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}

.about-section p {
    line-height: 1.8;
    font-size: 1.1em;
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: linear-gradient(135deg, rgba(15, 146, 190, 0.9) 0%, rgba(10, 100, 130, 0.9) 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #0F92BE;
}

.contact-form h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(15, 146, 190, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F92BE;
    box-shadow: 0 0 10px rgba(15, 146, 190, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: white;
    color: #0F92BE;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 146, 190, 0.5);
}

.contact-info {
    background: linear-gradient(135deg, rgba(15, 146, 190, 0.9) 0%, rgba(10, 100, 130, 0.9) 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #0F92BE;
}

.contact-info h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.info-block p {
    line-height: 1.8;
    margin: 5px 0;
}

/* Documents Page Styles */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.document-card {
    background: linear-gradient(135deg, rgba(15, 146, 190, 0.9) 0%, rgba(10, 100, 130, 0.9) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #0F92BE;
    text-align: center;
    transition: all 0.3s;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 146, 190, 0.4);
}

.document-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.document-card h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.document-card p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.doc-link {
    display: inline-block;
    background: white;
    color: #0F92BE;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.doc-link:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0F92BE 0%, #0a6482 100%);
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 3px solid #0F92BE;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
    padding-left: 10px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: white;
    color: #0F92BE;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Privacy Page Styles */
.privacy-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #0F92BE;
}

.privacy-content h3 {
    color: white;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.privacy-content p,
.privacy-content ul {
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-left: 30px;
}

/* Christmas Side Decorations */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 150px;
    height: 100vh;
    top: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    background-image: url('images/christmas-background-with-gifts-baubles.jpg');
    background-size: cover;
    background-position: center;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .hero h2 {
        font-size: 2em;
    }

    .page-title {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .match-section {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .contact-form,
    .contact-info,
    .privacy-content {
        padding: 20px;
    }

    /* Hide Christmas tree decorations on mobile */
    body::before,
    body::after {
        display: none;
    }
}