/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header styles */
.main-header {
    background-image: url('../images/header-bkgrnd.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.logo {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: brightness(1.1);
    object-fit: contain;
}

/* Main content */
main {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
}

/* Quick links section */
.quick-links {
    width: 100%;
    margin-top: 20px;
}

.link-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.link-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 350px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    max-width: 350px;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    white-space: nowrap;
}

.link-card p {
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.link-card p:last-of-type {
    margin-bottom: 30px;
}

/* Button styles */
.btn {
    display: inline-block;
    background: #fcba03;
    color: black;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 186, 3, 0.3);
}

.btn:hover {
    background: #e0a502;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 186, 3, 0.4);
    color: black;
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

/* Back link styles */
.back-link {
    display: inline-block;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #fcba03;
    text-decoration: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .logo {
        max-height: 60px;
        max-width: 90%;
    }
    
    main {
        padding: 15px 0;
    }
    
    .quick-links {
        margin-top: 15px;
    }
    
    .link-grid {
        gap: 20px;
    }
    
    .link-card {
        padding: 15px 20px;
        width: 100%;
        max-width: 350px;
        min-height: 100px;
    }
    
    .link-card h3 {
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 15px 0;
        overflow: hidden;
    }
    
    .header-content {
        padding: 0 10px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .logo {
        max-height: 50px;
        max-width: 85%;
        width: auto;
        height: auto;
    }
    
    main {
        padding: 10px 0;
    }
    
    .quick-links {
        margin-top: 10px;
    }
    
    .link-grid {
        gap: 15px;
    }
    
    .link-card {
        padding: 12px 15px;
        min-height: 90px;
    }
    
    .link-card h3 {
        font-size: 18px;
    }
}

/* iPhone specific adjustments */
@media (max-width: 414px) {
    .header-content {
        padding: 0 8px;
    }
    
    .logo {
        max-width: 90%;
    }
}

@media (max-width: 375px) {
    .header-content {
        padding: 0 5px;
    }
    
    .logo {
        max-width: 95%;
        max-height: 45px;
    }
} 