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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(20, 14.3%, 4.1%);
    background-color: hsl(0, 0%, 100%);
    -webkit-font-smoothing: antialiased;
}

/* CSS Variables - Exact match from current website */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(20, 14.3%, 4.1%);
    --muted: hsl(60, 4.8%, 95.9%);
    --muted-foreground: hsl(25, 5.3%, 44.7%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(20, 14.3%, 4.1%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(20, 14.3%, 4.1%);
    --border: hsl(20, 5.9%, 90%);
    --input: hsl(20, 5.9%, 90%);
    --primary: hsl(207, 90%, 54%);
    --primary-foreground: hsl(211, 100%, 99%);
    --secondary: hsl(60, 4.8%, 95.9%);
    --secondary-foreground: hsl(24, 9.8%, 10%);
    --accent: hsl(60, 4.8%, 95.9%);
    --accent-foreground: hsl(24, 9.8%, 10%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(60, 9.1%, 97.8%);
    --ring: hsl(20, 14.3%, 4.1%);
    --radius: 0.5rem;
    
    /* Golf theme colors - exact match */
    --golf-green: hsl(152, 36%, 26%);
    --golf-light: hsl(152, 25%, 35%);
    --golf-gold: hsl(45, 87%, 51%);
    --golf-cream: hsl(210, 11%, 97%);
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.nav {
    background: var(--background);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #662c91;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: none;
    align-items: baseline;
    gap: 2rem;
    margin-left: 2.5rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: hsl(55, 6%, 25%);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.nav-link:hover,
.nav-link.active {
    color: #662c91;
}

.nav-register {
    background: #662c91;
    color: var(--background);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

.nav-register:hover {
    background:  #B591D1; 
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: hsl(55, 6%, 25%);
    margin: 2px 0;
    transition: 0.3s;
}

/* Mobile navigation */
.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .nav-menu.active {
        position: static;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
    }
}

.nav-menu.active .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid hsl(20, 5.9%, 90%);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .nav-menu.active .nav-link {
        padding: 0.5rem 0.75rem;
        border-bottom: none;
        font-size: 0.875rem;
    }
}

.nav-menu.active .nav-register {
    margin-top: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .nav-menu.active .nav-register {
        margin-top: 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 95, 63, 0.7), rgba(45, 95, 63, 0.7)),
                url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1950&h=1080') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background);
    padding-top: 4rem;
}

.hero-content {
    max-width: 64rem;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content > p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-content > p {
        font-size: 1.5rem;
    }
}

.hero-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.tournament-date {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.date-icon {
    color: #662c91;
    font-size: 2rem;
    margin-right: 1rem;
    width: 2rem;
    height: 2rem;
}

.date-icon i {
    width: 2rem;
    height: 2rem;
}

.date-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.date-value {
    font-size: 1.875rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.tournament-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
    margin-top: 1.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Buttons */
.btn-primary {
    background: #B591D1; 
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary:hover {
    background:#662c91;
    transform: scale(1.05);
}

.btn-primary i {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-outline {
    background: transparent !important;
    color: var(--background) !important;
    border: 2px solid #B591D1;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--background) !important;
    color: #662c91 !important;
}

.full-width {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #662c91;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(55, 6%, 25%);
    max-width: 48rem;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    padding: 5rem 0;
    background: var(--background);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-card {
    background: var(--golf-cream);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.highlight-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    color: #662c91;
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.highlight-icon i {
    width: 3rem;
    height: 3rem;
}

.highlight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #662c91;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: hsl(55, 6%, 25%);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--golf-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #662c91;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    color: hsl(55, 6%, 25%);
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: #662c91;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #662c91;
}

.stat-desc {
    font-size: 0.875rem;
    color: hsl(55, 6%, 25%);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.beneficiary-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.beneficiary-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #662c91;
    margin-bottom: 0.75rem;
}

.beneficiary-card p {
    color: hsl(55, 6%, 25%);
    margin-bottom: 1rem;
}

.learn-more-btn {
    background: none;
    border: none;
    color: #662c91;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.learn-more-btn:hover {
    color: #662c91;
}

.learn-more-btn i {
    width: 1rem;
    height: 1rem;
}

/* Sponsors Section */
.sponsors {
    padding: 5rem 0;
    background: var(--background);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sponsor-card {
    background: var(--golf-cream);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.sponsor-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.sponsor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #662c91;
    margin-bottom: 0.5rem;
}

.sponsor-level {
    font-size: 0.875rem;
    color: hsl(55, 6%, 25%);
}

.sponsor-cta {
    text-align: center;
}

.sponsor-cta p {
    font-size: 1.125rem;
    color: hsl(55, 6%, 25%);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--golf-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    background: #662c91;
    color: var(--background);
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #662c91;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: hsl(55, 6%, 25%);
}

.committee-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.committee-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #662c91;
    margin-bottom: 0.75rem;
}

.committee-members {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.875rem;
    color: hsl(55, 6%, 25%);
}

/* Contact Form */
.contact-form-container {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #662c91;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #662c91;
    box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Footer */
.footer {
    background: #662c91;
    color: var(--background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--golf-cream);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    
    color: var(--background);
    padding: 0.5rem;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: #662c91;
}

.social-link i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--golf-cream);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--background);
}

.footer-contact li {
    color: var(--golf-cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    border-top: 1px solid white;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--golf-cream);
}

.domain {
    color: #662c91;
}

/* SVG Icon Styling */
.date-icon svg,
.highlight-icon svg,
.contact-icon svg,
.social-link svg,
.footer-contact svg,
.btn-primary svg,
.learn-more-btn svg {
    display: block;
    width: 100%;
    height: 100%;
}

.date-icon {
    width: 2rem;
    height: 2rem;
    color: #662c91;
}

.highlight-icon {
    width: 3rem;
    height: 3rem;
    color: #662c91;
    margin: 0 auto 1rem auto;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--background);
}

.btn-primary svg {
    width: 1rem;
    height: 1rem;
}

.learn-more-btn svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}