/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif, Tahoma, Geneva, Verdana;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

/* Header and Navigation */
header {
    background-color: #054869;
    box-shadow: 0 2px 15px rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content:flex-end;
    align-items: center;
    position: relative;
}
.logo {
    font-size: 1.8rem;
    font-family: Helvetica, Arial, serif;
    font-weight: 300;
    color: white;
    position: absolute;
    left: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
/* When active */
body.show-logo .logo {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    transform: translateX(-390px);
    transition: transform 0.5s ease;
}
/* When logo is active, shift menu to the right */
body.show-logo .nav-menu {
    transform: translateX(0px);
}
.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.nav-menu li a:hover {
    background-color: #3498db;
    color: #fff;
}
.nav-menu li a.active {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
}


/* Links */
.link, .link:visited {
	color: #338dd2;
	text-decoration: none;
	font-weight: 600;
	padding: 0.3rem 0;
	border-bottom: 2px solid rgba(255, 255, 255, 0);
	transition: all 0.2s;
}
.link:hover {
	text-decoration: none;
	color:#225a84;
	padding: 0.1rem 0;
	border-bottom: 2px solid #ff7800;
}
.pdf, .pdf:visited {
    display: inline-block;
    background:#e7e7e7;
    color: #404040;
    padding: 10px 20px;
    margin: 10px 10px 10px 0px;
    border: 2px solid #808080;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}
.pdf:hover {
	border: 2px solid #0080da;
	background: #c8eaff;
}


/* Title Image Section */
.title-image-section {
	background-image: url("images/background-2.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 800px;
    overflow: hidden;
    border-top: 1px solid #212f3e;
    border-bottom: 1px solid #212f3e;
}
.title-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.title-svg {
	position: absolute;
	top:55%;
	left: 50%;
	transform: translate(-50%, -60%);
    width: 80vw;
    aspect-ratio: 3 / 1;
    max-height: 500px;
    background-image: url("images/Title-2.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
}

/* Description Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container p {
	font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}
.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.image-side {
	width: 100%;
	max-width: 500px;
	height: auto;
	display: block;
}
.description-section {
    padding: 60px 20px;
    background-color: #fff;
}
.description-section h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5rem;
    line-height: 1.2;
}
.description-section h2 {
    text-align: left;
    color: #124170;
    margin-bottom: 10px;
    font-size: 1.8rem;
}
.description-section p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

/* Image zoom in */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999;
}
#overlayContent {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
#imgBig {
    max-width: 90vw;  /* Scale based on screen width */
    max-height: 80vh; /* Scale based on screen height */
    cursor: zoom-out;
    border: 5px solid white;
}
#imgBig, #imgSmall{
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}
footer p {
    margin: 0;
}

/* Registration Form */
.registration-section,
.payment-section,
.confirmation-section,
.musicians-section,
.contact-section {
    padding: 40px 10px;
    min-height: calc(100vh - 200px);
}

.registration-section h1,
.payment-section h1,
.confirmation-section h1,
.musicians-section h1,
.contact-section h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.form-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.required {
    color: #e74c3c;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group.inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-label span {
    font-size: 1rem;
}
.text-note {
	color: #828e94;
}

input.check-icon:required {
	background: white;
}
/* Valid (tick) */
input.check-icon:required:valid {
	background: white url('images/tick.svg') no-repeat right 0.5rem center;
	background-size: auto 40%;
}
/* Invalid — but only after user typed something */
input.check-icon:required:invalid:not(:placeholder-shown) {
	background: white url('images/ball.svg') no-repeat right 0.5rem center;
	background-size: auto 30%;
}
/* For Chrome, Safari, Edge, Opera */
input[type=number].hide-steps::-webkit-inner-spin-button, 
input[type=number].hide-steps::-webkit-outer-spin-button { 
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0; 
}
/* For Firefox */
input[type=number].hide-steps {
	-moz-appearance: textfield;
	appearance: textfield;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-download {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-download {
    background-color: #27ae60;
    color: #fff;
}

.btn-download:hover {
    background-color: #229954;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

/* Payment Section */
.payment-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.payment-summary h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
    border-bottom: none;
    margin-top: 10px;
}

.payment-options {
    margin-top: 30px;
}

.payment-options h2 {
    text-align: center;
    margin-bottom: 30px;
}

.payment-option-card {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.payment-option-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.payment-option-card p {
    margin-bottom: 20px;
    color: #666;
}

#paypal-button-container {
    max-width: 400px;
    margin: 20px auto;
}

/* Confirmation Section */
.success-message {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #27ae60;
    color: #fff;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.confirmation-details {
    margin: 30px 0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.confirmation-note {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
}

.next-steps h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.next-steps ul {
    list-style-position: inside;
    line-height: 2;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* For Musicians Page */
.scores {
	margin: 10px 0px;
}
.score_title {
    text-align: left;
    color: #124170;
    margin-bottom: 10px;
    padding-top: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    border-top: 2px solid #bfcad3;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.music-sheets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.music-sheet-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.music-sheet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.sheet-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.music-sheet-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.music-sheet-card p {
    color: #666;
    margin-bottom: 20px;
}

.upload-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.upload-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.upload-section .note {
    background-color: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.upload-section code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

.practice-tips {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.practice-tips h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.tips-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-item {
    padding: 15px;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
}

.tip-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.tip-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-info {
    background: #fff;
    padding: 30px 30px 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}
.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.info-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}
.info-details h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.info-details p {
    color: #666;
    margin: 0;
}
.contact-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.contact-form-container h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}
.message-sent-section {
    padding: 100px 20px;
}
.redirect-note {
    color: #666;
    font-style: italic;
    margin: 20px 0;
}

@media (max-width: 1400px) {
	.title-image-section {
    	aspect-ratio: 2.5 / 1;
	}
}
@media (max-width: 1200px) {
	.nav-menu {
	    transform: translateX(-74%);
	}
	.title-image-section {
    	aspect-ratio: 2.3 / 1;
	}
}
@media (max-width: 1100px) {
	.nav-menu {
	    transform: translateX(-62%);
	}
	.title-image-section {
    	aspect-ratio: 2.3 / 1;
	}
}
@media (max-width: 1000px) {
	.nav-menu {
	    transform: translateX(-50%);
	}
	.title-image-section {
    	aspect-ratio: 2.3 / 1;
	}
}
@media (max-width: 900px) {
	.nav-menu {
	    transform: translateX(-48%);
	}
	.title-image-section {
    	aspect-ratio: 2.5 / 1;
	}
}
/* Responsive Design */
@media (max-width: 768px) {
	.nav-container {
	    padding-top: 10px;
	}
	.title-image-section {
		background-image: url("images/background-1.jpg");
		min-height: 280px;
	}
	.title-svg {
		max-height: 600px;
		width: 90vw;
    	aspect-ratio: 2.2 / 1;
	}
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
	.logo {
	    position: relative;
	    opacity: 1;
	    transform: translateX(-10px);
	}
	body.show-logo .logo {
	    transform: translateX(-10px);
	}
	.nav-menu {
	    transform: translateX(0px);
	}
	.nav-menu li a {
	    padding: 6px 10px;
	}
	.pdf {
	    padding: 6px 12px;
	    margin: 8px 8px 8px 0px;
	}

    .description-section h1,
    .registration-section h1,
    .musicians-section h1,
    .contact-section h1 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group.inline {
        flex-direction: column;
    }

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

    .action-buttons {
        flex-direction: column;
    }

    .success-message {
        padding: 30px 20px;
    }
    .music-sheets-grid {
        grid-template-columns: 1fr;
    }

    .tips-content {
        grid-template-columns: 1fr;
    }
    .title-svg {
        width: 84vw;
    }
}
